blob: 50c4651fc89b86a735cacbc4e546bd94fa0725a0 [file] [log] [blame]
/**
*
* Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation
*
*/
package org.eclipse.osbp.xtext.action.parser.antlr.internal;
import org.eclipse.xtext.*;
import org.eclipse.xtext.parser.*;
import org.eclipse.xtext.parser.impl.*;
import org.eclipse.emf.ecore.util.EcoreUtil;
import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.common.util.Enumerator;
import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
import org.eclipse.osbp.xtext.action.services.ActionDSLGrammarAccess;
import org.antlr.runtime.*;
import java.util.Stack;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.util.HashMap;
@SuppressWarnings("all")
public class InternalActionDSLParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_ID", "RULE_STRING", "RULE_HEX", "RULE_INT", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "'{'", "'}'", "'toolbar'", "'described by'", "'items'", "'item'", "'icon'", "'group'", "'canExecute'", "'executeParameter'", "'message'", "'taskAction'", "'selectWorkloadAction'", "'dialogAction'", "'reportAction'", "'chartAction'", "'workflowAction'", "'datainterchangeAction'", "'genericAction'", "'import'", "'.'", "'*'", "'@'", "'('", "','", "')'", "'='", "'#'", "'['", "']'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'+'", "'-'", "'**'", "'/'", "'%'", "'!'", "'as'", "'++'", "'--'", "'::'", "'?.'", "'|'", "';'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'var'", "'val'", "'extends'", "'static'", "'extension'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'", "'Claim'", "'Start'", "'Stop'", "'Release'", "'Suspend'", "'Resume'", "'Skip'", "'Complete'", "'Delegate'", "'Forward'", "'Fail'", "'Register'", "'Remove'", "'Activate'", "'Exit'", "'RemoveAll'", "'AddAll'", "'New'", "'Save'", "'Delete'", "'Cancel'", "'PrintOnServer'", "'Download'", "'Import'", "'Export'"
};
public static final int RULE_HEX=6;
public static final int T__50=50;
public static final int T__59=59;
public static final int T__55=55;
public static final int T__56=56;
public static final int T__57=57;
public static final int T__58=58;
public static final int T__51=51;
public static final int T__52=52;
public static final int T__53=53;
public static final int T__54=54;
public static final int T__60=60;
public static final int T__61=61;
public static final int RULE_ID=4;
public static final int T__130=130;
public static final int RULE_INT=7;
public static final int T__66=66;
public static final int RULE_ML_COMMENT=9;
public static final int T__67=67;
public static final int T__129=129;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__62=62;
public static final int T__126=126;
public static final int T__63=63;
public static final int T__125=125;
public static final int T__64=64;
public static final int T__128=128;
public static final int T__65=65;
public static final int T__127=127;
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__33=33;
public static final int T__34=34;
public static final int T__35=35;
public static final int T__36=36;
public static final int T__30=30;
public static final int T__31=31;
public static final int T__32=32;
public static final int T__48=48;
public static final int T__49=49;
public static final int T__44=44;
public static final int T__45=45;
public static final int T__46=46;
public static final int T__47=47;
public static final int T__40=40;
public static final int T__41=41;
public static final int T__42=42;
public static final int T__43=43;
public static final int T__91=91;
public static final int T__100=100;
public static final int T__92=92;
public static final int T__93=93;
public static final int T__102=102;
public static final int T__94=94;
public static final int T__101=101;
public static final int T__90=90;
public static final int T__19=19;
public static final int T__15=15;
public static final int T__16=16;
public static final int T__17=17;
public static final int T__18=18;
public static final int T__99=99;
public static final int T__13=13;
public static final int T__14=14;
public static final int T__95=95;
public static final int T__96=96;
public static final int T__97=97;
public static final int T__98=98;
public static final int RULE_DECIMAL=8;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int T__29=29;
public static final int T__22=22;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
public static final int T__20=20;
public static final int T__21=21;
public static final int T__122=122;
public static final int T__70=70;
public static final int T__121=121;
public static final int T__71=71;
public static final int T__124=124;
public static final int T__72=72;
public static final int T__123=123;
public static final int T__120=120;
public static final int RULE_STRING=5;
public static final int RULE_SL_COMMENT=10;
public static final int T__77=77;
public static final int T__119=119;
public static final int T__78=78;
public static final int T__118=118;
public static final int T__79=79;
public static final int T__73=73;
public static final int T__115=115;
public static final int EOF=-1;
public static final int T__74=74;
public static final int T__114=114;
public static final int T__75=75;
public static final int T__117=117;
public static final int T__76=76;
public static final int T__116=116;
public static final int T__80=80;
public static final int T__111=111;
public static final int T__81=81;
public static final int T__110=110;
public static final int T__82=82;
public static final int T__113=113;
public static final int T__83=83;
public static final int T__112=112;
public static final int RULE_WS=11;
public static final int RULE_ANY_OTHER=12;
public static final int T__88=88;
public static final int T__108=108;
public static final int T__89=89;
public static final int T__107=107;
public static final int T__109=109;
public static final int T__84=84;
public static final int T__104=104;
public static final int T__85=85;
public static final int T__103=103;
public static final int T__86=86;
public static final int T__106=106;
public static final int T__87=87;
public static final int T__105=105;
// delegates
// delegators
public InternalActionDSLParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalActionDSLParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalActionDSLParser.tokenNames; }
public String getGrammarFileName() { return "../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g"; }
private ActionDSLGrammarAccess grammarAccess;
public InternalActionDSLParser(TokenStream input, ActionDSLGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "ActionModel";
}
@Override
protected ActionDSLGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleActionModel"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:68:1: entryRuleActionModel returns [EObject current=null] : iv_ruleActionModel= ruleActionModel EOF ;
public final EObject entryRuleActionModel() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionModel = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:69:2: (iv_ruleActionModel= ruleActionModel EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:70:2: iv_ruleActionModel= ruleActionModel EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionModelRule());
}
pushFollow(FOLLOW_ruleActionModel_in_entryRuleActionModel75);
iv_ruleActionModel=ruleActionModel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionModel;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionModel85); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionModel"
// $ANTLR start "ruleActionModel"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:77:1: ruleActionModel returns [EObject current=null] : ( (lv_packages_0_0= ruleActionPackage ) )* ;
public final EObject ruleActionModel() throws RecognitionException {
EObject current = null;
EObject lv_packages_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:80:28: ( ( (lv_packages_0_0= ruleActionPackage ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:81:1: ( (lv_packages_0_0= ruleActionPackage ) )*
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:81:1: ( (lv_packages_0_0= ruleActionPackage ) )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==13) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:82:1: (lv_packages_0_0= ruleActionPackage )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:82:1: (lv_packages_0_0= ruleActionPackage )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:83:3: lv_packages_0_0= ruleActionPackage
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionModelAccess().getPackagesActionPackageParserRuleCall_0());
}
pushFollow(FOLLOW_ruleActionPackage_in_ruleActionModel130);
lv_packages_0_0=ruleActionPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionModelRule());
}
add(
current,
"packages",
lv_packages_0_0,
"ActionPackage");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop1;
}
} while (true);
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionModel"
// $ANTLR start "entryRuleActionPackage"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:107:1: entryRuleActionPackage returns [EObject current=null] : iv_ruleActionPackage= ruleActionPackage EOF ;
public final EObject entryRuleActionPackage() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionPackage = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:108:2: (iv_ruleActionPackage= ruleActionPackage EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:109:2: iv_ruleActionPackage= ruleActionPackage EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionPackageRule());
}
pushFollow(FOLLOW_ruleActionPackage_in_entryRuleActionPackage166);
iv_ruleActionPackage=ruleActionPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionPackage;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionPackage176); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionPackage"
// $ANTLR start "ruleActionPackage"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:116:1: ruleActionPackage returns [EObject current=null] : ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleActionImport ) )* ( (lv_toolbars_5_0= ruleActionToolbar ) )* otherlv_6= '}' )? ) ;
public final EObject ruleActionPackage() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_6=null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
EObject lv_imports_4_0 = null;
EObject lv_toolbars_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:119:28: ( ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleActionImport ) )* ( (lv_toolbars_5_0= ruleActionToolbar ) )* otherlv_6= '}' )? ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:120:1: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleActionImport ) )* ( (lv_toolbars_5_0= ruleActionToolbar ) )* otherlv_6= '}' )? )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:120:1: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleActionImport ) )* ( (lv_toolbars_5_0= ruleActionToolbar ) )* otherlv_6= '}' )? )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:120:2: () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleActionImport ) )* ( (lv_toolbars_5_0= ruleActionToolbar ) )* otherlv_6= '}' )?
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:120:2: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:121:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getActionPackageAccess().getActionPackageAction_0(),
current);
}
}
otherlv_1=(Token)match(input,13,FOLLOW_13_in_ruleActionPackage222); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getActionPackageAccess().getPackageKeyword_1());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:130:1: ( (lv_name_2_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:131:1: (lv_name_2_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:131:1: (lv_name_2_0= ruleQualifiedName )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:132:3: lv_name_2_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionPackageAccess().getNameQualifiedNameParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleActionPackage243);
lv_name_2_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionPackageRule());
}
set(
current,
"name",
lv_name_2_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:148:2: (otherlv_3= '{' ( (lv_imports_4_0= ruleActionImport ) )* ( (lv_toolbars_5_0= ruleActionToolbar ) )* otherlv_6= '}' )?
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==14) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:148:4: otherlv_3= '{' ( (lv_imports_4_0= ruleActionImport ) )* ( (lv_toolbars_5_0= ruleActionToolbar ) )* otherlv_6= '}'
{
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleActionPackage256); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getActionPackageAccess().getLeftCurlyBracketKeyword_3_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:152:1: ( (lv_imports_4_0= ruleActionImport ) )*
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==33) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:153:1: (lv_imports_4_0= ruleActionImport )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:153:1: (lv_imports_4_0= ruleActionImport )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:154:3: lv_imports_4_0= ruleActionImport
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionPackageAccess().getImportsActionImportParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleActionImport_in_ruleActionPackage277);
lv_imports_4_0=ruleActionImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionPackageRule());
}
add(
current,
"imports",
lv_imports_4_0,
"ActionImport");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop2;
}
} while (true);
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:170:3: ( (lv_toolbars_5_0= ruleActionToolbar ) )*
loop3:
do {
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==16) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:171:1: (lv_toolbars_5_0= ruleActionToolbar )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:171:1: (lv_toolbars_5_0= ruleActionToolbar )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:172:3: lv_toolbars_5_0= ruleActionToolbar
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionPackageAccess().getToolbarsActionToolbarParserRuleCall_3_2_0());
}
pushFollow(FOLLOW_ruleActionToolbar_in_ruleActionPackage299);
lv_toolbars_5_0=ruleActionToolbar();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionPackageRule());
}
add(
current,
"toolbars",
lv_toolbars_5_0,
"ActionToolbar");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop3;
}
} while (true);
otherlv_6=(Token)match(input,15,FOLLOW_15_in_ruleActionPackage312); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getActionPackageAccess().getRightCurlyBracketKeyword_3_3());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionPackage"
// $ANTLR start "entryRuleActionToolbar"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:200:1: entryRuleActionToolbar returns [EObject current=null] : iv_ruleActionToolbar= ruleActionToolbar EOF ;
public final EObject entryRuleActionToolbar() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionToolbar = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:201:2: (iv_ruleActionToolbar= ruleActionToolbar EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:202:2: iv_ruleActionToolbar= ruleActionToolbar EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionToolbarRule());
}
pushFollow(FOLLOW_ruleActionToolbar_in_entryRuleActionToolbar350);
iv_ruleActionToolbar=ruleActionToolbar();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionToolbar;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionToolbar360); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionToolbar"
// $ANTLR start "ruleActionToolbar"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:209:1: ruleActionToolbar returns [EObject current=null] : ( () otherlv_1= 'toolbar' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_5= 'items' otherlv_6= '{' ( (lv_actions_7_0= ruleActionButton ) )* otherlv_8= '}' )? ) ;
public final EObject ruleActionToolbar() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_name_2_0=null;
Token lv_description_3_0=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token otherlv_8=null;
AntlrDatatypeRuleToken lv_descriptionValue_4_0 = null;
EObject lv_actions_7_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:212:28: ( ( () otherlv_1= 'toolbar' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_5= 'items' otherlv_6= '{' ( (lv_actions_7_0= ruleActionButton ) )* otherlv_8= '}' )? ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:213:1: ( () otherlv_1= 'toolbar' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_5= 'items' otherlv_6= '{' ( (lv_actions_7_0= ruleActionButton ) )* otherlv_8= '}' )? )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:213:1: ( () otherlv_1= 'toolbar' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_5= 'items' otherlv_6= '{' ( (lv_actions_7_0= ruleActionButton ) )* otherlv_8= '}' )? )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:213:2: () otherlv_1= 'toolbar' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_5= 'items' otherlv_6= '{' ( (lv_actions_7_0= ruleActionButton ) )* otherlv_8= '}' )?
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:213:2: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:214:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getActionToolbarAccess().getActionToolbarAction_0(),
current);
}
}
otherlv_1=(Token)match(input,16,FOLLOW_16_in_ruleActionToolbar406); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getActionToolbarAccess().getToolbarKeyword_1());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:223:1: ( (lv_name_2_0= RULE_ID ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:224:1: (lv_name_2_0= RULE_ID )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:224:1: (lv_name_2_0= RULE_ID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:225:3: lv_name_2_0= RULE_ID
{
lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleActionToolbar423); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_2_0, grammarAccess.getActionToolbarAccess().getNameIDTerminalRuleCall_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getActionToolbarRule());
}
setWithLastConsumed(
current,
"name",
lv_name_2_0,
"ID");
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:241:2: ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )?
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==17) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:241:3: ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:241:3: ( (lv_description_3_0= 'described by' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:242:1: (lv_description_3_0= 'described by' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:242:1: (lv_description_3_0= 'described by' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:243:3: lv_description_3_0= 'described by'
{
lv_description_3_0=(Token)match(input,17,FOLLOW_17_in_ruleActionToolbar447); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_description_3_0, grammarAccess.getActionToolbarAccess().getDescriptionDescribedByKeyword_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getActionToolbarRule());
}
setWithLastConsumed(current, "description", true, "described by");
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:256:2: ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:257:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:257:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:258:3: lv_descriptionValue_4_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionToolbarAccess().getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_ruleActionToolbar481);
lv_descriptionValue_4_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionToolbarRule());
}
set(
current,
"descriptionValue",
lv_descriptionValue_4_0,
"TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:274:4: (otherlv_5= 'items' otherlv_6= '{' ( (lv_actions_7_0= ruleActionButton ) )* otherlv_8= '}' )?
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==18) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:274:6: otherlv_5= 'items' otherlv_6= '{' ( (lv_actions_7_0= ruleActionButton ) )* otherlv_8= '}'
{
otherlv_5=(Token)match(input,18,FOLLOW_18_in_ruleActionToolbar496); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getActionToolbarAccess().getItemsKeyword_4_0());
}
otherlv_6=(Token)match(input,14,FOLLOW_14_in_ruleActionToolbar508); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getActionToolbarAccess().getLeftCurlyBracketKeyword_4_1());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:282:1: ( (lv_actions_7_0= ruleActionButton ) )*
loop6:
do {
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==19) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:283:1: (lv_actions_7_0= ruleActionButton )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:283:1: (lv_actions_7_0= ruleActionButton )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:284:3: lv_actions_7_0= ruleActionButton
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionToolbarAccess().getActionsActionButtonParserRuleCall_4_2_0());
}
pushFollow(FOLLOW_ruleActionButton_in_ruleActionToolbar529);
lv_actions_7_0=ruleActionButton();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionToolbarRule());
}
add(
current,
"actions",
lv_actions_7_0,
"ActionButton");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop6;
}
} while (true);
otherlv_8=(Token)match(input,15,FOLLOW_15_in_ruleActionToolbar542); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getActionToolbarAccess().getRightCurlyBracketKeyword_4_3());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionToolbar"
// $ANTLR start "entryRuleActionButton"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:312:1: entryRuleActionButton returns [EObject current=null] : iv_ruleActionButton= ruleActionButton EOF ;
public final EObject entryRuleActionButton() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionButton = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:313:2: (iv_ruleActionButton= ruleActionButton EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:314:2: iv_ruleActionButton= ruleActionButton EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionButtonRule());
}
pushFollow(FOLLOW_ruleActionButton_in_entryRuleActionButton580);
iv_ruleActionButton=ruleActionButton();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionButton;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionButton590); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionButton"
// $ANTLR start "ruleActionButton"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:321:1: ruleActionButton returns [EObject current=null] : ( () otherlv_1= 'item' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_5= 'icon' ( (lv_iconURI_6_0= RULE_STRING ) ) )? ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?) ) )? ( (lv_actionType_14_0= ruleActionType ) ) (otherlv_15= 'message' ( ( ruleQualifiedName ) ) )? ) ;
public final EObject ruleActionButton() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_description_3_0=null;
Token otherlv_5=null;
Token lv_iconURI_6_0=null;
Token otherlv_8=null;
Token otherlv_9=null;
Token otherlv_10=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_15=null;
AntlrDatatypeRuleToken lv_name_2_0 = null;
AntlrDatatypeRuleToken lv_descriptionValue_4_0 = null;
EObject lv_actionType_14_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:324:28: ( ( () otherlv_1= 'item' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_5= 'icon' ( (lv_iconURI_6_0= RULE_STRING ) ) )? ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?) ) )? ( (lv_actionType_14_0= ruleActionType ) ) (otherlv_15= 'message' ( ( ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:325:1: ( () otherlv_1= 'item' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_5= 'icon' ( (lv_iconURI_6_0= RULE_STRING ) ) )? ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?) ) )? ( (lv_actionType_14_0= ruleActionType ) ) (otherlv_15= 'message' ( ( ruleQualifiedName ) ) )? )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:325:1: ( () otherlv_1= 'item' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_5= 'icon' ( (lv_iconURI_6_0= RULE_STRING ) ) )? ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?) ) )? ( (lv_actionType_14_0= ruleActionType ) ) (otherlv_15= 'message' ( ( ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:325:2: () otherlv_1= 'item' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? (otherlv_5= 'icon' ( (lv_iconURI_6_0= RULE_STRING ) ) )? ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?) ) )? ( (lv_actionType_14_0= ruleActionType ) ) (otherlv_15= 'message' ( ( ruleQualifiedName ) ) )?
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:325:2: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:326:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getActionButtonAccess().getActionButtonAction_0(),
current);
}
}
otherlv_1=(Token)match(input,19,FOLLOW_19_in_ruleActionButton636); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getActionButtonAccess().getItemKeyword_1());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:335:1: ( (lv_name_2_0= ruleTRANSLATABLEID ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:336:1: (lv_name_2_0= ruleTRANSLATABLEID )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:336:1: (lv_name_2_0= ruleTRANSLATABLEID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:337:3: lv_name_2_0= ruleTRANSLATABLEID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionButtonAccess().getNameTRANSLATABLEIDParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleTRANSLATABLEID_in_ruleActionButton657);
lv_name_2_0=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionButtonRule());
}
set(
current,
"name",
lv_name_2_0,
"TRANSLATABLEID");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:353:2: ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )?
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==17) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:353:3: ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:353:3: ( (lv_description_3_0= 'described by' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:354:1: (lv_description_3_0= 'described by' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:354:1: (lv_description_3_0= 'described by' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:355:3: lv_description_3_0= 'described by'
{
lv_description_3_0=(Token)match(input,17,FOLLOW_17_in_ruleActionButton676); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_description_3_0, grammarAccess.getActionButtonAccess().getDescriptionDescribedByKeyword_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getActionButtonRule());
}
setWithLastConsumed(current, "description", true, "described by");
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:368:2: ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:369:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:369:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:370:3: lv_descriptionValue_4_0= ruleTRANSLATABLESTRING
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionButtonAccess().getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0());
}
pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_ruleActionButton710);
lv_descriptionValue_4_0=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionButtonRule());
}
set(
current,
"descriptionValue",
lv_descriptionValue_4_0,
"TRANSLATABLESTRING");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:386:4: (otherlv_5= 'icon' ( (lv_iconURI_6_0= RULE_STRING ) ) )?
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==20) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:386:6: otherlv_5= 'icon' ( (lv_iconURI_6_0= RULE_STRING ) )
{
otherlv_5=(Token)match(input,20,FOLLOW_20_in_ruleActionButton725); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getActionButtonAccess().getIconKeyword_4_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:390:1: ( (lv_iconURI_6_0= RULE_STRING ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:391:1: (lv_iconURI_6_0= RULE_STRING )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:391:1: (lv_iconURI_6_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:392:3: lv_iconURI_6_0= RULE_STRING
{
lv_iconURI_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleActionButton742); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_iconURI_6_0, grammarAccess.getActionButtonAccess().getIconURISTRINGTerminalRuleCall_4_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getActionButtonRule());
}
setWithLastConsumed(
current,
"iconURI",
lv_iconURI_6_0,
"STRING");
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:408:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?) ) )?
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==21||LA12_0==23) ) {
alt12=1;
}
switch (alt12) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:410:1: ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:410:1: ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:411:2: ( ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?)
{
getUnorderedGroupHelper().enter(grammarAccess.getActionButtonAccess().getUnorderedGroup_5());
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:414:2: ( ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?)
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:415:3: ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+ {...}?
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:415:3: ( ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) ) )+
int cnt11=0;
loop11:
do {
int alt11=3;
int LA11_0 = input.LA(1);
if ( LA11_0 ==21 && getUnorderedGroupHelper().canSelect(grammarAccess.getActionButtonAccess().getUnorderedGroup_5(), 0) ) {
alt11=1;
}
else if ( LA11_0 ==23 && getUnorderedGroupHelper().canSelect(grammarAccess.getActionButtonAccess().getUnorderedGroup_5(), 1) ) {
alt11=2;
}
switch (alt11) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:417:4: ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:417:4: ({...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:418:5: {...}? => ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getActionButtonAccess().getUnorderedGroup_5(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleActionButton", "getUnorderedGroupHelper().canSelect(grammarAccess.getActionButtonAccess().getUnorderedGroup_5(), 0)");
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:418:109: ( ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:419:6: ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getActionButtonAccess().getUnorderedGroup_5(), 0);
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:422:6: ({...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:422:7: {...}? => (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleActionButton", "true");
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:422:16: (otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )? )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:422:18: otherlv_8= 'group' ( (otherlv_9= RULE_ID ) ) (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )?
{
otherlv_8=(Token)match(input,21,FOLLOW_21_in_ruleActionButton807); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getActionButtonAccess().getGroupKeyword_5_0_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:426:1: ( (otherlv_9= RULE_ID ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:427:1: (otherlv_9= RULE_ID )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:427:1: (otherlv_9= RULE_ID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:428:3: otherlv_9= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getActionButtonRule());
}
}
otherlv_9=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleActionButton827); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getActionButtonAccess().getGroupFunctionLibraryGroupCrossReference_5_0_1_0());
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:439:2: (otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) ) )?
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==22) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:439:4: otherlv_10= 'canExecute' ( (otherlv_11= RULE_ID ) )
{
otherlv_10=(Token)match(input,22,FOLLOW_22_in_ruleActionButton840); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getActionButtonAccess().getCanExecuteKeyword_5_0_2_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:443:1: ( (otherlv_11= RULE_ID ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:444:1: (otherlv_11= RULE_ID )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:444:1: (otherlv_11= RULE_ID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:445:3: otherlv_11= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getActionButtonRule());
}
}
otherlv_11=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleActionButton860); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getActionButtonAccess().getCanexecuteFunctionLibraryFunctionCrossReference_5_0_2_1_0());
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActionButtonAccess().getUnorderedGroup_5());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:463:4: ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:463:4: ({...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:464:5: {...}? => ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getActionButtonAccess().getUnorderedGroup_5(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleActionButton", "getUnorderedGroupHelper().canSelect(grammarAccess.getActionButtonAccess().getUnorderedGroup_5(), 1)");
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:464:109: ( ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:465:6: ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getActionButtonAccess().getUnorderedGroup_5(), 1);
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:468:6: ({...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:468:7: {...}? => (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleActionButton", "true");
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:468:16: (otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:468:18: otherlv_12= 'executeParameter' ( (otherlv_13= RULE_ID ) )
{
otherlv_12=(Token)match(input,23,FOLLOW_23_in_ruleActionButton930); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getActionButtonAccess().getExecuteParameterKeyword_5_1_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:472:1: ( (otherlv_13= RULE_ID ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:473:1: (otherlv_13= RULE_ID )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:473:1: (otherlv_13= RULE_ID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:474:3: otherlv_13= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getActionButtonRule());
}
}
otherlv_13=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleActionButton950); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getActionButtonAccess().getExecuteparameterFunctionLibraryFunctionCrossReference_5_1_1_0());
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getActionButtonAccess().getUnorderedGroup_5());
}
}
}
break;
default :
if ( cnt11 >= 1 ) break loop11;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(11, input);
throw eee;
}
cnt11++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getActionButtonAccess().getUnorderedGroup_5()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleActionButton", "getUnorderedGroupHelper().canLeave(grammarAccess.getActionButtonAccess().getUnorderedGroup_5())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getActionButtonAccess().getUnorderedGroup_5());
}
break;
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:500:3: ( (lv_actionType_14_0= ruleActionType ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:501:1: (lv_actionType_14_0= ruleActionType )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:501:1: (lv_actionType_14_0= ruleActionType )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:502:3: lv_actionType_14_0= ruleActionType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionButtonAccess().getActionTypeActionTypeParserRuleCall_6_0());
}
pushFollow(FOLLOW_ruleActionType_in_ruleActionButton1019);
lv_actionType_14_0=ruleActionType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionButtonRule());
}
set(
current,
"actionType",
lv_actionType_14_0,
"ActionType");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:518:2: (otherlv_15= 'message' ( ( ruleQualifiedName ) ) )?
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==24) ) {
alt13=1;
}
switch (alt13) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:518:4: otherlv_15= 'message' ( ( ruleQualifiedName ) )
{
otherlv_15=(Token)match(input,24,FOLLOW_24_in_ruleActionButton1032); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getActionButtonAccess().getMessageKeyword_7_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:522:1: ( ( ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:523:1: ( ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:523:1: ( ruleQualifiedName )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:524:3: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getActionButtonRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionButtonAccess().getMessageMessageItemCrossReference_7_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleActionButton1055);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionButton"
// $ANTLR start "entryRuleActionType"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:545:1: entryRuleActionType returns [EObject current=null] : iv_ruleActionType= ruleActionType EOF ;
public final EObject entryRuleActionType() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionType = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:546:2: (iv_ruleActionType= ruleActionType EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:547:2: iv_ruleActionType= ruleActionType EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTypeRule());
}
pushFollow(FOLLOW_ruleActionType_in_entryRuleActionType1093);
iv_ruleActionType=ruleActionType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionType;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionType1103); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionType"
// $ANTLR start "ruleActionType"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:554:1: ruleActionType returns [EObject current=null] : (this_ActionTask_0= ruleActionTask | this_ActionSelectWorkload_1= ruleActionSelectWorkload | this_ActionDialog_2= ruleActionDialog | this_ActionReport_3= ruleActionReport | this_ActionChart_4= ruleActionChart | this_ActionWorkflow_5= ruleActionWorkflow | this_ActionGeneric_6= ruleActionGeneric | this_ActionDatainterchange_7= ruleActionDatainterchange ) ;
public final EObject ruleActionType() throws RecognitionException {
EObject current = null;
EObject this_ActionTask_0 = null;
EObject this_ActionSelectWorkload_1 = null;
EObject this_ActionDialog_2 = null;
EObject this_ActionReport_3 = null;
EObject this_ActionChart_4 = null;
EObject this_ActionWorkflow_5 = null;
EObject this_ActionGeneric_6 = null;
EObject this_ActionDatainterchange_7 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:557:28: ( (this_ActionTask_0= ruleActionTask | this_ActionSelectWorkload_1= ruleActionSelectWorkload | this_ActionDialog_2= ruleActionDialog | this_ActionReport_3= ruleActionReport | this_ActionChart_4= ruleActionChart | this_ActionWorkflow_5= ruleActionWorkflow | this_ActionGeneric_6= ruleActionGeneric | this_ActionDatainterchange_7= ruleActionDatainterchange ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:558:1: (this_ActionTask_0= ruleActionTask | this_ActionSelectWorkload_1= ruleActionSelectWorkload | this_ActionDialog_2= ruleActionDialog | this_ActionReport_3= ruleActionReport | this_ActionChart_4= ruleActionChart | this_ActionWorkflow_5= ruleActionWorkflow | this_ActionGeneric_6= ruleActionGeneric | this_ActionDatainterchange_7= ruleActionDatainterchange )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:558:1: (this_ActionTask_0= ruleActionTask | this_ActionSelectWorkload_1= ruleActionSelectWorkload | this_ActionDialog_2= ruleActionDialog | this_ActionReport_3= ruleActionReport | this_ActionChart_4= ruleActionChart | this_ActionWorkflow_5= ruleActionWorkflow | this_ActionGeneric_6= ruleActionGeneric | this_ActionDatainterchange_7= ruleActionDatainterchange )
int alt14=8;
switch ( input.LA(1) ) {
case 25:
{
alt14=1;
}
break;
case 26:
{
alt14=2;
}
break;
case 27:
{
alt14=3;
}
break;
case 28:
{
alt14=4;
}
break;
case 29:
{
alt14=5;
}
break;
case 30:
{
alt14=6;
}
break;
case 32:
{
alt14=7;
}
break;
case 31:
{
alt14=8;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 14, 0, input);
throw nvae;
}
switch (alt14) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:559:5: this_ActionTask_0= ruleActionTask
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTypeAccess().getActionTaskParserRuleCall_0());
}
pushFollow(FOLLOW_ruleActionTask_in_ruleActionType1150);
this_ActionTask_0=ruleActionTask();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ActionTask_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:569:5: this_ActionSelectWorkload_1= ruleActionSelectWorkload
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTypeAccess().getActionSelectWorkloadParserRuleCall_1());
}
pushFollow(FOLLOW_ruleActionSelectWorkload_in_ruleActionType1177);
this_ActionSelectWorkload_1=ruleActionSelectWorkload();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ActionSelectWorkload_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:579:5: this_ActionDialog_2= ruleActionDialog
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTypeAccess().getActionDialogParserRuleCall_2());
}
pushFollow(FOLLOW_ruleActionDialog_in_ruleActionType1204);
this_ActionDialog_2=ruleActionDialog();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ActionDialog_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:589:5: this_ActionReport_3= ruleActionReport
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTypeAccess().getActionReportParserRuleCall_3());
}
pushFollow(FOLLOW_ruleActionReport_in_ruleActionType1231);
this_ActionReport_3=ruleActionReport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ActionReport_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:599:5: this_ActionChart_4= ruleActionChart
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTypeAccess().getActionChartParserRuleCall_4());
}
pushFollow(FOLLOW_ruleActionChart_in_ruleActionType1258);
this_ActionChart_4=ruleActionChart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ActionChart_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:609:5: this_ActionWorkflow_5= ruleActionWorkflow
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTypeAccess().getActionWorkflowParserRuleCall_5());
}
pushFollow(FOLLOW_ruleActionWorkflow_in_ruleActionType1285);
this_ActionWorkflow_5=ruleActionWorkflow();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ActionWorkflow_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:619:5: this_ActionGeneric_6= ruleActionGeneric
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTypeAccess().getActionGenericParserRuleCall_6());
}
pushFollow(FOLLOW_ruleActionGeneric_in_ruleActionType1312);
this_ActionGeneric_6=ruleActionGeneric();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ActionGeneric_6;
afterParserOrEnumRuleCall();
}
}
break;
case 8 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:629:5: this_ActionDatainterchange_7= ruleActionDatainterchange
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTypeAccess().getActionDatainterchangeParserRuleCall_7());
}
pushFollow(FOLLOW_ruleActionDatainterchange_in_ruleActionType1339);
this_ActionDatainterchange_7=ruleActionDatainterchange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_ActionDatainterchange_7;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionType"
// $ANTLR start "entryRuleActionTask"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:645:1: entryRuleActionTask returns [EObject current=null] : iv_ruleActionTask= ruleActionTask EOF ;
public final EObject entryRuleActionTask() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionTask = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:646:2: (iv_ruleActionTask= ruleActionTask EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:647:2: iv_ruleActionTask= ruleActionTask EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTaskRule());
}
pushFollow(FOLLOW_ruleActionTask_in_entryRuleActionTask1374);
iv_ruleActionTask=ruleActionTask();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionTask;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionTask1384); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionTask"
// $ANTLR start "ruleActionTask"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:654:1: ruleActionTask returns [EObject current=null] : (otherlv_0= 'taskAction' ( (lv_action_1_0= ruleTaskActionEnum ) ) ) ;
public final EObject ruleActionTask() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Enumerator lv_action_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:657:28: ( (otherlv_0= 'taskAction' ( (lv_action_1_0= ruleTaskActionEnum ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:658:1: (otherlv_0= 'taskAction' ( (lv_action_1_0= ruleTaskActionEnum ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:658:1: (otherlv_0= 'taskAction' ( (lv_action_1_0= ruleTaskActionEnum ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:658:3: otherlv_0= 'taskAction' ( (lv_action_1_0= ruleTaskActionEnum ) )
{
otherlv_0=(Token)match(input,25,FOLLOW_25_in_ruleActionTask1421); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getActionTaskAccess().getTaskActionKeyword_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:662:1: ( (lv_action_1_0= ruleTaskActionEnum ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:663:1: (lv_action_1_0= ruleTaskActionEnum )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:663:1: (lv_action_1_0= ruleTaskActionEnum )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:664:3: lv_action_1_0= ruleTaskActionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionTaskAccess().getActionTaskActionEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleTaskActionEnum_in_ruleActionTask1442);
lv_action_1_0=ruleTaskActionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionTaskRule());
}
set(
current,
"action",
lv_action_1_0,
"TaskActionEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionTask"
// $ANTLR start "entryRuleActionSelectWorkload"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:688:1: entryRuleActionSelectWorkload returns [EObject current=null] : iv_ruleActionSelectWorkload= ruleActionSelectWorkload EOF ;
public final EObject entryRuleActionSelectWorkload() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionSelectWorkload = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:689:2: (iv_ruleActionSelectWorkload= ruleActionSelectWorkload EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:690:2: iv_ruleActionSelectWorkload= ruleActionSelectWorkload EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionSelectWorkloadRule());
}
pushFollow(FOLLOW_ruleActionSelectWorkload_in_entryRuleActionSelectWorkload1478);
iv_ruleActionSelectWorkload=ruleActionSelectWorkload();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionSelectWorkload;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionSelectWorkload1488); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionSelectWorkload"
// $ANTLR start "ruleActionSelectWorkload"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:697:1: ruleActionSelectWorkload returns [EObject current=null] : (otherlv_0= 'selectWorkloadAction' ( (lv_action_1_0= ruleSelectWorkloadActionEnum ) ) ) ;
public final EObject ruleActionSelectWorkload() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Enumerator lv_action_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:700:28: ( (otherlv_0= 'selectWorkloadAction' ( (lv_action_1_0= ruleSelectWorkloadActionEnum ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:701:1: (otherlv_0= 'selectWorkloadAction' ( (lv_action_1_0= ruleSelectWorkloadActionEnum ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:701:1: (otherlv_0= 'selectWorkloadAction' ( (lv_action_1_0= ruleSelectWorkloadActionEnum ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:701:3: otherlv_0= 'selectWorkloadAction' ( (lv_action_1_0= ruleSelectWorkloadActionEnum ) )
{
otherlv_0=(Token)match(input,26,FOLLOW_26_in_ruleActionSelectWorkload1525); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getActionSelectWorkloadAccess().getSelectWorkloadActionKeyword_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:705:1: ( (lv_action_1_0= ruleSelectWorkloadActionEnum ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:706:1: (lv_action_1_0= ruleSelectWorkloadActionEnum )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:706:1: (lv_action_1_0= ruleSelectWorkloadActionEnum )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:707:3: lv_action_1_0= ruleSelectWorkloadActionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionSelectWorkloadAccess().getActionSelectWorkloadActionEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleSelectWorkloadActionEnum_in_ruleActionSelectWorkload1546);
lv_action_1_0=ruleSelectWorkloadActionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionSelectWorkloadRule());
}
set(
current,
"action",
lv_action_1_0,
"SelectWorkloadActionEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionSelectWorkload"
// $ANTLR start "entryRuleActionDialog"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:731:1: entryRuleActionDialog returns [EObject current=null] : iv_ruleActionDialog= ruleActionDialog EOF ;
public final EObject entryRuleActionDialog() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionDialog = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:732:2: (iv_ruleActionDialog= ruleActionDialog EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:733:2: iv_ruleActionDialog= ruleActionDialog EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionDialogRule());
}
pushFollow(FOLLOW_ruleActionDialog_in_entryRuleActionDialog1582);
iv_ruleActionDialog=ruleActionDialog();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionDialog;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionDialog1592); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionDialog"
// $ANTLR start "ruleActionDialog"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:740:1: ruleActionDialog returns [EObject current=null] : (otherlv_0= 'dialogAction' ( (lv_action_1_0= ruleDialogActionEnum ) ) ) ;
public final EObject ruleActionDialog() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Enumerator lv_action_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:743:28: ( (otherlv_0= 'dialogAction' ( (lv_action_1_0= ruleDialogActionEnum ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:744:1: (otherlv_0= 'dialogAction' ( (lv_action_1_0= ruleDialogActionEnum ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:744:1: (otherlv_0= 'dialogAction' ( (lv_action_1_0= ruleDialogActionEnum ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:744:3: otherlv_0= 'dialogAction' ( (lv_action_1_0= ruleDialogActionEnum ) )
{
otherlv_0=(Token)match(input,27,FOLLOW_27_in_ruleActionDialog1629); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getActionDialogAccess().getDialogActionKeyword_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:748:1: ( (lv_action_1_0= ruleDialogActionEnum ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:749:1: (lv_action_1_0= ruleDialogActionEnum )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:749:1: (lv_action_1_0= ruleDialogActionEnum )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:750:3: lv_action_1_0= ruleDialogActionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionDialogAccess().getActionDialogActionEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleDialogActionEnum_in_ruleActionDialog1650);
lv_action_1_0=ruleDialogActionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionDialogRule());
}
set(
current,
"action",
lv_action_1_0,
"DialogActionEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionDialog"
// $ANTLR start "entryRuleActionReport"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:774:1: entryRuleActionReport returns [EObject current=null] : iv_ruleActionReport= ruleActionReport EOF ;
public final EObject entryRuleActionReport() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionReport = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:775:2: (iv_ruleActionReport= ruleActionReport EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:776:2: iv_ruleActionReport= ruleActionReport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionReportRule());
}
pushFollow(FOLLOW_ruleActionReport_in_entryRuleActionReport1686);
iv_ruleActionReport=ruleActionReport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionReport;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionReport1696); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionReport"
// $ANTLR start "ruleActionReport"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:783:1: ruleActionReport returns [EObject current=null] : (otherlv_0= 'reportAction' ( (lv_action_1_0= ruleReportActionEnum ) ) ) ;
public final EObject ruleActionReport() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Enumerator lv_action_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:786:28: ( (otherlv_0= 'reportAction' ( (lv_action_1_0= ruleReportActionEnum ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:787:1: (otherlv_0= 'reportAction' ( (lv_action_1_0= ruleReportActionEnum ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:787:1: (otherlv_0= 'reportAction' ( (lv_action_1_0= ruleReportActionEnum ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:787:3: otherlv_0= 'reportAction' ( (lv_action_1_0= ruleReportActionEnum ) )
{
otherlv_0=(Token)match(input,28,FOLLOW_28_in_ruleActionReport1733); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getActionReportAccess().getReportActionKeyword_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:791:1: ( (lv_action_1_0= ruleReportActionEnum ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:792:1: (lv_action_1_0= ruleReportActionEnum )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:792:1: (lv_action_1_0= ruleReportActionEnum )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:793:3: lv_action_1_0= ruleReportActionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionReportAccess().getActionReportActionEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleReportActionEnum_in_ruleActionReport1754);
lv_action_1_0=ruleReportActionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionReportRule());
}
set(
current,
"action",
lv_action_1_0,
"ReportActionEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionReport"
// $ANTLR start "entryRuleActionChart"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:817:1: entryRuleActionChart returns [EObject current=null] : iv_ruleActionChart= ruleActionChart EOF ;
public final EObject entryRuleActionChart() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionChart = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:818:2: (iv_ruleActionChart= ruleActionChart EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:819:2: iv_ruleActionChart= ruleActionChart EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionChartRule());
}
pushFollow(FOLLOW_ruleActionChart_in_entryRuleActionChart1790);
iv_ruleActionChart=ruleActionChart();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionChart;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionChart1800); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionChart"
// $ANTLR start "ruleActionChart"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:826:1: ruleActionChart returns [EObject current=null] : (otherlv_0= 'chartAction' ( (lv_action_1_0= ruleChartActionEnum ) ) ) ;
public final EObject ruleActionChart() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Enumerator lv_action_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:829:28: ( (otherlv_0= 'chartAction' ( (lv_action_1_0= ruleChartActionEnum ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:830:1: (otherlv_0= 'chartAction' ( (lv_action_1_0= ruleChartActionEnum ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:830:1: (otherlv_0= 'chartAction' ( (lv_action_1_0= ruleChartActionEnum ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:830:3: otherlv_0= 'chartAction' ( (lv_action_1_0= ruleChartActionEnum ) )
{
otherlv_0=(Token)match(input,29,FOLLOW_29_in_ruleActionChart1837); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getActionChartAccess().getChartActionKeyword_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:834:1: ( (lv_action_1_0= ruleChartActionEnum ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:835:1: (lv_action_1_0= ruleChartActionEnum )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:835:1: (lv_action_1_0= ruleChartActionEnum )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:836:3: lv_action_1_0= ruleChartActionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionChartAccess().getActionChartActionEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleChartActionEnum_in_ruleActionChart1858);
lv_action_1_0=ruleChartActionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionChartRule());
}
set(
current,
"action",
lv_action_1_0,
"ChartActionEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionChart"
// $ANTLR start "entryRuleActionWorkflow"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:860:1: entryRuleActionWorkflow returns [EObject current=null] : iv_ruleActionWorkflow= ruleActionWorkflow EOF ;
public final EObject entryRuleActionWorkflow() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionWorkflow = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:861:2: (iv_ruleActionWorkflow= ruleActionWorkflow EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:862:2: iv_ruleActionWorkflow= ruleActionWorkflow EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionWorkflowRule());
}
pushFollow(FOLLOW_ruleActionWorkflow_in_entryRuleActionWorkflow1894);
iv_ruleActionWorkflow=ruleActionWorkflow();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionWorkflow;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionWorkflow1904); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionWorkflow"
// $ANTLR start "ruleActionWorkflow"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:869:1: ruleActionWorkflow returns [EObject current=null] : (otherlv_0= 'workflowAction' ( (lv_action_1_0= ruleWorkflowActionEnum ) ) ) ;
public final EObject ruleActionWorkflow() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Enumerator lv_action_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:872:28: ( (otherlv_0= 'workflowAction' ( (lv_action_1_0= ruleWorkflowActionEnum ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:873:1: (otherlv_0= 'workflowAction' ( (lv_action_1_0= ruleWorkflowActionEnum ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:873:1: (otherlv_0= 'workflowAction' ( (lv_action_1_0= ruleWorkflowActionEnum ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:873:3: otherlv_0= 'workflowAction' ( (lv_action_1_0= ruleWorkflowActionEnum ) )
{
otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleActionWorkflow1941); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getActionWorkflowAccess().getWorkflowActionKeyword_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:877:1: ( (lv_action_1_0= ruleWorkflowActionEnum ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:878:1: (lv_action_1_0= ruleWorkflowActionEnum )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:878:1: (lv_action_1_0= ruleWorkflowActionEnum )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:879:3: lv_action_1_0= ruleWorkflowActionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionWorkflowAccess().getActionWorkflowActionEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleWorkflowActionEnum_in_ruleActionWorkflow1962);
lv_action_1_0=ruleWorkflowActionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionWorkflowRule());
}
set(
current,
"action",
lv_action_1_0,
"WorkflowActionEnum");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionWorkflow"
// $ANTLR start "entryRuleActionDatainterchange"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:903:1: entryRuleActionDatainterchange returns [EObject current=null] : iv_ruleActionDatainterchange= ruleActionDatainterchange EOF ;
public final EObject entryRuleActionDatainterchange() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionDatainterchange = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:904:2: (iv_ruleActionDatainterchange= ruleActionDatainterchange EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:905:2: iv_ruleActionDatainterchange= ruleActionDatainterchange EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionDatainterchangeRule());
}
pushFollow(FOLLOW_ruleActionDatainterchange_in_entryRuleActionDatainterchange1998);
iv_ruleActionDatainterchange=ruleActionDatainterchange();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionDatainterchange;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionDatainterchange2008); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionDatainterchange"
// $ANTLR start "ruleActionDatainterchange"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:912:1: ruleActionDatainterchange returns [EObject current=null] : (otherlv_0= 'datainterchangeAction' ( (lv_action_1_0= ruleDatainterchangeActionEnum ) ) ( (otherlv_2= RULE_ID ) ) ) ;
public final EObject ruleActionDatainterchange() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_2=null;
Enumerator lv_action_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:915:28: ( (otherlv_0= 'datainterchangeAction' ( (lv_action_1_0= ruleDatainterchangeActionEnum ) ) ( (otherlv_2= RULE_ID ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:916:1: (otherlv_0= 'datainterchangeAction' ( (lv_action_1_0= ruleDatainterchangeActionEnum ) ) ( (otherlv_2= RULE_ID ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:916:1: (otherlv_0= 'datainterchangeAction' ( (lv_action_1_0= ruleDatainterchangeActionEnum ) ) ( (otherlv_2= RULE_ID ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:916:3: otherlv_0= 'datainterchangeAction' ( (lv_action_1_0= ruleDatainterchangeActionEnum ) ) ( (otherlv_2= RULE_ID ) )
{
otherlv_0=(Token)match(input,31,FOLLOW_31_in_ruleActionDatainterchange2045); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getActionDatainterchangeAccess().getDatainterchangeActionKeyword_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:920:1: ( (lv_action_1_0= ruleDatainterchangeActionEnum ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:921:1: (lv_action_1_0= ruleDatainterchangeActionEnum )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:921:1: (lv_action_1_0= ruleDatainterchangeActionEnum )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:922:3: lv_action_1_0= ruleDatainterchangeActionEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionDatainterchangeAccess().getActionDatainterchangeActionEnumEnumRuleCall_1_0());
}
pushFollow(FOLLOW_ruleDatainterchangeActionEnum_in_ruleActionDatainterchange2066);
lv_action_1_0=ruleDatainterchangeActionEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionDatainterchangeRule());
}
set(
current,
"action",
lv_action_1_0,
"DatainterchangeActionEnum");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:938:2: ( (otherlv_2= RULE_ID ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:939:1: (otherlv_2= RULE_ID )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:939:1: (otherlv_2= RULE_ID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:940:3: otherlv_2= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getActionDatainterchangeRule());
}
}
otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleActionDatainterchange2086); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getActionDatainterchangeAccess().getDataRefDataInterchangeCrossReference_2_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionDatainterchange"
// $ANTLR start "entryRuleActionGeneric"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:959:1: entryRuleActionGeneric returns [EObject current=null] : iv_ruleActionGeneric= ruleActionGeneric EOF ;
public final EObject entryRuleActionGeneric() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionGeneric = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:960:2: (iv_ruleActionGeneric= ruleActionGeneric EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:961:2: iv_ruleActionGeneric= ruleActionGeneric EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionGenericRule());
}
pushFollow(FOLLOW_ruleActionGeneric_in_entryRuleActionGeneric2122);
iv_ruleActionGeneric=ruleActionGeneric();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionGeneric;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionGeneric2132); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionGeneric"
// $ANTLR start "ruleActionGeneric"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:968:1: ruleActionGeneric returns [EObject current=null] : (otherlv_0= 'genericAction' ( (lv_action_1_0= RULE_STRING ) ) ) ;
public final EObject ruleActionGeneric() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_action_1_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:971:28: ( (otherlv_0= 'genericAction' ( (lv_action_1_0= RULE_STRING ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:972:1: (otherlv_0= 'genericAction' ( (lv_action_1_0= RULE_STRING ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:972:1: (otherlv_0= 'genericAction' ( (lv_action_1_0= RULE_STRING ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:972:3: otherlv_0= 'genericAction' ( (lv_action_1_0= RULE_STRING ) )
{
otherlv_0=(Token)match(input,32,FOLLOW_32_in_ruleActionGeneric2169); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getActionGenericAccess().getGenericActionKeyword_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:976:1: ( (lv_action_1_0= RULE_STRING ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:977:1: (lv_action_1_0= RULE_STRING )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:977:1: (lv_action_1_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:978:3: lv_action_1_0= RULE_STRING
{
lv_action_1_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleActionGeneric2186); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_action_1_0, grammarAccess.getActionGenericAccess().getActionSTRINGTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getActionGenericRule());
}
setWithLastConsumed(
current,
"action",
lv_action_1_0,
"STRING");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionGeneric"
// $ANTLR start "entryRuleActionImport"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1004:1: entryRuleActionImport returns [EObject current=null] : iv_ruleActionImport= ruleActionImport EOF ;
public final EObject entryRuleActionImport() throws RecognitionException {
EObject current = null;
EObject iv_ruleActionImport = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1005:2: (iv_ruleActionImport= ruleActionImport EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1006:2: iv_ruleActionImport= ruleActionImport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionImportRule());
}
pushFollow(FOLLOW_ruleActionImport_in_entryRuleActionImport2229);
iv_ruleActionImport=ruleActionImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionImport;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionImport2239); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionImport"
// $ANTLR start "ruleActionImport"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1013:1: ruleActionImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleActionQualifiedNameWithWildCard ) ) ) ;
public final EObject ruleActionImport() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1016:28: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleActionQualifiedNameWithWildCard ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1017:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleActionQualifiedNameWithWildCard ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1017:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleActionQualifiedNameWithWildCard ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1017:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleActionQualifiedNameWithWildCard ) )
{
otherlv_0=(Token)match(input,33,FOLLOW_33_in_ruleActionImport2276); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getActionImportAccess().getImportKeyword_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1021:1: ( (lv_importedNamespace_1_0= ruleActionQualifiedNameWithWildCard ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1022:1: (lv_importedNamespace_1_0= ruleActionQualifiedNameWithWildCard )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1022:1: (lv_importedNamespace_1_0= ruleActionQualifiedNameWithWildCard )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1023:3: lv_importedNamespace_1_0= ruleActionQualifiedNameWithWildCard
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionImportAccess().getImportedNamespaceActionQualifiedNameWithWildCardParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleActionQualifiedNameWithWildCard_in_ruleActionImport2297);
lv_importedNamespace_1_0=ruleActionQualifiedNameWithWildCard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getActionImportRule());
}
set(
current,
"importedNamespace",
lv_importedNamespace_1_0,
"ActionQualifiedNameWithWildCard");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionImport"
// $ANTLR start "entryRuleActionQualifiedNameWithWildCard"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1049:1: entryRuleActionQualifiedNameWithWildCard returns [String current=null] : iv_ruleActionQualifiedNameWithWildCard= ruleActionQualifiedNameWithWildCard EOF ;
public final String entryRuleActionQualifiedNameWithWildCard() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleActionQualifiedNameWithWildCard = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1050:2: (iv_ruleActionQualifiedNameWithWildCard= ruleActionQualifiedNameWithWildCard EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1051:2: iv_ruleActionQualifiedNameWithWildCard= ruleActionQualifiedNameWithWildCard EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionQualifiedNameWithWildCardRule());
}
pushFollow(FOLLOW_ruleActionQualifiedNameWithWildCard_in_entryRuleActionQualifiedNameWithWildCard2336);
iv_ruleActionQualifiedNameWithWildCard=ruleActionQualifiedNameWithWildCard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleActionQualifiedNameWithWildCard.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleActionQualifiedNameWithWildCard2347); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleActionQualifiedNameWithWildCard"
// $ANTLR start "ruleActionQualifiedNameWithWildCard"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1058:1: ruleActionQualifiedNameWithWildCard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ;
public final AntlrDatatypeRuleToken ruleActionQualifiedNameWithWildCard() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_QualifiedName_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1061:28: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1062:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1062:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1063:5: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getActionQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleActionQualifiedNameWithWildCard2394);
this_QualifiedName_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_QualifiedName_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1073:1: (kw= '.' kw= '*' )?
int alt15=2;
int LA15_0 = input.LA(1);
if ( (LA15_0==34) ) {
alt15=1;
}
switch (alt15) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1074:2: kw= '.' kw= '*'
{
kw=(Token)match(input,34,FOLLOW_34_in_ruleActionQualifiedNameWithWildCard2413); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getActionQualifiedNameWithWildCardAccess().getFullStopKeyword_1_0());
}
kw=(Token)match(input,35,FOLLOW_35_in_ruleActionQualifiedNameWithWildCard2426); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getActionQualifiedNameWithWildCardAccess().getAsteriskKeyword_1_1());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleActionQualifiedNameWithWildCard"
// $ANTLR start "entryRuleQualifiedName"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1093:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
public final String entryRuleQualifiedName() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1094:2: (iv_ruleQualifiedName= ruleQualifiedName EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1095:2: iv_ruleQualifiedName= ruleQualifiedName EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameRule());
}
pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName2469);
iv_ruleQualifiedName=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleQualifiedName.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName2480); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleQualifiedName"
// $ANTLR start "ruleQualifiedName"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1102:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) ;
public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
AntlrDatatypeRuleToken this_ValidID_0 = null;
AntlrDatatypeRuleToken this_ValidID_2 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1105:28: ( (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1106:1: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1106:1: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1107:5: this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleQualifiedName2527);
this_ValidID_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_0);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1117:1: ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )*
loop16:
do {
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==34) ) {
int LA16_2 = input.LA(2);
if ( (LA16_2==RULE_ID) ) {
int LA16_3 = input.LA(3);
if ( (synpred1_InternalActionDSL()) ) {
alt16=1;
}
}
}
switch (alt16) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1117:2: ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1117:2: ( ( '.' )=>kw= '.' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1117:3: ( '.' )=>kw= '.'
{
kw=(Token)match(input,34,FOLLOW_34_in_ruleQualifiedName2555); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1());
}
pushFollow(FOLLOW_ruleValidID_in_ruleQualifiedName2578);
this_ValidID_2=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ValidID_2);
}
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
break;
default :
break loop16;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleQualifiedName"
// $ANTLR start "entryRuleValidID"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1144:1: entryRuleValidID returns [String current=null] : iv_ruleValidID= ruleValidID EOF ;
public final String entryRuleValidID() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleValidID = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1145:2: (iv_ruleValidID= ruleValidID EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1146:2: iv_ruleValidID= ruleValidID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getValidIDRule());
}
pushFollow(FOLLOW_ruleValidID_in_entryRuleValidID2626);
iv_ruleValidID=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleValidID.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleValidID2637); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleValidID"
// $ANTLR start "ruleValidID"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1153:1: ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1156:28: (this_ID_0= RULE_ID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1157:5: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValidID2676); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleValidID"
// $ANTLR start "entryRuleTRANSLATABLEID"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1172:1: entryRuleTRANSLATABLEID returns [String current=null] : iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF ;
public final String entryRuleTRANSLATABLEID() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleTRANSLATABLEID = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1173:2: (iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1174:2: iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTRANSLATABLEIDRule());
}
pushFollow(FOLLOW_ruleTRANSLATABLEID_in_entryRuleTRANSLATABLEID2721);
iv_ruleTRANSLATABLEID=ruleTRANSLATABLEID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTRANSLATABLEID.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleTRANSLATABLEID2732); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTRANSLATABLEID"
// $ANTLR start "ruleTRANSLATABLEID"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1181:1: ruleTRANSLATABLEID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
public final AntlrDatatypeRuleToken ruleTRANSLATABLEID() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_ID_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1184:28: (this_ID_0= RULE_ID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1185:5: this_ID_0= RULE_ID
{
this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTRANSLATABLEID2771); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_ID_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_ID_0, grammarAccess.getTRANSLATABLEIDAccess().getIDTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTRANSLATABLEID"
// $ANTLR start "entryRuleTRANSLATABLESTRING"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1200:1: entryRuleTRANSLATABLESTRING returns [String current=null] : iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF ;
public final String entryRuleTRANSLATABLESTRING() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleTRANSLATABLESTRING = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1201:2: (iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1202:2: iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTRANSLATABLESTRINGRule());
}
pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_entryRuleTRANSLATABLESTRING2816);
iv_ruleTRANSLATABLESTRING=ruleTRANSLATABLESTRING();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTRANSLATABLESTRING.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleTRANSLATABLESTRING2827); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleTRANSLATABLESTRING"
// $ANTLR start "ruleTRANSLATABLESTRING"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1209:1: ruleTRANSLATABLESTRING returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ;
public final AntlrDatatypeRuleToken ruleTRANSLATABLESTRING() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token this_STRING_0=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1212:28: (this_STRING_0= RULE_STRING )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1213:5: this_STRING_0= RULE_STRING
{
this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTRANSLATABLESTRING2866); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(this_STRING_0);
}
if ( state.backtracking==0 ) {
newLeafNode(this_STRING_0, grammarAccess.getTRANSLATABLESTRINGAccess().getSTRINGTerminalRuleCall());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleTRANSLATABLESTRING"
// $ANTLR start "entryRuleXAnnotation"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1228:1: entryRuleXAnnotation returns [EObject current=null] : iv_ruleXAnnotation= ruleXAnnotation EOF ;
public final EObject entryRuleXAnnotation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotation = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1229:2: (iv_ruleXAnnotation= ruleXAnnotation EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1230:2: iv_ruleXAnnotation= ruleXAnnotation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationRule());
}
pushFollow(FOLLOW_ruleXAnnotation_in_entryRuleXAnnotation2910);
iv_ruleXAnnotation=ruleXAnnotation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotation2920); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotation"
// $ANTLR start "ruleXAnnotation"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1237:1: ruleXAnnotation returns [EObject current=null] : ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? ) ;
public final EObject ruleXAnnotation() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_8=null;
EObject lv_elementValuePairs_4_0 = null;
EObject lv_elementValuePairs_6_0 = null;
EObject lv_value_7_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1240:28: ( ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1241:1: ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1241:1: ( () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1241:2: () otherlv_1= '@' ( ( ruleQualifiedName ) ) ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )?
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1241:2: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1242:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(),
current);
}
}
otherlv_1=(Token)match(input,36,FOLLOW_36_in_ruleXAnnotation2966); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1251:1: ( ( ruleQualifiedName ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1252:1: ( ruleQualifiedName )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1252:1: ( ruleQualifiedName )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1253:3: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAnnotationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getAnnotationTypeJvmAnnotationTypeCrossReference_2_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleXAnnotation2989);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1266:2: ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )?
int alt19=2;
int LA19_0 = input.LA(1);
if ( (LA19_0==37) && (synpred2_InternalActionDSL())) {
alt19=1;
}
switch (alt19) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1266:3: ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')'
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1266:3: ( ( '(' )=>otherlv_3= '(' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1266:4: ( '(' )=>otherlv_3= '('
{
otherlv_3=(Token)match(input,37,FOLLOW_37_in_ruleXAnnotation3010); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0());
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1271:2: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )?
int alt18=3;
alt18 = dfa18.predict(input);
switch (alt18) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1271:3: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1271:3: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1271:4: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )*
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1271:4: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1271:5: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1277:1: (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1278:3: lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0());
}
pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_ruleXAnnotation3054);
lv_elementValuePairs_4_0=ruleXAnnotationElementValuePair();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
add(
current,
"elementValuePairs",
lv_elementValuePairs_4_0,
"XAnnotationElementValuePair");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1294:2: (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )*
loop17:
do {
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==38) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1294:4: otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) )
{
otherlv_5=(Token)match(input,38,FOLLOW_38_in_ruleXAnnotation3067); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1298:1: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1298:2: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1304:1: (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1305:3: lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_ruleXAnnotation3108);
lv_elementValuePairs_6_0=ruleXAnnotationElementValuePair();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
add(
current,
"elementValuePairs",
lv_elementValuePairs_6_0,
"XAnnotationElementValuePair");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop17;
}
} while (true);
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1322:6: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1322:6: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1323:1: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1323:1: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1324:3: lv_value_7_0= ruleXAnnotationElementValueOrCommaList
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_ruleXAnnotation3138);
lv_value_7_0=ruleXAnnotationElementValueOrCommaList();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationRule());
}
set(
current,
"value",
lv_value_7_0,
"XAnnotationElementValueOrCommaList");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_8=(Token)match(input,39,FOLLOW_39_in_ruleXAnnotation3152); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXAnnotationAccess().getRightParenthesisKeyword_3_2());
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotation"
// $ANTLR start "entryRuleXAnnotationElementValuePair"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1352:1: entryRuleXAnnotationElementValuePair returns [EObject current=null] : iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ;
public final EObject entryRuleXAnnotationElementValuePair() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValuePair = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1353:2: (iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1354:2: iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule());
}
pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_entryRuleXAnnotationElementValuePair3190);
iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValuePair;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValuePair3200); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValuePair"
// $ANTLR start "ruleXAnnotationElementValuePair"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1361:1: ruleXAnnotationElementValuePair returns [EObject current=null] : ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) ;
public final EObject ruleXAnnotationElementValuePair() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
EObject lv_value_2_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1364:28: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1365:1: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1365:1: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1365:2: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1365:2: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1365:3: ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1370:5: ( ( ( ruleValidID ) ) otherlv_1= '=' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1370:6: ( ( ruleValidID ) ) otherlv_1= '='
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1370:6: ( ( ruleValidID ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1371:1: ( ruleValidID )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1371:1: ( ruleValidID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1372:3: ruleValidID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAnnotationElementValuePairRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getElementJvmOperationCrossReference_0_0_0_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXAnnotationElementValuePair3270);
ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
otherlv_1=(Token)match(input,40,FOLLOW_40_in_ruleXAnnotationElementValuePair3282); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1());
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1389:3: ( (lv_value_2_0= ruleXAnnotationElementValue ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1390:1: (lv_value_2_0= ruleXAnnotationElementValue )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1390:1: (lv_value_2_0= ruleXAnnotationElementValue )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1391:3: lv_value_2_0= ruleXAnnotationElementValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationElementValue_in_ruleXAnnotationElementValuePair3305);
lv_value_2_0=ruleXAnnotationElementValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValuePairRule());
}
set(
current,
"value",
lv_value_2_0,
"XAnnotationElementValue");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationElementValuePair"
// $ANTLR start "entryRuleXAnnotationElementValueOrCommaList"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1415:1: entryRuleXAnnotationElementValueOrCommaList returns [EObject current=null] : iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF ;
public final EObject entryRuleXAnnotationElementValueOrCommaList() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValueOrCommaList = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1416:2: (iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1417:2: iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_entryRuleXAnnotationElementValueOrCommaList3341);
iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValueOrCommaList;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValueOrCommaList3351); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValueOrCommaList"
// $ANTLR start "ruleXAnnotationElementValueOrCommaList"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1424:1: ruleXAnnotationElementValueOrCommaList returns [EObject current=null] : ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) ) ;
public final EObject ruleXAnnotationElementValueOrCommaList() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
Token otherlv_9=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
EObject this_XAnnotationOrExpression_7 = null;
EObject lv_elements_10_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1427:28: ( ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1428:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1428:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) )
int alt24=2;
alt24 = dfa24.predict(input);
switch (alt24) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1428:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1428:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1428:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']'
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1428:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1428:4: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1431:5: ( () otherlv_1= '#' otherlv_2= '[' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1431:6: () otherlv_1= '#' otherlv_2= '['
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1431:6: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1432:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleXAnnotationElementValueOrCommaList3416); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1());
}
otherlv_2=(Token)match(input,42,FOLLOW_42_in_ruleXAnnotationElementValueOrCommaList3428); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2());
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1445:3: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )?
int alt21=2;
int LA21_0 = input.LA(1);
if ( ((LA21_0>=RULE_ID && LA21_0<=RULE_DECIMAL)||LA21_0==14||LA21_0==33||(LA21_0>=36 && LA21_0<=37)||(LA21_0>=41 && LA21_0<=42)||LA21_0==49||(LA21_0>=65 && LA21_0<=66)||LA21_0==70||LA21_0==78||LA21_0==80||(LA21_0>=84 && LA21_0<=86)||(LA21_0>=89 && LA21_0<=100)||LA21_0==102) ) {
alt21=1;
}
switch (alt21) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1445:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1445:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1446:1: (lv_elements_3_0= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1446:1: (lv_elements_3_0= ruleXAnnotationOrExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1447:3: lv_elements_3_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList3452);
lv_elements_3_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
current,
"elements",
lv_elements_3_0,
"XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1463:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
loop20:
do {
int alt20=2;
int LA20_0 = input.LA(1);
if ( (LA20_0==38) ) {
alt20=1;
}
switch (alt20) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1463:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
{
otherlv_4=(Token)match(input,38,FOLLOW_38_in_ruleXAnnotationElementValueOrCommaList3465); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1467:1: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1468:1: (lv_elements_5_0= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1468:1: (lv_elements_5_0= ruleXAnnotationOrExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1469:3: lv_elements_5_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList3486);
lv_elements_5_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
current,
"elements",
lv_elements_5_0,
"XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop20;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,43,FOLLOW_43_in_ruleXAnnotationElementValueOrCommaList3502); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1490:6: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1490:6: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1491:5: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList3532);
this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotationOrExpression_7;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1499:1: ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==38) ) {
alt23=1;
}
switch (alt23) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1499:2: () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1499:2: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1500:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndAdd(
grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1505:2: (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+
int cnt22=0;
loop22:
do {
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==38) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1505:4: otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) )
{
otherlv_9=(Token)match(input,38,FOLLOW_38_in_ruleXAnnotationElementValueOrCommaList3554); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1509:1: ( (lv_elements_10_0= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1510:1: (lv_elements_10_0= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1510:1: (lv_elements_10_0= ruleXAnnotationOrExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1511:3: lv_elements_10_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList3575);
lv_elements_10_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueOrCommaListRule());
}
add(
current,
"elements",
lv_elements_10_0,
"XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
if ( cnt22 >= 1 ) break loop22;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(22, input);
throw eee;
}
cnt22++;
} while (true);
}
break;
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationElementValueOrCommaList"
// $ANTLR start "entryRuleXAnnotationElementValue"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1535:1: entryRuleXAnnotationElementValue returns [EObject current=null] : iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF ;
public final EObject entryRuleXAnnotationElementValue() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationElementValue = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1536:2: (iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1537:2: iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueRule());
}
pushFollow(FOLLOW_ruleXAnnotationElementValue_in_entryRuleXAnnotationElementValue3616);
iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationElementValue;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValue3626); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationElementValue"
// $ANTLR start "ruleXAnnotationElementValue"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1544:1: ruleXAnnotationElementValue returns [EObject current=null] : ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) ;
public final EObject ruleXAnnotationElementValue() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
EObject this_XAnnotationOrExpression_7 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1547:28: ( ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1548:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1548:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )
int alt27=2;
alt27 = dfa27.predict(input);
switch (alt27) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1548:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1548:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1548:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']'
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1548:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1548:4: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1551:5: ( () otherlv_1= '#' otherlv_2= '[' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1551:6: () otherlv_1= '#' otherlv_2= '['
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1551:6: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1552:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(),
current);
}
}
otherlv_1=(Token)match(input,41,FOLLOW_41_in_ruleXAnnotationElementValue3691); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1());
}
otherlv_2=(Token)match(input,42,FOLLOW_42_in_ruleXAnnotationElementValue3703); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2());
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1565:3: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )?
int alt26=2;
int LA26_0 = input.LA(1);
if ( ((LA26_0>=RULE_ID && LA26_0<=RULE_DECIMAL)||LA26_0==14||LA26_0==33||(LA26_0>=36 && LA26_0<=37)||(LA26_0>=41 && LA26_0<=42)||LA26_0==49||(LA26_0>=65 && LA26_0<=66)||LA26_0==70||LA26_0==78||LA26_0==80||(LA26_0>=84 && LA26_0<=86)||(LA26_0>=89 && LA26_0<=100)||LA26_0==102) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1565:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1565:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1566:1: (lv_elements_3_0= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1566:1: (lv_elements_3_0= ruleXAnnotationOrExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1567:3: lv_elements_3_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue3727);
lv_elements_3_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule());
}
add(
current,
"elements",
lv_elements_3_0,
"XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1583:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )*
loop25:
do {
int alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==38) ) {
alt25=1;
}
switch (alt25) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1583:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
{
otherlv_4=(Token)match(input,38,FOLLOW_38_in_ruleXAnnotationElementValue3740); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1587:1: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1588:1: (lv_elements_5_0= ruleXAnnotationOrExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1588:1: (lv_elements_5_0= ruleXAnnotationOrExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1589:3: lv_elements_5_0= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue3761);
lv_elements_5_0=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAnnotationElementValueRule());
}
add(
current,
"elements",
lv_elements_5_0,
"XAnnotationOrExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop25;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,43,FOLLOW_43_in_ruleXAnnotationElementValue3777); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1611:5: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue3806);
this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotationOrExpression_7;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationElementValue"
// $ANTLR start "entryRuleXAnnotationOrExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1627:1: entryRuleXAnnotationOrExpression returns [EObject current=null] : iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF ;
public final EObject entryRuleXAnnotationOrExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAnnotationOrExpression = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1628:2: (iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1629:2: iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule());
}
pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_entryRuleXAnnotationOrExpression3841);
iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAnnotationOrExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationOrExpression3851); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAnnotationOrExpression"
// $ANTLR start "ruleXAnnotationOrExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1636:1: ruleXAnnotationOrExpression returns [EObject current=null] : (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) ;
public final EObject ruleXAnnotationOrExpression() throws RecognitionException {
EObject current = null;
EObject this_XAnnotation_0 = null;
EObject this_XExpression_1 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1639:28: ( (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1640:1: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1640:1: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression )
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==36) ) {
alt28=1;
}
else if ( ((LA28_0>=RULE_ID && LA28_0<=RULE_DECIMAL)||LA28_0==14||LA28_0==33||LA28_0==37||(LA28_0>=41 && LA28_0<=42)||LA28_0==49||(LA28_0>=65 && LA28_0<=66)||LA28_0==70||LA28_0==78||LA28_0==80||(LA28_0>=84 && LA28_0<=86)||(LA28_0>=89 && LA28_0<=100)||LA28_0==102) ) {
alt28=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 28, 0, input);
throw nvae;
}
switch (alt28) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1641:5: this_XAnnotation_0= ruleXAnnotation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXAnnotation_in_ruleXAnnotationOrExpression3898);
this_XAnnotation_0=ruleXAnnotation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAnnotation_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1651:5: this_XExpression_1= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXAnnotationOrExpression3925);
this_XExpression_1=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XExpression_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAnnotationOrExpression"
// $ANTLR start "entryRuleXExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1667:1: entryRuleXExpression returns [EObject current=null] : iv_ruleXExpression= ruleXExpression EOF ;
public final EObject entryRuleXExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpression = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1668:2: (iv_ruleXExpression= ruleXExpression EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1669:2: iv_ruleXExpression= ruleXExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionRule());
}
pushFollow(FOLLOW_ruleXExpression_in_entryRuleXExpression3960);
iv_ruleXExpression=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXExpression3970); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpression"
// $ANTLR start "ruleXExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1676:1: ruleXExpression returns [EObject current=null] : this_XAssignment_0= ruleXAssignment ;
public final EObject ruleXExpression() throws RecognitionException {
EObject current = null;
EObject this_XAssignment_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1679:28: (this_XAssignment_0= ruleXAssignment )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1681:5: this_XAssignment_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXExpression4016);
this_XAssignment_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAssignment_0;
afterParserOrEnumRuleCall();
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpression"
// $ANTLR start "entryRuleXAssignment"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1697:1: entryRuleXAssignment returns [EObject current=null] : iv_ruleXAssignment= ruleXAssignment EOF ;
public final EObject entryRuleXAssignment() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAssignment = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1698:2: (iv_ruleXAssignment= ruleXAssignment EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1699:2: iv_ruleXAssignment= ruleXAssignment EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentRule());
}
pushFollow(FOLLOW_ruleXAssignment_in_entryRuleXAssignment4050);
iv_ruleXAssignment=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAssignment;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAssignment4060); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAssignment"
// $ANTLR start "ruleXAssignment"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1706:1: ruleXAssignment returns [EObject current=null] : ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) ;
public final EObject ruleXAssignment() throws RecognitionException {
EObject current = null;
EObject lv_value_3_0 = null;
EObject this_XOrExpression_4 = null;
EObject lv_rightOperand_7_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1709:28: ( ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1710:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1710:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
int alt30=2;
switch ( input.LA(1) ) {
case RULE_ID:
{
int LA30_1 = input.LA(2);
if ( (LA30_1==40) ) {
alt30=1;
}
else if ( (LA30_1==EOF||(LA30_1>=RULE_ID && LA30_1<=RULE_DECIMAL)||(LA30_1>=14 && LA30_1<=15)||(LA30_1>=33 && LA30_1<=35)||(LA30_1>=37 && LA30_1<=39)||(LA30_1>=41 && LA30_1<=75)||(LA30_1>=77 && LA30_1<=103)) ) {
alt30=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 30, 1, input);
throw nvae;
}
}
break;
case 89:
{
int LA30_2 = input.LA(2);
if ( (LA30_2==EOF||(LA30_2>=RULE_ID && LA30_2<=RULE_DECIMAL)||(LA30_2>=14 && LA30_2<=15)||(LA30_2>=33 && LA30_2<=35)||(LA30_2>=37 && LA30_2<=39)||(LA30_2>=41 && LA30_2<=75)||(LA30_2>=77 && LA30_2<=103)) ) {
alt30=2;
}
else if ( (LA30_2==40) ) {
alt30=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 30, 2, input);
throw nvae;
}
}
break;
case 90:
{
int LA30_3 = input.LA(2);
if ( (LA30_3==EOF||(LA30_3>=RULE_ID && LA30_3<=RULE_DECIMAL)||(LA30_3>=14 && LA30_3<=15)||(LA30_3>=33 && LA30_3<=35)||(LA30_3>=37 && LA30_3<=39)||(LA30_3>=41 && LA30_3<=75)||(LA30_3>=77 && LA30_3<=103)) ) {
alt30=2;
}
else if ( (LA30_3==40) ) {
alt30=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 30, 3, input);
throw nvae;
}
}
break;
case 33:
{
int LA30_4 = input.LA(2);
if ( (LA30_4==40) ) {
alt30=1;
}
else if ( (LA30_4==EOF||(LA30_4>=RULE_ID && LA30_4<=RULE_DECIMAL)||(LA30_4>=14 && LA30_4<=15)||(LA30_4>=33 && LA30_4<=35)||(LA30_4>=37 && LA30_4<=39)||(LA30_4>=41 && LA30_4<=75)||(LA30_4>=77 && LA30_4<=103)) ) {
alt30=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 30, 4, input);
throw nvae;
}
}
break;
case 91:
{
int LA30_5 = input.LA(2);
if ( (LA30_5==EOF||(LA30_5>=RULE_ID && LA30_5<=RULE_DECIMAL)||(LA30_5>=14 && LA30_5<=15)||(LA30_5>=33 && LA30_5<=35)||(LA30_5>=37 && LA30_5<=39)||(LA30_5>=41 && LA30_5<=75)||(LA30_5>=77 && LA30_5<=103)) ) {
alt30=2;
}
else if ( (LA30_5==40) ) {
alt30=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 30, 5, input);
throw nvae;
}
}
break;
case RULE_STRING:
case RULE_HEX:
case RULE_INT:
case RULE_DECIMAL:
case 14:
case 37:
case 41:
case 42:
case 49:
case 65:
case 66:
case 70:
case 78:
case 80:
case 84:
case 85:
case 86:
case 92:
case 93:
case 94:
case 95:
case 96:
case 97:
case 98:
case 99:
case 100:
case 102:
{
alt30=2;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 30, 0, input);
throw nvae;
}
switch (alt30) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1710:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1710:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1710:3: () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1710:3: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1711:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1716:2: ( ( ruleFeatureCallID ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1717:1: ( ruleFeatureCallID )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1717:1: ( ruleFeatureCallID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1718:3: ruleFeatureCallID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0());
}
pushFollow(FOLLOW_ruleFeatureCallID_in_ruleXAssignment4118);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2());
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_ruleXAssignment4134);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1739:1: ( (lv_value_3_0= ruleXAssignment ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1740:1: (lv_value_3_0= ruleXAssignment )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1740:1: (lv_value_3_0= ruleXAssignment )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1741:3: lv_value_3_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment4154);
lv_value_3_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAssignmentRule());
}
set(
current,
"value",
lv_value_3_0,
"XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1758:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1758:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1759:5: this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXOrExpression_in_ruleXAssignment4184);
this_XOrExpression_4=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOrExpression_4;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1767:1: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
int alt29=2;
alt29 = dfa29.predict(input);
switch (alt29) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1767:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1767:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1767:3: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1772:6: ( () ( ( ruleOpMultiAssign ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1772:7: () ( ( ruleOpMultiAssign ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1772:7: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1773:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1778:2: ( ( ruleOpMultiAssign ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1779:1: ( ruleOpMultiAssign )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1779:1: ( ruleOpMultiAssign )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1780:3: ruleOpMultiAssign
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpMultiAssign_in_ruleXAssignment4237);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1793:4: ( (lv_rightOperand_7_0= ruleXAssignment ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1794:1: (lv_rightOperand_7_0= ruleXAssignment )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1794:1: (lv_rightOperand_7_0= ruleXAssignment )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1795:3: lv_rightOperand_7_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment4260);
lv_rightOperand_7_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAssignmentRule());
}
set(
current,
"rightOperand",
lv_rightOperand_7_0,
"XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAssignment"
// $ANTLR start "entryRuleOpSingleAssign"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1819:1: entryRuleOpSingleAssign returns [String current=null] : iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ;
public final String entryRuleOpSingleAssign() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpSingleAssign = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1820:2: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1821:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpSingleAssignRule());
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign4300);
iv_ruleOpSingleAssign=ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpSingleAssign.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpSingleAssign4311); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpSingleAssign"
// $ANTLR start "ruleOpSingleAssign"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1828:1: ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ;
public final AntlrDatatypeRuleToken ruleOpSingleAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1831:28: (kw= '=' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1833:2: kw= '='
{
kw=(Token)match(input,40,FOLLOW_40_in_ruleOpSingleAssign4348); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpSingleAssign"
// $ANTLR start "entryRuleOpMultiAssign"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1846:1: entryRuleOpMultiAssign returns [String current=null] : iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ;
public final String entryRuleOpMultiAssign() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpMultiAssign = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1847:2: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1848:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiAssignRule());
}
pushFollow(FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign4388);
iv_ruleOpMultiAssign=ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMultiAssign.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpMultiAssign4399); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMultiAssign"
// $ANTLR start "ruleOpMultiAssign"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1855:1: ruleOpMultiAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) ;
public final AntlrDatatypeRuleToken ruleOpMultiAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1858:28: ( (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1859:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1859:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
int alt32=7;
switch ( input.LA(1) ) {
case 44:
{
alt32=1;
}
break;
case 45:
{
alt32=2;
}
break;
case 46:
{
alt32=3;
}
break;
case 47:
{
alt32=4;
}
break;
case 48:
{
alt32=5;
}
break;
case 49:
{
alt32=6;
}
break;
case 50:
{
alt32=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 32, 0, input);
throw nvae;
}
switch (alt32) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1860:2: kw= '+='
{
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpMultiAssign4437); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1867:2: kw= '-='
{
kw=(Token)match(input,45,FOLLOW_45_in_ruleOpMultiAssign4456); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1874:2: kw= '*='
{
kw=(Token)match(input,46,FOLLOW_46_in_ruleOpMultiAssign4475); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1881:2: kw= '/='
{
kw=(Token)match(input,47,FOLLOW_47_in_ruleOpMultiAssign4494); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3());
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1888:2: kw= '%='
{
kw=(Token)match(input,48,FOLLOW_48_in_ruleOpMultiAssign4513); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4());
}
}
break;
case 6 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1894:6: (kw= '<' kw= '<' kw= '=' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1894:6: (kw= '<' kw= '<' kw= '=' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1895:2: kw= '<' kw= '<' kw= '='
{
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpMultiAssign4533); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0());
}
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpMultiAssign4546); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1());
}
kw=(Token)match(input,40,FOLLOW_40_in_ruleOpMultiAssign4559); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2());
}
}
}
break;
case 7 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1913:6: (kw= '>' (kw= '>' )? kw= '>=' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1913:6: (kw= '>' (kw= '>' )? kw= '>=' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1914:2: kw= '>' (kw= '>' )? kw= '>='
{
kw=(Token)match(input,50,FOLLOW_50_in_ruleOpMultiAssign4580); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1919:1: (kw= '>' )?
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0==50) ) {
alt31=1;
}
switch (alt31) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1920:2: kw= '>'
{
kw=(Token)match(input,50,FOLLOW_50_in_ruleOpMultiAssign4594); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1());
}
}
break;
}
kw=(Token)match(input,51,FOLLOW_51_in_ruleOpMultiAssign4609); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpMultiAssign"
// $ANTLR start "entryRuleXOrExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1939:1: entryRuleXOrExpression returns [EObject current=null] : iv_ruleXOrExpression= ruleXOrExpression EOF ;
public final EObject entryRuleXOrExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXOrExpression = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1940:2: (iv_ruleXOrExpression= ruleXOrExpression EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1941:2: iv_ruleXOrExpression= ruleXOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionRule());
}
pushFollow(FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression4650);
iv_ruleXOrExpression=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOrExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXOrExpression4660); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOrExpression"
// $ANTLR start "ruleXOrExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1948:1: ruleXOrExpression returns [EObject current=null] : (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) ;
public final EObject ruleXOrExpression() throws RecognitionException {
EObject current = null;
EObject this_XAndExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1951:28: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1952:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1952:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1953:5: this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression4707);
this_XAndExpression_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAndExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1961:1: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
loop33:
do {
int alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==52) ) {
int LA33_2 = input.LA(2);
if ( (synpred9_InternalActionDSL()) ) {
alt33=1;
}
}
switch (alt33) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1961:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1961:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1961:3: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1966:6: ( () ( ( ruleOpOr ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1966:7: () ( ( ruleOpOr ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1966:7: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1967:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1972:2: ( ( ruleOpOr ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1973:1: ( ruleOpOr )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1973:1: ( ruleOpOr )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1974:3: ruleOpOr
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXOrExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpOr_in_ruleXOrExpression4760);
ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1987:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1988:1: (lv_rightOperand_3_0= ruleXAndExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1988:1: (lv_rightOperand_3_0= ruleXAndExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:1989:3: lv_rightOperand_3_0= ruleXAndExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression4783);
lv_rightOperand_3_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXOrExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XAndExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop33;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOrExpression"
// $ANTLR start "entryRuleOpOr"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2013:1: entryRuleOpOr returns [String current=null] : iv_ruleOpOr= ruleOpOr EOF ;
public final String entryRuleOpOr() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOr = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2014:2: (iv_ruleOpOr= ruleOpOr EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2015:2: iv_ruleOpOr= ruleOpOr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOrRule());
}
pushFollow(FOLLOW_ruleOpOr_in_entryRuleOpOr4822);
iv_ruleOpOr=ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOr.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpOr4833); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOr"
// $ANTLR start "ruleOpOr"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2022:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '||' ;
public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2025:28: (kw= '||' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2027:2: kw= '||'
{
kw=(Token)match(input,52,FOLLOW_52_in_ruleOpOr4870); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpOr"
// $ANTLR start "entryRuleXAndExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2040:1: entryRuleXAndExpression returns [EObject current=null] : iv_ruleXAndExpression= ruleXAndExpression EOF ;
public final EObject entryRuleXAndExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAndExpression = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2041:2: (iv_ruleXAndExpression= ruleXAndExpression EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2042:2: iv_ruleXAndExpression= ruleXAndExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionRule());
}
pushFollow(FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression4909);
iv_ruleXAndExpression=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAndExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAndExpression4919); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAndExpression"
// $ANTLR start "ruleXAndExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2049:1: ruleXAndExpression returns [EObject current=null] : (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) ;
public final EObject ruleXAndExpression() throws RecognitionException {
EObject current = null;
EObject this_XEqualityExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2052:28: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2053:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2053:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2054:5: this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression4966);
this_XEqualityExpression_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XEqualityExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2062:1: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
loop34:
do {
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==53) ) {
int LA34_2 = input.LA(2);
if ( (synpred10_InternalActionDSL()) ) {
alt34=1;
}
}
switch (alt34) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2062:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2062:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2062:3: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2067:6: ( () ( ( ruleOpAnd ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2067:7: () ( ( ruleOpAnd ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2067:7: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2068:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2073:2: ( ( ruleOpAnd ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2074:1: ( ruleOpAnd )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2074:1: ( ruleOpAnd )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2075:3: ruleOpAnd
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAndExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpAnd_in_ruleXAndExpression5019);
ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2088:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2089:1: (lv_rightOperand_3_0= ruleXEqualityExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2089:1: (lv_rightOperand_3_0= ruleXEqualityExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2090:3: lv_rightOperand_3_0= ruleXEqualityExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression5042);
lv_rightOperand_3_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAndExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XEqualityExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop34;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAndExpression"
// $ANTLR start "entryRuleOpAnd"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2114:1: entryRuleOpAnd returns [String current=null] : iv_ruleOpAnd= ruleOpAnd EOF ;
public final String entryRuleOpAnd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAnd = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2115:2: (iv_ruleOpAnd= ruleOpAnd EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2116:2: iv_ruleOpAnd= ruleOpAnd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAndRule());
}
pushFollow(FOLLOW_ruleOpAnd_in_entryRuleOpAnd5081);
iv_ruleOpAnd=ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAnd.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpAnd5092); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAnd"
// $ANTLR start "ruleOpAnd"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2123:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '&&' ;
public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2126:28: (kw= '&&' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2128:2: kw= '&&'
{
kw=(Token)match(input,53,FOLLOW_53_in_ruleOpAnd5129); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpAnd"
// $ANTLR start "entryRuleXEqualityExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2141:1: entryRuleXEqualityExpression returns [EObject current=null] : iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ;
public final EObject entryRuleXEqualityExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXEqualityExpression = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2142:2: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2143:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionRule());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression5168);
iv_ruleXEqualityExpression=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXEqualityExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXEqualityExpression5178); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXEqualityExpression"
// $ANTLR start "ruleXEqualityExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2150:1: ruleXEqualityExpression returns [EObject current=null] : (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) ;
public final EObject ruleXEqualityExpression() throws RecognitionException {
EObject current = null;
EObject this_XRelationalExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2153:28: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2154:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2154:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2155:5: this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression5225);
this_XRelationalExpression_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XRelationalExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2163:1: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
loop35:
do {
int alt35=2;
switch ( input.LA(1) ) {
case 54:
{
int LA35_2 = input.LA(2);
if ( (synpred11_InternalActionDSL()) ) {
alt35=1;
}
}
break;
case 55:
{
int LA35_3 = input.LA(2);
if ( (synpred11_InternalActionDSL()) ) {
alt35=1;
}
}
break;
case 56:
{
int LA35_4 = input.LA(2);
if ( (synpred11_InternalActionDSL()) ) {
alt35=1;
}
}
break;
case 57:
{
int LA35_5 = input.LA(2);
if ( (synpred11_InternalActionDSL()) ) {
alt35=1;
}
}
break;
}
switch (alt35) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2163:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2163:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2163:3: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2168:6: ( () ( ( ruleOpEquality ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2168:7: () ( ( ruleOpEquality ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2168:7: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2169:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2174:2: ( ( ruleOpEquality ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2175:1: ( ruleOpEquality )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2175:1: ( ruleOpEquality )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2176:3: ruleOpEquality
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXEqualityExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpEquality_in_ruleXEqualityExpression5278);
ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2189:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2190:1: (lv_rightOperand_3_0= ruleXRelationalExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2190:1: (lv_rightOperand_3_0= ruleXRelationalExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2191:3: lv_rightOperand_3_0= ruleXRelationalExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression5301);
lv_rightOperand_3_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXEqualityExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XRelationalExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop35;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXEqualityExpression"
// $ANTLR start "entryRuleOpEquality"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2215:1: entryRuleOpEquality returns [String current=null] : iv_ruleOpEquality= ruleOpEquality EOF ;
public final String entryRuleOpEquality() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpEquality = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2216:2: (iv_ruleOpEquality= ruleOpEquality EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2217:2: iv_ruleOpEquality= ruleOpEquality EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpEqualityRule());
}
pushFollow(FOLLOW_ruleOpEquality_in_entryRuleOpEquality5340);
iv_ruleOpEquality=ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpEquality.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpEquality5351); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpEquality"
// $ANTLR start "ruleOpEquality"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2224:1: ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) ;
public final AntlrDatatypeRuleToken ruleOpEquality() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2227:28: ( (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2228:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2228:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
int alt36=4;
switch ( input.LA(1) ) {
case 54:
{
alt36=1;
}
break;
case 55:
{
alt36=2;
}
break;
case 56:
{
alt36=3;
}
break;
case 57:
{
alt36=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 36, 0, input);
throw nvae;
}
switch (alt36) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2229:2: kw= '=='
{
kw=(Token)match(input,54,FOLLOW_54_in_ruleOpEquality5389); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2236:2: kw= '!='
{
kw=(Token)match(input,55,FOLLOW_55_in_ruleOpEquality5408); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2243:2: kw= '==='
{
kw=(Token)match(input,56,FOLLOW_56_in_ruleOpEquality5427); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2250:2: kw= '!=='
{
kw=(Token)match(input,57,FOLLOW_57_in_ruleOpEquality5446); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpEquality"
// $ANTLR start "entryRuleXRelationalExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2263:1: entryRuleXRelationalExpression returns [EObject current=null] : iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ;
public final EObject entryRuleXRelationalExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXRelationalExpression = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2264:2: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2265:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionRule());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression5486);
iv_ruleXRelationalExpression=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXRelationalExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationalExpression5496); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXRelationalExpression"
// $ANTLR start "ruleXRelationalExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2272:1: ruleXRelationalExpression returns [EObject current=null] : (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) ;
public final EObject ruleXRelationalExpression() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_XOtherOperatorExpression_0 = null;
EObject lv_type_3_0 = null;
EObject lv_rightOperand_6_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2275:28: ( (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2276:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2276:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2277:5: this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getXOtherOperatorExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression5543);
this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOtherOperatorExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2285:1: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
loop37:
do {
int alt37=3;
switch ( input.LA(1) ) {
case 49:
{
int LA37_2 = input.LA(2);
if ( (synpred13_InternalActionDSL()) ) {
alt37=2;
}
}
break;
case 50:
{
int LA37_3 = input.LA(2);
if ( (synpred13_InternalActionDSL()) ) {
alt37=2;
}
}
break;
case 58:
{
int LA37_4 = input.LA(2);
if ( (synpred12_InternalActionDSL()) ) {
alt37=1;
}
}
break;
case 51:
{
int LA37_5 = input.LA(2);
if ( (synpred13_InternalActionDSL()) ) {
alt37=2;
}
}
break;
}
switch (alt37) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2285:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2285:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2285:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2285:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2285:4: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2287:5: ( () otherlv_2= 'instanceof' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2287:6: () otherlv_2= 'instanceof'
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2287:6: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2288:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,58,FOLLOW_58_in_ruleXRelationalExpression5579); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1());
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2297:3: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2298:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2298:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2299:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXRelationalExpression5602);
lv_type_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule());
}
set(
current,
"type",
lv_type_3_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2316:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2316:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2316:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2316:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2316:8: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2321:6: ( () ( ( ruleOpCompare ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2321:7: () ( ( ruleOpCompare ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2321:7: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2322:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2327:2: ( ( ruleOpCompare ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2328:1: ( ruleOpCompare )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2328:1: ( ruleOpCompare )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2329:3: ruleOpCompare
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXRelationalExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpCompare_in_ruleXRelationalExpression5663);
ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2342:4: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2343:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2343:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2344:3: lv_rightOperand_6_0= ruleXOtherOperatorExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression5686);
lv_rightOperand_6_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_6_0,
"XOtherOperatorExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
default :
break loop37;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXRelationalExpression"
// $ANTLR start "entryRuleOpCompare"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2368:1: entryRuleOpCompare returns [String current=null] : iv_ruleOpCompare= ruleOpCompare EOF ;
public final String entryRuleOpCompare() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpCompare = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2369:2: (iv_ruleOpCompare= ruleOpCompare EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2370:2: iv_ruleOpCompare= ruleOpCompare EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpCompareRule());
}
pushFollow(FOLLOW_ruleOpCompare_in_entryRuleOpCompare5726);
iv_ruleOpCompare=ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpCompare.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpCompare5737); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpCompare"
// $ANTLR start "ruleOpCompare"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2377:1: ruleOpCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) ;
public final AntlrDatatypeRuleToken ruleOpCompare() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2380:28: ( (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2381:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2381:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
int alt38=4;
switch ( input.LA(1) ) {
case 51:
{
alt38=1;
}
break;
case 49:
{
int LA38_2 = input.LA(2);
if ( (LA38_2==EOF||(LA38_2>=RULE_ID && LA38_2<=RULE_DECIMAL)||LA38_2==14||LA38_2==33||LA38_2==37||(LA38_2>=41 && LA38_2<=42)||LA38_2==49||(LA38_2>=65 && LA38_2<=66)||LA38_2==70||LA38_2==78||LA38_2==80||(LA38_2>=84 && LA38_2<=86)||(LA38_2>=89 && LA38_2<=100)||LA38_2==102) ) {
alt38=4;
}
else if ( (LA38_2==40) ) {
alt38=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 38, 2, input);
throw nvae;
}
}
break;
case 50:
{
alt38=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 38, 0, input);
throw nvae;
}
switch (alt38) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2382:2: kw= '>='
{
kw=(Token)match(input,51,FOLLOW_51_in_ruleOpCompare5775); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2388:6: (kw= '<' kw= '=' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2388:6: (kw= '<' kw= '=' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2389:2: kw= '<' kw= '='
{
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpCompare5795); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0());
}
kw=(Token)match(input,40,FOLLOW_40_in_ruleOpCompare5808); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2402:2: kw= '>'
{
kw=(Token)match(input,50,FOLLOW_50_in_ruleOpCompare5828); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2409:2: kw= '<'
{
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpCompare5847); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpCompare"
// $ANTLR start "entryRuleXOtherOperatorExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2422:1: entryRuleXOtherOperatorExpression returns [EObject current=null] : iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ;
public final EObject entryRuleXOtherOperatorExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXOtherOperatorExpression = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2423:2: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2424:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression5887);
iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOtherOperatorExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXOtherOperatorExpression5897); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOtherOperatorExpression"
// $ANTLR start "ruleXOtherOperatorExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2431:1: ruleXOtherOperatorExpression returns [EObject current=null] : (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) ;
public final EObject ruleXOtherOperatorExpression() throws RecognitionException {
EObject current = null;
EObject this_XAdditiveExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2434:28: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2435:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2435:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2436:5: this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression5944);
this_XAdditiveExpression_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAdditiveExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2444:1: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
loop39:
do {
int alt39=2;
alt39 = dfa39.predict(input);
switch (alt39) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2444:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2444:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2444:3: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2449:6: ( () ( ( ruleOpOther ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2449:7: () ( ( ruleOpOther ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2449:7: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2450:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2455:2: ( ( ruleOpOther ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2456:1: ( ruleOpOther )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2456:1: ( ruleOpOther )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2457:3: ruleOpOther
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXOtherOperatorExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpOther_in_ruleXOtherOperatorExpression5997);
ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2470:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2471:1: (lv_rightOperand_3_0= ruleXAdditiveExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2471:1: (lv_rightOperand_3_0= ruleXAdditiveExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2472:3: lv_rightOperand_3_0= ruleXAdditiveExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression6020);
lv_rightOperand_3_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXOtherOperatorExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XAdditiveExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop39;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOtherOperatorExpression"
// $ANTLR start "entryRuleOpOther"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2496:1: entryRuleOpOther returns [String current=null] : iv_ruleOpOther= ruleOpOther EOF ;
public final String entryRuleOpOther() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOther = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2497:2: (iv_ruleOpOther= ruleOpOther EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2498:2: iv_ruleOpOther= ruleOpOther EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOtherRule());
}
pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther6059);
iv_ruleOpOther=ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOther.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther6070); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOther"
// $ANTLR start "ruleOpOther"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2505:1: ruleOpOther returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) ;
public final AntlrDatatypeRuleToken ruleOpOther() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2508:28: ( (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2509:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2509:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
int alt42=9;
alt42 = dfa42.predict(input);
switch (alt42) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2510:2: kw= '->'
{
kw=(Token)match(input,59,FOLLOW_59_in_ruleOpOther6108); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2517:2: kw= '..<'
{
kw=(Token)match(input,60,FOLLOW_60_in_ruleOpOther6127); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2523:6: (kw= '>' kw= '..' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2523:6: (kw= '>' kw= '..' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2524:2: kw= '>' kw= '..'
{
kw=(Token)match(input,50,FOLLOW_50_in_ruleOpOther6147); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0());
}
kw=(Token)match(input,61,FOLLOW_61_in_ruleOpOther6160); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1());
}
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2537:2: kw= '..'
{
kw=(Token)match(input,61,FOLLOW_61_in_ruleOpOther6180); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3());
}
}
break;
case 5 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2544:2: kw= '=>'
{
kw=(Token)match(input,62,FOLLOW_62_in_ruleOpOther6199); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4());
}
}
break;
case 6 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2550:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2550:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2551:2: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
{
kw=(Token)match(input,50,FOLLOW_50_in_ruleOpOther6219); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2556:1: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
int alt40=2;
int LA40_0 = input.LA(1);
if ( (LA40_0==50) ) {
int LA40_1 = input.LA(2);
if ( (LA40_1==EOF||(LA40_1>=RULE_ID && LA40_1<=RULE_DECIMAL)||LA40_1==14||LA40_1==33||LA40_1==37||(LA40_1>=41 && LA40_1<=42)||LA40_1==49||(LA40_1>=65 && LA40_1<=66)||LA40_1==70||LA40_1==78||LA40_1==80||(LA40_1>=84 && LA40_1<=86)||(LA40_1>=89 && LA40_1<=100)||LA40_1==102) ) {
alt40=2;
}
else if ( (LA40_1==50) && (synpred15_InternalActionDSL())) {
alt40=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 40, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 40, 0, input);
throw nvae;
}
switch (alt40) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2556:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2556:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2556:3: ( ( '>' '>' ) )=> (kw= '>' kw= '>' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2560:5: (kw= '>' kw= '>' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2561:2: kw= '>' kw= '>'
{
kw=(Token)match(input,50,FOLLOW_50_in_ruleOpOther6250); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_0());
}
kw=(Token)match(input,50,FOLLOW_50_in_ruleOpOther6263); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_1());
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2574:2: kw= '>'
{
kw=(Token)match(input,50,FOLLOW_50_in_ruleOpOther6284); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1());
}
}
break;
}
}
}
break;
case 7 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2580:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2580:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2581:2: kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
{
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpOther6306); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2586:1: ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
int alt41=3;
int LA41_0 = input.LA(1);
if ( (LA41_0==49) ) {
int LA41_1 = input.LA(2);
if ( (synpred16_InternalActionDSL()) ) {
alt41=1;
}
else if ( (true) ) {
alt41=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 41, 1, input);
throw nvae;
}
}
else if ( (LA41_0==62) ) {
alt41=3;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 41, 0, input);
throw nvae;
}
switch (alt41) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2586:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2586:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2586:3: ( ( '<' '<' ) )=> (kw= '<' kw= '<' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2590:5: (kw= '<' kw= '<' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2591:2: kw= '<' kw= '<'
{
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpOther6337); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_0());
}
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpOther6350); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1());
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2604:2: kw= '<'
{
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpOther6371); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2611:2: kw= '=>'
{
kw=(Token)match(input,62,FOLLOW_62_in_ruleOpOther6390); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2());
}
}
break;
}
}
}
break;
case 8 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2618:2: kw= '<>'
{
kw=(Token)match(input,63,FOLLOW_63_in_ruleOpOther6411); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7());
}
}
break;
case 9 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2625:2: kw= '?:'
{
kw=(Token)match(input,64,FOLLOW_64_in_ruleOpOther6430); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpOther"
// $ANTLR start "entryRuleXAdditiveExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2638:1: entryRuleXAdditiveExpression returns [EObject current=null] : iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF ;
public final EObject entryRuleXAdditiveExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAdditiveExpression = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2639:2: (iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2640:2: iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionRule());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_entryRuleXAdditiveExpression6470);
iv_ruleXAdditiveExpression=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAdditiveExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAdditiveExpression6480); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAdditiveExpression"
// $ANTLR start "ruleXAdditiveExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2647:1: ruleXAdditiveExpression returns [EObject current=null] : (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) ;
public final EObject ruleXAdditiveExpression() throws RecognitionException {
EObject current = null;
EObject this_XMultiplicativeExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2650:28: ( (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2651:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2651:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2652:5: this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getXMultiplicativeExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression6527);
this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMultiplicativeExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2660:1: ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )*
loop43:
do {
int alt43=2;
int LA43_0 = input.LA(1);
if ( (LA43_0==65) ) {
int LA43_2 = input.LA(2);
if ( (synpred17_InternalActionDSL()) ) {
alt43=1;
}
}
else if ( (LA43_0==66) ) {
int LA43_3 = input.LA(2);
if ( (synpred17_InternalActionDSL()) ) {
alt43=1;
}
}
switch (alt43) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2660:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2660:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2660:3: ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2665:6: ( () ( ( ruleOpAdd ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2665:7: () ( ( ruleOpAdd ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2665:7: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2666:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2671:2: ( ( ruleOpAdd ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2672:1: ( ruleOpAdd )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2672:1: ( ruleOpAdd )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2673:3: ruleOpAdd
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAdditiveExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpAdd_in_ruleXAdditiveExpression6580);
ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2686:4: ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2687:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2687:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2688:3: lv_rightOperand_3_0= ruleXMultiplicativeExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression6603);
lv_rightOperand_3_0=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAdditiveExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XMultiplicativeExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop43;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAdditiveExpression"
// $ANTLR start "entryRuleOpAdd"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2712:1: entryRuleOpAdd returns [String current=null] : iv_ruleOpAdd= ruleOpAdd EOF ;
public final String entryRuleOpAdd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAdd = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2713:2: (iv_ruleOpAdd= ruleOpAdd EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2714:2: iv_ruleOpAdd= ruleOpAdd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAddRule());
}
pushFollow(FOLLOW_ruleOpAdd_in_entryRuleOpAdd6642);
iv_ruleOpAdd=ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAdd.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpAdd6653); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAdd"
// $ANTLR start "ruleOpAdd"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2721:1: ruleOpAdd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+' | kw= '-' ) ;
public final AntlrDatatypeRuleToken ruleOpAdd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2724:28: ( (kw= '+' | kw= '-' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2725:1: (kw= '+' | kw= '-' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2725:1: (kw= '+' | kw= '-' )
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==65) ) {
alt44=1;
}
else if ( (LA44_0==66) ) {
alt44=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 44, 0, input);
throw nvae;
}
switch (alt44) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2726:2: kw= '+'
{
kw=(Token)match(input,65,FOLLOW_65_in_ruleOpAdd6691); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2733:2: kw= '-'
{
kw=(Token)match(input,66,FOLLOW_66_in_ruleOpAdd6710); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpAdd"
// $ANTLR start "entryRuleXMultiplicativeExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2746:1: entryRuleXMultiplicativeExpression returns [EObject current=null] : iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF ;
public final EObject entryRuleXMultiplicativeExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXMultiplicativeExpression = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2747:2: (iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2748:2: iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule());
}
pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_entryRuleXMultiplicativeExpression6750);
iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMultiplicativeExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXMultiplicativeExpression6760); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMultiplicativeExpression"
// $ANTLR start "ruleXMultiplicativeExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2755:1: ruleXMultiplicativeExpression returns [EObject current=null] : (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) ;
public final EObject ruleXMultiplicativeExpression() throws RecognitionException {
EObject current = null;
EObject this_XUnaryOperation_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2758:28: ( (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2759:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2759:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2760:5: this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getXUnaryOperationParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression6807);
this_XUnaryOperation_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XUnaryOperation_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2768:1: ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )*
loop45:
do {
int alt45=2;
switch ( input.LA(1) ) {
case 35:
{
int LA45_2 = input.LA(2);
if ( (synpred18_InternalActionDSL()) ) {
alt45=1;
}
}
break;
case 67:
{
int LA45_3 = input.LA(2);
if ( (synpred18_InternalActionDSL()) ) {
alt45=1;
}
}
break;
case 68:
{
int LA45_4 = input.LA(2);
if ( (synpred18_InternalActionDSL()) ) {
alt45=1;
}
}
break;
case 69:
{
int LA45_5 = input.LA(2);
if ( (synpred18_InternalActionDSL()) ) {
alt45=1;
}
}
break;
}
switch (alt45) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2768:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2768:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2768:3: ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2773:6: ( () ( ( ruleOpMulti ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2773:7: () ( ( ruleOpMulti ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2773:7: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2774:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2779:2: ( ( ruleOpMulti ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2780:1: ( ruleOpMulti )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2780:1: ( ruleOpMulti )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2781:3: ruleOpMulti
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMultiplicativeExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpMulti_in_ruleXMultiplicativeExpression6860);
ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2794:4: ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2795:1: (lv_rightOperand_3_0= ruleXUnaryOperation )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2795:1: (lv_rightOperand_3_0= ruleXUnaryOperation )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2796:3: lv_rightOperand_3_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression6883);
lv_rightOperand_3_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMultiplicativeExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XUnaryOperation");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop45;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMultiplicativeExpression"
// $ANTLR start "entryRuleOpMulti"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2820:1: entryRuleOpMulti returns [String current=null] : iv_ruleOpMulti= ruleOpMulti EOF ;
public final String entryRuleOpMulti() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpMulti = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2821:2: (iv_ruleOpMulti= ruleOpMulti EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2822:2: iv_ruleOpMulti= ruleOpMulti EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiRule());
}
pushFollow(FOLLOW_ruleOpMulti_in_entryRuleOpMulti6922);
iv_ruleOpMulti=ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMulti.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpMulti6933); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMulti"
// $ANTLR start "ruleOpMulti"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2829:1: ruleOpMulti returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) ;
public final AntlrDatatypeRuleToken ruleOpMulti() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2832:28: ( (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2833:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2833:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
int alt46=4;
switch ( input.LA(1) ) {
case 35:
{
alt46=1;
}
break;
case 67:
{
alt46=2;
}
break;
case 68:
{
alt46=3;
}
break;
case 69:
{
alt46=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 46, 0, input);
throw nvae;
}
switch (alt46) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2834:2: kw= '*'
{
kw=(Token)match(input,35,FOLLOW_35_in_ruleOpMulti6971); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2841:2: kw= '**'
{
kw=(Token)match(input,67,FOLLOW_67_in_ruleOpMulti6990); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2848:2: kw= '/'
{
kw=(Token)match(input,68,FOLLOW_68_in_ruleOpMulti7009); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2855:2: kw= '%'
{
kw=(Token)match(input,69,FOLLOW_69_in_ruleOpMulti7028); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getPercentSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpMulti"
// $ANTLR start "entryRuleXUnaryOperation"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2868:1: entryRuleXUnaryOperation returns [EObject current=null] : iv_ruleXUnaryOperation= ruleXUnaryOperation EOF ;
public final EObject entryRuleXUnaryOperation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXUnaryOperation = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2869:2: (iv_ruleXUnaryOperation= ruleXUnaryOperation EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2870:2: iv_ruleXUnaryOperation= ruleXUnaryOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationRule());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_entryRuleXUnaryOperation7068);
iv_ruleXUnaryOperation=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXUnaryOperation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXUnaryOperation7078); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXUnaryOperation"
// $ANTLR start "ruleXUnaryOperation"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2877:1: ruleXUnaryOperation returns [EObject current=null] : ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) ;
public final EObject ruleXUnaryOperation() throws RecognitionException {
EObject current = null;
EObject lv_operand_2_0 = null;
EObject this_XCastedExpression_3 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2880:28: ( ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2881:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2881:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
int alt47=2;
int LA47_0 = input.LA(1);
if ( ((LA47_0>=65 && LA47_0<=66)||LA47_0==70) ) {
alt47=1;
}
else if ( ((LA47_0>=RULE_ID && LA47_0<=RULE_DECIMAL)||LA47_0==14||LA47_0==33||LA47_0==37||(LA47_0>=41 && LA47_0<=42)||LA47_0==49||LA47_0==78||LA47_0==80||(LA47_0>=84 && LA47_0<=86)||(LA47_0>=89 && LA47_0<=100)||LA47_0==102) ) {
alt47=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 47, 0, input);
throw nvae;
}
switch (alt47) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2881:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2881:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2881:3: () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2881:3: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2882:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2887:2: ( ( ruleOpUnary ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2888:1: ( ruleOpUnary )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2888:1: ( ruleOpUnary )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2889:3: ruleOpUnary
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXUnaryOperationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0());
}
pushFollow(FOLLOW_ruleOpUnary_in_ruleXUnaryOperation7136);
ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2902:2: ( (lv_operand_2_0= ruleXUnaryOperation ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2903:1: (lv_operand_2_0= ruleXUnaryOperation )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2903:1: (lv_operand_2_0= ruleXUnaryOperation )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2904:3: lv_operand_2_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXUnaryOperationParserRuleCall_0_2_0());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXUnaryOperation7157);
lv_operand_2_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXUnaryOperationRule());
}
set(
current,
"operand",
lv_operand_2_0,
"XUnaryOperation");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2922:5: this_XCastedExpression_3= ruleXCastedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXCastedExpression_in_ruleXUnaryOperation7186);
this_XCastedExpression_3=ruleXCastedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XCastedExpression_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXUnaryOperation"
// $ANTLR start "entryRuleOpUnary"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2938:1: entryRuleOpUnary returns [String current=null] : iv_ruleOpUnary= ruleOpUnary EOF ;
public final String entryRuleOpUnary() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpUnary = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2939:2: (iv_ruleOpUnary= ruleOpUnary EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2940:2: iv_ruleOpUnary= ruleOpUnary EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpUnaryRule());
}
pushFollow(FOLLOW_ruleOpUnary_in_entryRuleOpUnary7222);
iv_ruleOpUnary=ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpUnary.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpUnary7233); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpUnary"
// $ANTLR start "ruleOpUnary"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2947:1: ruleOpUnary returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '!' | kw= '-' | kw= '+' ) ;
public final AntlrDatatypeRuleToken ruleOpUnary() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2950:28: ( (kw= '!' | kw= '-' | kw= '+' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2951:1: (kw= '!' | kw= '-' | kw= '+' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2951:1: (kw= '!' | kw= '-' | kw= '+' )
int alt48=3;
switch ( input.LA(1) ) {
case 70:
{
alt48=1;
}
break;
case 66:
{
alt48=2;
}
break;
case 65:
{
alt48=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 48, 0, input);
throw nvae;
}
switch (alt48) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2952:2: kw= '!'
{
kw=(Token)match(input,70,FOLLOW_70_in_ruleOpUnary7271); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2959:2: kw= '-'
{
kw=(Token)match(input,66,FOLLOW_66_in_ruleOpUnary7290); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2966:2: kw= '+'
{
kw=(Token)match(input,65,FOLLOW_65_in_ruleOpUnary7309); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpUnary"
// $ANTLR start "entryRuleXCastedExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2979:1: entryRuleXCastedExpression returns [EObject current=null] : iv_ruleXCastedExpression= ruleXCastedExpression EOF ;
public final EObject entryRuleXCastedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCastedExpression = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2980:2: (iv_ruleXCastedExpression= ruleXCastedExpression EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2981:2: iv_ruleXCastedExpression= ruleXCastedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionRule());
}
pushFollow(FOLLOW_ruleXCastedExpression_in_entryRuleXCastedExpression7349);
iv_ruleXCastedExpression=ruleXCastedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCastedExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXCastedExpression7359); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCastedExpression"
// $ANTLR start "ruleXCastedExpression"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2988:1: ruleXCastedExpression returns [EObject current=null] : (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) ;
public final EObject ruleXCastedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_XPostfixOperation_0 = null;
EObject lv_type_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2991:28: ( (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2992:1: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2992:1: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:2993:5: this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getXPostfixOperationParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXPostfixOperation_in_ruleXCastedExpression7406);
this_XPostfixOperation_0=ruleXPostfixOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPostfixOperation_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3001:1: ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
loop49:
do {
int alt49=2;
int LA49_0 = input.LA(1);
if ( (LA49_0==71) ) {
int LA49_2 = input.LA(2);
if ( (synpred19_InternalActionDSL()) ) {
alt49=1;
}
}
switch (alt49) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3001:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3001:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3001:3: ( ( () 'as' ) )=> ( () otherlv_2= 'as' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3003:5: ( () otherlv_2= 'as' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3003:6: () otherlv_2= 'as'
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3003:6: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3004:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,71,FOLLOW_71_in_ruleXCastedExpression7441); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1());
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3013:3: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3014:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3014:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3015:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXCastedExpression7464);
lv_type_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCastedExpressionRule());
}
set(
current,
"type",
lv_type_3_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop49;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCastedExpression"
// $ANTLR start "entryRuleXPostfixOperation"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3039:1: entryRuleXPostfixOperation returns [EObject current=null] : iv_ruleXPostfixOperation= ruleXPostfixOperation EOF ;
public final EObject entryRuleXPostfixOperation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXPostfixOperation = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3040:2: (iv_ruleXPostfixOperation= ruleXPostfixOperation EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3041:2: iv_ruleXPostfixOperation= ruleXPostfixOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationRule());
}
pushFollow(FOLLOW_ruleXPostfixOperation_in_entryRuleXPostfixOperation7502);
iv_ruleXPostfixOperation=ruleXPostfixOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXPostfixOperation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXPostfixOperation7512); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXPostfixOperation"
// $ANTLR start "ruleXPostfixOperation"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3048:1: ruleXPostfixOperation returns [EObject current=null] : (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) ;
public final EObject ruleXPostfixOperation() throws RecognitionException {
EObject current = null;
EObject this_XMemberFeatureCall_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3051:28: ( (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3052:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3052:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3053:5: this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXMemberFeatureCall_in_ruleXPostfixOperation7559);
this_XMemberFeatureCall_0=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMemberFeatureCall_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3061:1: ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )?
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==72) ) {
int LA50_1 = input.LA(2);
if ( (synpred20_InternalActionDSL()) ) {
alt50=1;
}
}
else if ( (LA50_0==73) ) {
int LA50_2 = input.LA(2);
if ( (synpred20_InternalActionDSL()) ) {
alt50=1;
}
}
switch (alt50) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3061:2: ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3066:6: ( () ( ( ruleOpPostfix ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3066:7: () ( ( ruleOpPostfix ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3066:7: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3067:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3072:2: ( ( ruleOpPostfix ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3073:1: ( ruleOpPostfix )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3073:1: ( ruleOpPostfix )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3074:3: ruleOpPostfix
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXPostfixOperationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_1_0());
}
pushFollow(FOLLOW_ruleOpPostfix_in_ruleXPostfixOperation7611);
ruleOpPostfix();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXPostfixOperation"
// $ANTLR start "entryRuleOpPostfix"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3095:1: entryRuleOpPostfix returns [String current=null] : iv_ruleOpPostfix= ruleOpPostfix EOF ;
public final String entryRuleOpPostfix() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpPostfix = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3096:2: (iv_ruleOpPostfix= ruleOpPostfix EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3097:2: iv_ruleOpPostfix= ruleOpPostfix EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpPostfixRule());
}
pushFollow(FOLLOW_ruleOpPostfix_in_entryRuleOpPostfix7651);
iv_ruleOpPostfix=ruleOpPostfix();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpPostfix.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpPostfix7662); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpPostfix"
// $ANTLR start "ruleOpPostfix"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3104:1: ruleOpPostfix returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '++' | kw= '--' ) ;
public final AntlrDatatypeRuleToken ruleOpPostfix() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3107:28: ( (kw= '++' | kw= '--' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3108:1: (kw= '++' | kw= '--' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3108:1: (kw= '++' | kw= '--' )
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==72) ) {
alt51=1;
}
else if ( (LA51_0==73) ) {
alt51=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 51, 0, input);
throw nvae;
}
switch (alt51) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3109:2: kw= '++'
{
kw=(Token)match(input,72,FOLLOW_72_in_ruleOpPostfix7700); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3116:2: kw= '--'
{
kw=(Token)match(input,73,FOLLOW_73_in_ruleOpPostfix7719); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpPostfix"
// $ANTLR start "entryRuleXMemberFeatureCall"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3129:1: entryRuleXMemberFeatureCall returns [EObject current=null] : iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF ;
public final EObject entryRuleXMemberFeatureCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleXMemberFeatureCall = null;
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3130:2: (iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3131:2: iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallRule());
}
pushFollow(FOLLOW_ruleXMemberFeatureCall_in_entryRuleXMemberFeatureCall7759);
iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMemberFeatureCall;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXMemberFeatureCall7769); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMemberFeatureCall"
// $ANTLR start "ruleXMemberFeatureCall"
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3138:1: ruleXMemberFeatureCall returns [EObject current=null] : (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) ;
public final EObject ruleXMemberFeatureCall() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token lv_explicitStatic_3_0=null;
Token otherlv_8=null;
Token lv_nullSafe_9_0=null;
Token lv_explicitStatic_10_0=null;
Token otherlv_11=null;
Token otherlv_13=null;
Token otherlv_15=null;
Token lv_explicitOperationCall_17_0=null;
Token otherlv_20=null;
Token otherlv_22=null;
EObject this_XPrimaryExpression_0 = null;
EObject lv_value_6_0 = null;
EObject lv_typeArguments_12_0 = null;
EObject lv_typeArguments_14_0 = null;
EObject lv_memberCallArguments_18_0 = null;
EObject lv_memberCallArguments_19_0 = null;
EObject lv_memberCallArguments_21_0 = null;
EObject lv_memberCallArguments_23_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3141:28: ( (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3142:1: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3142:1: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3143:5: this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXPrimaryExpression_in_ruleXMemberFeatureCall7816);
this_XPrimaryExpression_0=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPrimaryExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3151:1: ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )*
loop60:
do {
int alt60=3;
switch ( input.LA(1) ) {
case 34:
{
int LA60_2 = input.LA(2);
if ( (synpred21_InternalActionDSL()) ) {
alt60=1;
}
else if ( (synpred22_InternalActionDSL()) ) {
alt60=2;
}
}
break;
case 74:
{
int LA60_3 = input.LA(2);
if ( (synpred21_InternalActionDSL()) ) {
alt60=1;
}
else if ( (synpred22_InternalActionDSL()) ) {
alt60=2;
}
}
break;
case 75:
{
int LA60_4 = input.LA(2);
if ( (synpred22_InternalActionDSL()) ) {
alt60=2;
}
}
break;
}
switch (alt60) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3151:2: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3151:2: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3151:3: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3151:3: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3151:4: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3164:25: ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3164:26: () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3164:26: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3165:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3170:2: (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) )
int alt52=2;
int LA52_0 = input.LA(1);
if ( (LA52_0==34) ) {
alt52=1;
}
else if ( (LA52_0==74) ) {
alt52=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 52, 0, input);
throw nvae;
}
switch (alt52) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3170:4: otherlv_2= '.'
{
otherlv_2=(Token)match(input,34,FOLLOW_34_in_ruleXMemberFeatureCall7888); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3175:6: ( (lv_explicitStatic_3_0= '::' ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3175:6: ( (lv_explicitStatic_3_0= '::' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3176:1: (lv_explicitStatic_3_0= '::' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3176:1: (lv_explicitStatic_3_0= '::' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3177:3: lv_explicitStatic_3_0= '::'
{
lv_explicitStatic_3_0=(Token)match(input,74,FOLLOW_74_in_ruleXMemberFeatureCall7912); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitStatic_3_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_0_0_0_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitStatic", true, "::");
}
}
}
}
break;
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3190:3: ( ( ruleFeatureCallID ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3191:1: ( ruleFeatureCallID )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3191:1: ( ruleFeatureCallID )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3192:3: ruleFeatureCallID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_0_2_0());
}
pushFollow(FOLLOW_ruleFeatureCallID_in_ruleXMemberFeatureCall7949);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getOpSingleAssignParserRuleCall_1_0_0_0_3());
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_ruleXMemberFeatureCall7965);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3213:3: ( (lv_value_6_0= ruleXAssignment ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3214:1: (lv_value_6_0= ruleXAssignment )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3214:1: (lv_value_6_0= ruleXAssignment )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3215:3: lv_value_6_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXMemberFeatureCall7987);
lv_value_6_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
set(
current,
"value",
lv_value_6_0,
"XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3232:6: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3232:6: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3232:7: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3232:7: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3232:8: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3248:7: ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3248:8: () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3248:8: ()
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3249:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3254:2: (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) )
int alt53=3;
switch ( input.LA(1) ) {
case 34:
{
alt53=1;
}
break;
case 75:
{
alt53=2;
}
break;
case 74:
{
alt53=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 53, 0, input);
throw nvae;
}
switch (alt53) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3254:4: otherlv_8= '.'
{
otherlv_8=(Token)match(input,34,FOLLOW_34_in_ruleXMemberFeatureCall8073); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3259:6: ( (lv_nullSafe_9_0= '?.' ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3259:6: ( (lv_nullSafe_9_0= '?.' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3260:1: (lv_nullSafe_9_0= '?.' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3260:1: (lv_nullSafe_9_0= '?.' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3261:3: lv_nullSafe_9_0= '?.'
{
lv_nullSafe_9_0=(Token)match(input,75,FOLLOW_75_in_ruleXMemberFeatureCall8097); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_nullSafe_9_0, grammarAccess.getXMemberFeatureCallAccess().getNullSafeQuestionMarkFullStopKeyword_1_1_0_0_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "nullSafe", true, "?.");
}
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3275:6: ( (lv_explicitStatic_10_0= '::' ) )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3275:6: ( (lv_explicitStatic_10_0= '::' ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3276:1: (lv_explicitStatic_10_0= '::' )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3276:1: (lv_explicitStatic_10_0= '::' )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3277:3: lv_explicitStatic_10_0= '::'
{
lv_explicitStatic_10_0=(Token)match(input,74,FOLLOW_74_in_ruleXMemberFeatureCall8134); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitStatic_10_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_1_0_0_1_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitStatic", true, "::");
}
}
}
}
break;
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3290:5: (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )?
int alt55=2;
int LA55_0 = input.LA(1);
if ( (LA55_0==49) ) {
alt55=1;
}
switch (alt55) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3290:7: otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>'
{
otherlv_11=(Token)match(input,49,FOLLOW_49_in_ruleXMemberFeatureCall8163); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0());
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3294:1: ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3295:1: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference )
{
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3295:1: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference )
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3296:3: lv_typeArguments_12_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall8184);
lv_typeArguments_12_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_12_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3312:2: (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )*
loop54:
do {
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==38) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// ../org.eclipse.osbp.xtext.action/src-gen/org/eclipse/osbp/xtext/action/parser/antlr/internal/InternalActionDSL.g:3312:4: otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) )
{
otherlv_13=(Token)match(input,38,FOLLOW_38_in_ruleXMemberFeatureCall8197); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0());
}