| /****************************************************************************** |
| * * |
| * 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 * |
| * * |
| *============================================================================* |
| * Initial contribution: * |
| * Loetz GmbH & Co. KG * |
| * * |
| * based on mwe2 * |
| ******************************************************************************/ |
| package org.eclipse.osbp.xtext.dialogdsl.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.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.dialogdsl.services.DialogDslGrammarAccess; |
| |
| |
| |
| 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 InternalDialogDslParser 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'", "'{'", "'}'", "'import'", "'dialog'", "'described by'", "'view'", "'autobinding'", "'embedded'", "'pure'", "'stateful'", "'toolbar'", "'.'", "'*'", "'@'", "'('", "','", "')'", "'='", "'#'", "'['", "']'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'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'", "'?'", "'&'" |
| }; |
| 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 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__68=68; |
| public static final int T__69=69; |
| public static final int T__62=62; |
| public static final int T__63=63; |
| public static final int T__64=64; |
| public static final int T__65=65; |
| 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__92=92; |
| public static final int T__93=93; |
| public static final int T__94=94; |
| 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__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 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__70=70; |
| public static final int T__71=71; |
| public static final int T__72=72; |
| 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__78=78; |
| public static final int T__79=79; |
| public static final int T__73=73; |
| public static final int EOF=-1; |
| public static final int T__74=74; |
| public static final int T__75=75; |
| public static final int T__76=76; |
| public static final int T__80=80; |
| public static final int T__81=81; |
| public static final int T__82=82; |
| public static final int T__83=83; |
| 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__89=89; |
| public static final int T__84=84; |
| public static final int T__85=85; |
| public static final int T__86=86; |
| public static final int T__87=87; |
| |
| // delegates |
| // delegators |
| |
| |
| public InternalDialogDslParser(TokenStream input) { |
| this(input, new RecognizerSharedState()); |
| } |
| public InternalDialogDslParser(TokenStream input, RecognizerSharedState state) { |
| super(input, state); |
| |
| } |
| |
| |
| public String[] getTokenNames() { return InternalDialogDslParser.tokenNames; } |
| public String getGrammarFileName() { return "../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g"; } |
| |
| |
| |
| private DialogDslGrammarAccess grammarAccess; |
| |
| public InternalDialogDslParser(TokenStream input, DialogDslGrammarAccess grammarAccess) { |
| this(input); |
| this.grammarAccess = grammarAccess; |
| registerRules(grammarAccess.getGrammar()); |
| } |
| |
| @Override |
| protected String getFirstRuleName() { |
| return "DialogModel"; |
| } |
| |
| @Override |
| protected DialogDslGrammarAccess getGrammarAccess() { |
| return grammarAccess; |
| } |
| |
| |
| |
| // $ANTLR start "entryRuleDialogModel" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:67:1: entryRuleDialogModel returns [EObject current=null] : iv_ruleDialogModel= ruleDialogModel EOF ; |
| public final EObject entryRuleDialogModel() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDialogModel = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:68:2: (iv_ruleDialogModel= ruleDialogModel EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:69:2: iv_ruleDialogModel= ruleDialogModel EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDialogModelRule()); |
| } |
| pushFollow(FOLLOW_ruleDialogModel_in_entryRuleDialogModel75); |
| iv_ruleDialogModel=ruleDialogModel(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDialogModel; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDialogModel85); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDialogModel" |
| |
| |
| // $ANTLR start "ruleDialogModel" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:76:1: ruleDialogModel returns [EObject current=null] : ( () ( (lv_pckg_1_0= ruleDialogPackage ) ) ) ; |
| public final EObject ruleDialogModel() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_pckg_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:79:28: ( ( () ( (lv_pckg_1_0= ruleDialogPackage ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:80:1: ( () ( (lv_pckg_1_0= ruleDialogPackage ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:80:1: ( () ( (lv_pckg_1_0= ruleDialogPackage ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:80:2: () ( (lv_pckg_1_0= ruleDialogPackage ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:80:2: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:81:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDialogModelAccess().getDialogModelAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:86:2: ( (lv_pckg_1_0= ruleDialogPackage ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:87:1: (lv_pckg_1_0= ruleDialogPackage ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:87:1: (lv_pckg_1_0= ruleDialogPackage ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:88:3: lv_pckg_1_0= ruleDialogPackage |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDialogModelAccess().getPckgDialogPackageParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDialogPackage_in_ruleDialogModel140); |
| lv_pckg_1_0=ruleDialogPackage(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDialogModelRule()); |
| } |
| set( |
| current, |
| "pckg", |
| lv_pckg_1_0, |
| "DialogPackage"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDialogModel" |
| |
| |
| // $ANTLR start "entryRuleDialogPackage" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:112:1: entryRuleDialogPackage returns [EObject current=null] : iv_ruleDialogPackage= ruleDialogPackage EOF ; |
| public final EObject entryRuleDialogPackage() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDialogPackage = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:113:2: (iv_ruleDialogPackage= ruleDialogPackage EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:114:2: iv_ruleDialogPackage= ruleDialogPackage EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDialogPackageRule()); |
| } |
| pushFollow(FOLLOW_ruleDialogPackage_in_entryRuleDialogPackage176); |
| iv_ruleDialogPackage=ruleDialogPackage(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDialogPackage; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDialogPackage186); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDialogPackage" |
| |
| |
| // $ANTLR start "ruleDialogPackage" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:121:1: ruleDialogPackage returns [EObject current=null] : (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? ) ; |
| public final EObject ruleDialogPackage() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_5=null; |
| AntlrDatatypeRuleToken lv_name_1_0 = null; |
| |
| EObject lv_imports_3_0 = null; |
| |
| EObject lv_dialogs_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:124:28: ( (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:125:1: (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:125:1: (otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:125:3: otherlv_0= 'package' ( (lv_name_1_0= ruleQualifiedName ) ) (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? |
| { |
| otherlv_0=(Token)match(input,13,FOLLOW_13_in_ruleDialogPackage223); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getDialogPackageAccess().getPackageKeyword_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:129:1: ( (lv_name_1_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:130:1: (lv_name_1_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:130:1: (lv_name_1_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:131:3: lv_name_1_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDialogPackageAccess().getNameQualifiedNameParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleQualifiedName_in_ruleDialogPackage244); |
| lv_name_1_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDialogPackageRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_1_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:147:2: (otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' )? |
| int alt3=2; |
| int LA3_0 = input.LA(1); |
| |
| if ( (LA3_0==14) ) { |
| alt3=1; |
| } |
| switch (alt3) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:147:4: otherlv_2= '{' ( (lv_imports_3_0= ruleDialogImport ) )* ( (lv_dialogs_4_0= ruleDialog ) )* otherlv_5= '}' |
| { |
| otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleDialogPackage257); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDialogPackageAccess().getLeftCurlyBracketKeyword_2_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:151:1: ( (lv_imports_3_0= ruleDialogImport ) )* |
| loop1: |
| do { |
| int alt1=2; |
| int LA1_0 = input.LA(1); |
| |
| if ( (LA1_0==16) ) { |
| alt1=1; |
| } |
| |
| |
| switch (alt1) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:152:1: (lv_imports_3_0= ruleDialogImport ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:152:1: (lv_imports_3_0= ruleDialogImport ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:153:3: lv_imports_3_0= ruleDialogImport |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDialogPackageAccess().getImportsDialogImportParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDialogImport_in_ruleDialogPackage278); |
| lv_imports_3_0=ruleDialogImport(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDialogPackageRule()); |
| } |
| add( |
| current, |
| "imports", |
| lv_imports_3_0, |
| "DialogImport"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop1; |
| } |
| } while (true); |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:169:3: ( (lv_dialogs_4_0= ruleDialog ) )* |
| loop2: |
| do { |
| int alt2=2; |
| int LA2_0 = input.LA(1); |
| |
| if ( (LA2_0==17) ) { |
| alt2=1; |
| } |
| |
| |
| switch (alt2) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:170:1: (lv_dialogs_4_0= ruleDialog ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:170:1: (lv_dialogs_4_0= ruleDialog ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:171:3: lv_dialogs_4_0= ruleDialog |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDialogPackageAccess().getDialogsDialogParserRuleCall_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDialog_in_ruleDialogPackage300); |
| lv_dialogs_4_0=ruleDialog(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDialogPackageRule()); |
| } |
| add( |
| current, |
| "dialogs", |
| lv_dialogs_4_0, |
| "Dialog"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop2; |
| } |
| } while (true); |
| |
| otherlv_5=(Token)match(input,15,FOLLOW_15_in_ruleDialogPackage313); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDialogPackageAccess().getRightCurlyBracketKeyword_2_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDialogPackage" |
| |
| |
| // $ANTLR start "entryRuleDialogImport" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:199:1: entryRuleDialogImport returns [EObject current=null] : iv_ruleDialogImport= ruleDialogImport EOF ; |
| public final EObject entryRuleDialogImport() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDialogImport = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:200:2: (iv_ruleDialogImport= ruleDialogImport EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:201:2: iv_ruleDialogImport= ruleDialogImport EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDialogImportRule()); |
| } |
| pushFollow(FOLLOW_ruleDialogImport_in_entryRuleDialogImport351); |
| iv_ruleDialogImport=ruleDialogImport(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDialogImport; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDialogImport361); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDialogImport" |
| |
| |
| // $ANTLR start "ruleDialogImport" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:208:1: ruleDialogImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) ) ; |
| public final EObject ruleDialogImport() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:211:28: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:212:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:212:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:212:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) |
| { |
| otherlv_0=(Token)match(input,16,FOLLOW_16_in_ruleDialogImport398); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getDialogImportAccess().getImportKeyword_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:216:1: ( (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:217:1: (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:217:1: (lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:218:3: lv_importedNamespace_1_0= ruleDialogQualifiedNameWithWildCard |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDialogImportAccess().getImportedNamespaceDialogQualifiedNameWithWildCardParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDialogQualifiedNameWithWildCard_in_ruleDialogImport419); |
| lv_importedNamespace_1_0=ruleDialogQualifiedNameWithWildCard(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDialogImportRule()); |
| } |
| set( |
| current, |
| "importedNamespace", |
| lv_importedNamespace_1_0, |
| "DialogQualifiedNameWithWildCard"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDialogImport" |
| |
| |
| // $ANTLR start "entryRuleDialog" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:242:1: entryRuleDialog returns [EObject current=null] : iv_ruleDialog= ruleDialog EOF ; |
| public final EObject entryRuleDialog() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDialog = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:243:2: (iv_ruleDialog= ruleDialog EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:244:2: iv_ruleDialog= ruleDialog EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDialogRule()); |
| } |
| pushFollow(FOLLOW_ruleDialog_in_entryRuleDialog455); |
| iv_ruleDialog=ruleDialog(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDialog; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDialog465); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDialog" |
| |
| |
| // $ANTLR start "ruleDialog" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:251:1: ruleDialog returns [EObject current=null] : ( () otherlv_1= 'dialog' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) ) ; |
| public final EObject ruleDialog() 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 lv_autowire_7_0=null; |
| Token lv_embedded_10_0=null; |
| Token lv_pure_11_0=null; |
| Token lv_stateful_12_0=null; |
| Token otherlv_13=null; |
| AntlrDatatypeRuleToken lv_descriptionValue_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:254:28: ( ( () otherlv_1= 'dialog' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:255:1: ( () otherlv_1= 'dialog' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:255:1: ( () otherlv_1= 'dialog' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:255:2: () otherlv_1= 'dialog' ( (lv_name_2_0= RULE_ID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:255:2: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:256:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDialogAccess().getDialogAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,17,FOLLOW_17_in_ruleDialog511); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDialogAccess().getDialogKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:265:1: ( (lv_name_2_0= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:266:1: (lv_name_2_0= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:266:1: (lv_name_2_0= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:267:3: lv_name_2_0= RULE_ID |
| { |
| lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDialog528); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_name_2_0, grammarAccess.getDialogAccess().getNameIDTerminalRuleCall_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDialogRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_2_0, |
| "ID"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:283:2: ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? |
| int alt4=2; |
| int LA4_0 = input.LA(1); |
| |
| if ( (LA4_0==18) ) { |
| alt4=1; |
| } |
| switch (alt4) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:283:3: ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:283:3: ( (lv_description_3_0= 'described by' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:284:1: (lv_description_3_0= 'described by' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:284:1: (lv_description_3_0= 'described by' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:285:3: lv_description_3_0= 'described by' |
| { |
| lv_description_3_0=(Token)match(input,18,FOLLOW_18_in_ruleDialog552); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_description_3_0, grammarAccess.getDialogAccess().getDescriptionDescribedByKeyword_3_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDialogRule()); |
| } |
| setWithLastConsumed(current, "description", true, "described by"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:298:2: ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:299:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:299:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:300:3: lv_descriptionValue_4_0= ruleTRANSLATABLESTRING |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDialogAccess().getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_ruleDialog586); |
| lv_descriptionValue_4_0=ruleTRANSLATABLESTRING(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDialogRule()); |
| } |
| set( |
| current, |
| "descriptionValue", |
| lv_descriptionValue_4_0, |
| "TRANSLATABLESTRING"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:316:4: ( (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) | ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) |
| int alt5=2; |
| int LA5_0 = input.LA(1); |
| |
| if ( (LA5_0==19) ) { |
| alt5=1; |
| } |
| else if ( (LA5_0==20) ) { |
| alt5=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 5, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt5) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:316:5: (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:316:5: (otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:316:7: otherlv_5= 'view' ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| { |
| otherlv_5=(Token)match(input,19,FOLLOW_19_in_ruleDialog602); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDialogAccess().getViewKeyword_4_0_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:320:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:321:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:321:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:322:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDialogRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDialogAccess().getUiViewUiViewCrossReference_4_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDialog625); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:336:6: ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:336:6: ( ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:336:7: ( (lv_autowire_7_0= 'autobinding' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:336:7: ( (lv_autowire_7_0= 'autobinding' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:337:1: (lv_autowire_7_0= 'autobinding' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:337:1: (lv_autowire_7_0= 'autobinding' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:338:3: lv_autowire_7_0= 'autobinding' |
| { |
| lv_autowire_7_0=(Token)match(input,20,FOLLOW_20_in_ruleDialog651); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_autowire_7_0, grammarAccess.getDialogAccess().getAutowireAutobindingKeyword_4_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDialogRule()); |
| } |
| setWithLastConsumed(current, "autowire", true, "autobinding"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:351:2: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:352:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:352:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:353:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDialogRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDialogAccess().getDtoLDtoCrossReference_4_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDialog687); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:366:4: ( ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:368:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:368:1: ( ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:369:2: ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDialogAccess().getUnorderedGroup_5()); |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:372:2: ( ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:373:3: ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:373:3: ( ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) )* |
| loop7: |
| do { |
| int alt7=4; |
| int LA7_0 = input.LA(1); |
| |
| if ( LA7_0 >=21 && LA7_0<=22 && getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 0) ) { |
| alt7=1; |
| } |
| else if ( LA7_0 ==23 && getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 1) ) { |
| alt7=2; |
| } |
| else if ( LA7_0 ==24 && getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 2) ) { |
| alt7=3; |
| } |
| |
| |
| switch (alt7) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:375:4: ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:375:4: ({...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:376:5: {...}? => ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDialog", "getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 0)"); |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:376:103: ( ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:377:6: ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 0); |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:380:6: ({...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:380:7: {...}? => ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDialog", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:380:16: ( ( (lv_embedded_10_0= 'embedded' ) ) | ( (lv_pure_11_0= 'pure' ) ) ) |
| int alt6=2; |
| int LA6_0 = input.LA(1); |
| |
| if ( (LA6_0==21) ) { |
| alt6=1; |
| } |
| else if ( (LA6_0==22) ) { |
| alt6=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 6, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt6) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:380:17: ( (lv_embedded_10_0= 'embedded' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:380:17: ( (lv_embedded_10_0= 'embedded' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:381:1: (lv_embedded_10_0= 'embedded' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:381:1: (lv_embedded_10_0= 'embedded' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:382:3: lv_embedded_10_0= 'embedded' |
| { |
| lv_embedded_10_0=(Token)match(input,21,FOLLOW_21_in_ruleDialog753); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_embedded_10_0, grammarAccess.getDialogAccess().getEmbeddedEmbeddedKeyword_5_0_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDialogRule()); |
| } |
| setWithLastConsumed(current, "embedded", true, "embedded"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:396:6: ( (lv_pure_11_0= 'pure' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:396:6: ( (lv_pure_11_0= 'pure' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:397:1: (lv_pure_11_0= 'pure' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:397:1: (lv_pure_11_0= 'pure' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:398:3: lv_pure_11_0= 'pure' |
| { |
| lv_pure_11_0=(Token)match(input,22,FOLLOW_22_in_ruleDialog790); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_pure_11_0, grammarAccess.getDialogAccess().getPurePureKeyword_5_0_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDialogRule()); |
| } |
| setWithLastConsumed(current, "pure", true, "pure"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDialogAccess().getUnorderedGroup_5()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:418:4: ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:418:4: ({...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:419:5: {...}? => ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDialog", "getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 1)"); |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:419:103: ( ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:420:6: ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 1); |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:423:6: ({...}? => ( (lv_stateful_12_0= 'stateful' ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:423:7: {...}? => ( (lv_stateful_12_0= 'stateful' ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDialog", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:423:16: ( (lv_stateful_12_0= 'stateful' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:424:1: (lv_stateful_12_0= 'stateful' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:424:1: (lv_stateful_12_0= 'stateful' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:425:3: lv_stateful_12_0= 'stateful' |
| { |
| lv_stateful_12_0=(Token)match(input,23,FOLLOW_23_in_ruleDialog876); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_stateful_12_0, grammarAccess.getDialogAccess().getStatefulStatefulKeyword_5_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDialogRule()); |
| } |
| setWithLastConsumed(current, "stateful", true, "stateful"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDialogAccess().getUnorderedGroup_5()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:445:4: ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:445:4: ({...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:446:5: {...}? => ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDialog", "getUnorderedGroupHelper().canSelect(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 2)"); |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:446:103: ( ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:447:6: ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDialogAccess().getUnorderedGroup_5(), 2); |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:450:6: ({...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:450:7: {...}? => (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDialog", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:450:16: (otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:450:18: otherlv_13= 'toolbar' ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| { |
| otherlv_13=(Token)match(input,24,FOLLOW_24_in_ruleDialog956); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDialogAccess().getToolbarKeyword_5_2_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:454:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:455:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:455:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:456:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDialogRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDialogAccess().getToolbarActionToolbarCrossReference_5_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDialog979); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDialogAccess().getUnorderedGroup_5()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop7; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDialogAccess().getUnorderedGroup_5()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDialog" |
| |
| |
| // $ANTLR start "entryRuleDialogQualifiedNameWithWildCard" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:491:1: entryRuleDialogQualifiedNameWithWildCard returns [String current=null] : iv_ruleDialogQualifiedNameWithWildCard= ruleDialogQualifiedNameWithWildCard EOF ; |
| public final String entryRuleDialogQualifiedNameWithWildCard() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleDialogQualifiedNameWithWildCard = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:492:2: (iv_ruleDialogQualifiedNameWithWildCard= ruleDialogQualifiedNameWithWildCard EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:493:2: iv_ruleDialogQualifiedNameWithWildCard= ruleDialogQualifiedNameWithWildCard EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDialogQualifiedNameWithWildCardRule()); |
| } |
| pushFollow(FOLLOW_ruleDialogQualifiedNameWithWildCard_in_entryRuleDialogQualifiedNameWithWildCard1057); |
| iv_ruleDialogQualifiedNameWithWildCard=ruleDialogQualifiedNameWithWildCard(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDialogQualifiedNameWithWildCard.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDialogQualifiedNameWithWildCard1068); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDialogQualifiedNameWithWildCard" |
| |
| |
| // $ANTLR start "ruleDialogQualifiedNameWithWildCard" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:500:1: ruleDialogQualifiedNameWithWildCard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ; |
| public final AntlrDatatypeRuleToken ruleDialogQualifiedNameWithWildCard() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| AntlrDatatypeRuleToken this_QualifiedName_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:503:28: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:504:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:504:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:505:5: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDialogQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleQualifiedName_in_ruleDialogQualifiedNameWithWildCard1115); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:515:1: (kw= '.' kw= '*' )? |
| int alt8=2; |
| int LA8_0 = input.LA(1); |
| |
| if ( (LA8_0==25) ) { |
| alt8=1; |
| } |
| switch (alt8) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:516:2: kw= '.' kw= '*' |
| { |
| kw=(Token)match(input,25,FOLLOW_25_in_ruleDialogQualifiedNameWithWildCard1134); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getDialogQualifiedNameWithWildCardAccess().getFullStopKeyword_1_0()); |
| |
| } |
| kw=(Token)match(input,26,FOLLOW_26_in_ruleDialogQualifiedNameWithWildCard1147); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getDialogQualifiedNameWithWildCardAccess().getAsteriskKeyword_1_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDialogQualifiedNameWithWildCard" |
| |
| |
| // $ANTLR start "entryRuleTRANSLATABLESTRING" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:535: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:536:2: (iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:537:2: iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTRANSLATABLESTRINGRule()); |
| } |
| pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_entryRuleTRANSLATABLESTRING1190); |
| iv_ruleTRANSLATABLESTRING=ruleTRANSLATABLESTRING(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTRANSLATABLESTRING.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleTRANSLATABLESTRING1201); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:544: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:547:28: (this_STRING_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:548:5: this_STRING_0= RULE_STRING |
| { |
| this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTRANSLATABLESTRING1240); 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 "entryRuleTYPE_CROSS_REFERENCE" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:563:1: entryRuleTYPE_CROSS_REFERENCE returns [String current=null] : iv_ruleTYPE_CROSS_REFERENCE= ruleTYPE_CROSS_REFERENCE EOF ; |
| public final String entryRuleTYPE_CROSS_REFERENCE() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleTYPE_CROSS_REFERENCE = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:564:2: (iv_ruleTYPE_CROSS_REFERENCE= ruleTYPE_CROSS_REFERENCE EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:565:2: iv_ruleTYPE_CROSS_REFERENCE= ruleTYPE_CROSS_REFERENCE EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTYPE_CROSS_REFERENCERule()); |
| } |
| pushFollow(FOLLOW_ruleTYPE_CROSS_REFERENCE_in_entryRuleTYPE_CROSS_REFERENCE1285); |
| iv_ruleTYPE_CROSS_REFERENCE=ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTYPE_CROSS_REFERENCE.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleTYPE_CROSS_REFERENCE1296); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTYPE_CROSS_REFERENCE" |
| |
| |
| // $ANTLR start "ruleTYPE_CROSS_REFERENCE" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:572:1: ruleTYPE_CROSS_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; |
| public final AntlrDatatypeRuleToken ruleTYPE_CROSS_REFERENCE() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_ID_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:575:28: (this_ID_0= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:576:5: this_ID_0= RULE_ID |
| { |
| this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTYPE_CROSS_REFERENCE1335); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ID_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_ID_0, grammarAccess.getTYPE_CROSS_REFERENCEAccess().getIDTerminalRuleCall()); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTYPE_CROSS_REFERENCE" |
| |
| |
| // $ANTLR start "entryRuleXAnnotation" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:591: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:592:2: (iv_ruleXAnnotation= ruleXAnnotation EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:593:2: iv_ruleXAnnotation= ruleXAnnotation EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationRule()); |
| } |
| pushFollow(FOLLOW_ruleXAnnotation_in_entryRuleXAnnotation1379); |
| iv_ruleXAnnotation=ruleXAnnotation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotation; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotation1389); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:600: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:603: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:604: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:604: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:604: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:604:2: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:605:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,27,FOLLOW_27_in_ruleXAnnotation1435); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:614:1: ( ( ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:615:1: ( ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:615:1: ( ruleQualifiedName ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:616: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_ruleXAnnotation1458); |
| ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:629: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 alt11=2; |
| int LA11_0 = input.LA(1); |
| |
| if ( (LA11_0==28) && (synpred1_InternalDialogDsl())) { |
| alt11=1; |
| } |
| switch (alt11) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:629: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:629:3: ( ( '(' )=>otherlv_3= '(' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:629:4: ( '(' )=>otherlv_3= '(' |
| { |
| otherlv_3=(Token)match(input,28,FOLLOW_28_in_ruleXAnnotation1479); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:2: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? |
| int alt10=3; |
| alt10 = dfa10.predict(input); |
| switch (alt10) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:3: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:3: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:4: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:4: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:634:5: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:640:1: (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:641:3: lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_ruleXAnnotation1523); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:657:2: (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* |
| loop9: |
| do { |
| int alt9=2; |
| int LA9_0 = input.LA(1); |
| |
| if ( (LA9_0==29) ) { |
| alt9=1; |
| } |
| |
| |
| switch (alt9) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:657:4: otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) |
| { |
| otherlv_5=(Token)match(input,29,FOLLOW_29_in_ruleXAnnotation1536); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:661:1: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:661:2: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:667:1: (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:668:3: lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_ruleXAnnotation1577); |
| 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 loop9; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:685:6: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:685:6: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:686:1: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:686:1: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:687:3: lv_value_7_0= ruleXAnnotationElementValueOrCommaList |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_ruleXAnnotation1607); |
| 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,30,FOLLOW_30_in_ruleXAnnotation1621); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:715: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:716:2: (iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:717:2: iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule()); |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_entryRuleXAnnotationElementValuePair1659); |
| iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationElementValuePair; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValuePair1669); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:724: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:727:28: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:728:1: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:728:1: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:728:2: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:728:2: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:728:3: ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:733:5: ( ( ( ruleValidID ) ) otherlv_1= '=' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:733:6: ( ( ruleValidID ) ) otherlv_1= '=' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:733:6: ( ( ruleValidID ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:734:1: ( ruleValidID ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:734:1: ( ruleValidID ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:735: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_ruleXAnnotationElementValuePair1739); |
| ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,31,FOLLOW_31_in_ruleXAnnotationElementValuePair1751); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:752:3: ( (lv_value_2_0= ruleXAnnotationElementValue ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:753:1: (lv_value_2_0= ruleXAnnotationElementValue ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:753:1: (lv_value_2_0= ruleXAnnotationElementValue ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:754:3: lv_value_2_0= ruleXAnnotationElementValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValue_in_ruleXAnnotationElementValuePair1774); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:778: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:779:2: (iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:780:2: iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule()); |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_entryRuleXAnnotationElementValueOrCommaList1810); |
| iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationElementValueOrCommaList; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValueOrCommaList1820); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:787: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:790: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791: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 alt16=2; |
| alt16 = dfa16.predict(input); |
| switch (alt16) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:791:4: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:794:5: ( () otherlv_1= '#' otherlv_2= '[' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:794:6: () otherlv_1= '#' otherlv_2= '[' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:794:6: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:795:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleXAnnotationElementValueOrCommaList1885); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1()); |
| |
| } |
| otherlv_2=(Token)match(input,33,FOLLOW_33_in_ruleXAnnotationElementValueOrCommaList1897); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:808:3: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? |
| int alt13=2; |
| int LA13_0 = input.LA(1); |
| |
| if ( ((LA13_0>=RULE_ID && LA13_0<=RULE_DECIMAL)||LA13_0==14||LA13_0==16||(LA13_0>=27 && LA13_0<=28)||(LA13_0>=32 && LA13_0<=33)||LA13_0==40||(LA13_0>=56 && LA13_0<=57)||LA13_0==61||LA13_0==69||LA13_0==71||(LA13_0>=75 && LA13_0<=77)||(LA13_0>=80 && LA13_0<=91)||LA13_0==93) ) { |
| alt13=1; |
| } |
| switch (alt13) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:808:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:808:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:809:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:809:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:810:3: lv_elements_3_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList1921); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:826:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| loop12: |
| do { |
| int alt12=2; |
| int LA12_0 = input.LA(1); |
| |
| if ( (LA12_0==29) ) { |
| alt12=1; |
| } |
| |
| |
| switch (alt12) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:826:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| { |
| otherlv_4=(Token)match(input,29,FOLLOW_29_in_ruleXAnnotationElementValueOrCommaList1934); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:830:1: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:831:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:831:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:832:3: lv_elements_5_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList1955); |
| 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 loop12; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,34,FOLLOW_34_in_ruleXAnnotationElementValueOrCommaList1971); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:853:6: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:853:6: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:854: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_ruleXAnnotationElementValueOrCommaList2001); |
| this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XAnnotationOrExpression_7; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:862:1: ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? |
| int alt15=2; |
| int LA15_0 = input.LA(1); |
| |
| if ( (LA15_0==29) ) { |
| alt15=1; |
| } |
| switch (alt15) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:862:2: () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:862:2: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:863:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndAdd( |
| grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:868:2: (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ |
| int cnt14=0; |
| loop14: |
| do { |
| int alt14=2; |
| int LA14_0 = input.LA(1); |
| |
| if ( (LA14_0==29) ) { |
| alt14=1; |
| } |
| |
| |
| switch (alt14) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:868:4: otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) |
| { |
| otherlv_9=(Token)match(input,29,FOLLOW_29_in_ruleXAnnotationElementValueOrCommaList2023); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:872:1: ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:873:1: (lv_elements_10_0= ruleXAnnotationOrExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:873:1: (lv_elements_10_0= ruleXAnnotationOrExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:874:3: lv_elements_10_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList2044); |
| 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 ( cnt14 >= 1 ) break loop14; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(14, input); |
| throw eee; |
| } |
| cnt14++; |
| } 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:898: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:899:2: (iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:900:2: iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueRule()); |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValue_in_entryRuleXAnnotationElementValue2085); |
| iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationElementValue; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValue2095); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:907: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:910: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) |
| int alt19=2; |
| alt19 = dfa19.predict(input); |
| switch (alt19) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:911:4: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:914:5: ( () otherlv_1= '#' otherlv_2= '[' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:914:6: () otherlv_1= '#' otherlv_2= '[' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:914:6: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:915:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleXAnnotationElementValue2160); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1()); |
| |
| } |
| otherlv_2=(Token)match(input,33,FOLLOW_33_in_ruleXAnnotationElementValue2172); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:928:3: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? |
| int alt18=2; |
| int LA18_0 = input.LA(1); |
| |
| if ( ((LA18_0>=RULE_ID && LA18_0<=RULE_DECIMAL)||LA18_0==14||LA18_0==16||(LA18_0>=27 && LA18_0<=28)||(LA18_0>=32 && LA18_0<=33)||LA18_0==40||(LA18_0>=56 && LA18_0<=57)||LA18_0==61||LA18_0==69||LA18_0==71||(LA18_0>=75 && LA18_0<=77)||(LA18_0>=80 && LA18_0<=91)||LA18_0==93) ) { |
| alt18=1; |
| } |
| switch (alt18) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:928:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:928:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:929:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:929:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:930:3: lv_elements_3_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue2196); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:946:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| loop17: |
| do { |
| int alt17=2; |
| int LA17_0 = input.LA(1); |
| |
| if ( (LA17_0==29) ) { |
| alt17=1; |
| } |
| |
| |
| switch (alt17) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:946:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| { |
| otherlv_4=(Token)match(input,29,FOLLOW_29_in_ruleXAnnotationElementValue2209); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:950:1: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:951:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:951:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:952:3: lv_elements_5_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue2230); |
| 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 loop17; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,34,FOLLOW_34_in_ruleXAnnotationElementValue2246); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:974:5: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue2275); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:990: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:991:2: (iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:992:2: iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_entryRuleXAnnotationOrExpression2310); |
| iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationOrExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationOrExpression2320); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:999: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1002:28: ( (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1003:1: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1003:1: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) |
| int alt20=2; |
| int LA20_0 = input.LA(1); |
| |
| if ( (LA20_0==27) ) { |
| alt20=1; |
| } |
| else if ( ((LA20_0>=RULE_ID && LA20_0<=RULE_DECIMAL)||LA20_0==14||LA20_0==16||LA20_0==28||(LA20_0>=32 && LA20_0<=33)||LA20_0==40||(LA20_0>=56 && LA20_0<=57)||LA20_0==61||LA20_0==69||LA20_0==71||(LA20_0>=75 && LA20_0<=77)||(LA20_0>=80 && LA20_0<=91)||LA20_0==93) ) { |
| alt20=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 20, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt20) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1004:5: this_XAnnotation_0= ruleXAnnotation |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotation_in_ruleXAnnotationOrExpression2367); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1014:5: this_XExpression_1= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleXExpression_in_ruleXAnnotationOrExpression2394); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1030: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1031:2: (iv_ruleXExpression= ruleXExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1032:2: iv_ruleXExpression= ruleXExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXExpression_in_entryRuleXExpression2429); |
| iv_ruleXExpression=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXExpression2439); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1039: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1042:28: (this_XAssignment_0= ruleXAssignment ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1044:5: this_XAssignment_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAssignment_in_ruleXExpression2485); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1060: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1061:2: (iv_ruleXAssignment= ruleXAssignment EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1062:2: iv_ruleXAssignment= ruleXAssignment EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAssignmentRule()); |
| } |
| pushFollow(FOLLOW_ruleXAssignment_in_entryRuleXAssignment2519); |
| iv_ruleXAssignment=ruleXAssignment(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAssignment; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAssignment2529); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1069: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1072:28: ( ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) |
| int alt22=2; |
| switch ( input.LA(1) ) { |
| case RULE_ID: |
| { |
| int LA22_1 = input.LA(2); |
| |
| if ( (LA22_1==EOF||(LA22_1>=RULE_ID && LA22_1<=RULE_DECIMAL)||(LA22_1>=14 && LA22_1<=16)||(LA22_1>=25 && LA22_1<=26)||(LA22_1>=28 && LA22_1<=30)||(LA22_1>=32 && LA22_1<=66)||(LA22_1>=68 && LA22_1<=94)) ) { |
| alt22=2; |
| } |
| else if ( (LA22_1==31) ) { |
| alt22=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 22, 1, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 80: |
| { |
| int LA22_2 = input.LA(2); |
| |
| if ( (LA22_2==EOF||(LA22_2>=RULE_ID && LA22_2<=RULE_DECIMAL)||(LA22_2>=14 && LA22_2<=16)||(LA22_2>=25 && LA22_2<=26)||(LA22_2>=28 && LA22_2<=30)||(LA22_2>=32 && LA22_2<=66)||(LA22_2>=68 && LA22_2<=94)) ) { |
| alt22=2; |
| } |
| else if ( (LA22_2==31) ) { |
| alt22=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 22, 2, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 81: |
| { |
| int LA22_3 = input.LA(2); |
| |
| if ( (LA22_3==31) ) { |
| alt22=1; |
| } |
| else if ( (LA22_3==EOF||(LA22_3>=RULE_ID && LA22_3<=RULE_DECIMAL)||(LA22_3>=14 && LA22_3<=16)||(LA22_3>=25 && LA22_3<=26)||(LA22_3>=28 && LA22_3<=30)||(LA22_3>=32 && LA22_3<=66)||(LA22_3>=68 && LA22_3<=94)) ) { |
| alt22=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 22, 3, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 16: |
| { |
| int LA22_4 = input.LA(2); |
| |
| if ( (LA22_4==31) ) { |
| alt22=1; |
| } |
| else if ( (LA22_4==EOF||(LA22_4>=RULE_ID && LA22_4<=RULE_DECIMAL)||(LA22_4>=14 && LA22_4<=16)||(LA22_4>=25 && LA22_4<=26)||(LA22_4>=28 && LA22_4<=30)||(LA22_4>=32 && LA22_4<=66)||(LA22_4>=68 && LA22_4<=94)) ) { |
| alt22=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 22, 4, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 82: |
| { |
| int LA22_5 = input.LA(2); |
| |
| if ( (LA22_5==EOF||(LA22_5>=RULE_ID && LA22_5<=RULE_DECIMAL)||(LA22_5>=14 && LA22_5<=16)||(LA22_5>=25 && LA22_5<=26)||(LA22_5>=28 && LA22_5<=30)||(LA22_5>=32 && LA22_5<=66)||(LA22_5>=68 && LA22_5<=94)) ) { |
| alt22=2; |
| } |
| else if ( (LA22_5==31) ) { |
| alt22=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 22, 5, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case RULE_STRING: |
| case RULE_HEX: |
| case RULE_INT: |
| case RULE_DECIMAL: |
| case 14: |
| case 28: |
| case 32: |
| case 33: |
| case 40: |
| case 56: |
| case 57: |
| case 61: |
| case 69: |
| case 71: |
| case 75: |
| case 76: |
| case 77: |
| case 83: |
| case 84: |
| case 85: |
| case 86: |
| case 87: |
| case 88: |
| case 89: |
| case 90: |
| case 91: |
| case 93: |
| { |
| alt22=2; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 22, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt22) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:3: () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1073:3: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1074:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1079:2: ( ( ruleFeatureCallID ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1080:1: ( ruleFeatureCallID ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1080:1: ( ruleFeatureCallID ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1081: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_ruleXAssignment2587); |
| 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_ruleXAssignment2603); |
| ruleOpSingleAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1102:1: ( (lv_value_3_0= ruleXAssignment ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1103:1: (lv_value_3_0= ruleXAssignment ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1103:1: (lv_value_3_0= ruleXAssignment ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1104:3: lv_value_3_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment2623); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1121:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1121:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1122: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_ruleXAssignment2653); |
| this_XOrExpression_4=ruleXOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XOrExpression_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1130:1: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? |
| int alt21=2; |
| alt21 = dfa21.predict(input); |
| switch (alt21) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1130:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1130:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1130:3: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1135:6: ( () ( ( ruleOpMultiAssign ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1135:7: () ( ( ruleOpMultiAssign ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1135:7: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1136:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1141:2: ( ( ruleOpMultiAssign ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1142:1: ( ruleOpMultiAssign ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1142:1: ( ruleOpMultiAssign ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1143: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_ruleXAssignment2706); |
| ruleOpMultiAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1156:4: ( (lv_rightOperand_7_0= ruleXAssignment ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1157:1: (lv_rightOperand_7_0= ruleXAssignment ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1157:1: (lv_rightOperand_7_0= ruleXAssignment ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1158:3: lv_rightOperand_7_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment2729); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1182: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1183:2: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1184:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpSingleAssignRule()); |
| } |
| pushFollow(FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign2769); |
| iv_ruleOpSingleAssign=ruleOpSingleAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpSingleAssign.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpSingleAssign2780); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1191: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1194:28: (kw= '=' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1196:2: kw= '=' |
| { |
| kw=(Token)match(input,31,FOLLOW_31_in_ruleOpSingleAssign2817); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1209: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1210:2: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1211:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpMultiAssignRule()); |
| } |
| pushFollow(FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign2857); |
| iv_ruleOpMultiAssign=ruleOpMultiAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpMultiAssign.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpMultiAssign2868); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1218: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1221:28: ( (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1222:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1222:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) |
| int alt24=7; |
| switch ( input.LA(1) ) { |
| case 35: |
| { |
| alt24=1; |
| } |
| break; |
| case 36: |
| { |
| alt24=2; |
| } |
| break; |
| case 37: |
| { |
| alt24=3; |
| } |
| break; |
| case 38: |
| { |
| alt24=4; |
| } |
| break; |
| case 39: |
| { |
| alt24=5; |
| } |
| break; |
| case 40: |
| { |
| alt24=6; |
| } |
| break; |
| case 41: |
| { |
| alt24=7; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 24, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt24) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1223:2: kw= '+=' |
| { |
| kw=(Token)match(input,35,FOLLOW_35_in_ruleOpMultiAssign2906); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1230:2: kw= '-=' |
| { |
| kw=(Token)match(input,36,FOLLOW_36_in_ruleOpMultiAssign2925); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1237:2: kw= '*=' |
| { |
| kw=(Token)match(input,37,FOLLOW_37_in_ruleOpMultiAssign2944); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1244:2: kw= '/=' |
| { |
| kw=(Token)match(input,38,FOLLOW_38_in_ruleOpMultiAssign2963); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1251:2: kw= '%=' |
| { |
| kw=(Token)match(input,39,FOLLOW_39_in_ruleOpMultiAssign2982); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1257:6: (kw= '<' kw= '<' kw= '=' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1257:6: (kw= '<' kw= '<' kw= '=' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1258:2: kw= '<' kw= '<' kw= '=' |
| { |
| kw=(Token)match(input,40,FOLLOW_40_in_ruleOpMultiAssign3002); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0()); |
| |
| } |
| kw=(Token)match(input,40,FOLLOW_40_in_ruleOpMultiAssign3015); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1()); |
| |
| } |
| kw=(Token)match(input,31,FOLLOW_31_in_ruleOpMultiAssign3028); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1276:6: (kw= '>' (kw= '>' )? kw= '>=' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1276:6: (kw= '>' (kw= '>' )? kw= '>=' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1277:2: kw= '>' (kw= '>' )? kw= '>=' |
| { |
| kw=(Token)match(input,41,FOLLOW_41_in_ruleOpMultiAssign3049); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1282:1: (kw= '>' )? |
| int alt23=2; |
| int LA23_0 = input.LA(1); |
| |
| if ( (LA23_0==41) ) { |
| alt23=1; |
| } |
| switch (alt23) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1283:2: kw= '>' |
| { |
| kw=(Token)match(input,41,FOLLOW_41_in_ruleOpMultiAssign3063); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| kw=(Token)match(input,42,FOLLOW_42_in_ruleOpMultiAssign3078); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1302: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1303:2: (iv_ruleXOrExpression= ruleXOrExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1304:2: iv_ruleXOrExpression= ruleXOrExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXOrExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression3119); |
| iv_ruleXOrExpression=ruleXOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXOrExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXOrExpression3129); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1311: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1314:28: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1315:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1315:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1316: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_ruleXOrExpression3176); |
| this_XAndExpression_0=ruleXAndExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XAndExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1324:1: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* |
| loop25: |
| do { |
| int alt25=2; |
| int LA25_0 = input.LA(1); |
| |
| if ( (LA25_0==43) ) { |
| int LA25_2 = input.LA(2); |
| |
| if ( (synpred8_InternalDialogDsl()) ) { |
| alt25=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt25) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1324:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1324:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1324:3: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1329:6: ( () ( ( ruleOpOr ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1329:7: () ( ( ruleOpOr ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1329:7: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1330:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1335:2: ( ( ruleOpOr ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1336:1: ( ruleOpOr ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1336:1: ( ruleOpOr ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1337: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_ruleXOrExpression3229); |
| ruleOpOr(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1350:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1351:1: (lv_rightOperand_3_0= ruleXAndExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1351:1: (lv_rightOperand_3_0= ruleXAndExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1352:3: lv_rightOperand_3_0= ruleXAndExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression3252); |
| 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 loop25; |
| } |
| } 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1376: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1377:2: (iv_ruleOpOr= ruleOpOr EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1378:2: iv_ruleOpOr= ruleOpOr EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpOrRule()); |
| } |
| pushFollow(FOLLOW_ruleOpOr_in_entryRuleOpOr3291); |
| iv_ruleOpOr=ruleOpOr(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpOr.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpOr3302); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1385: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1388:28: (kw= '||' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1390:2: kw= '||' |
| { |
| kw=(Token)match(input,43,FOLLOW_43_in_ruleOpOr3339); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1403: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1404:2: (iv_ruleXAndExpression= ruleXAndExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1405:2: iv_ruleXAndExpression= ruleXAndExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAndExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression3378); |
| iv_ruleXAndExpression=ruleXAndExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAndExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAndExpression3388); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1412: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1415:28: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1416:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1416:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1417: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_ruleXAndExpression3435); |
| this_XEqualityExpression_0=ruleXEqualityExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XEqualityExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1425:1: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* |
| loop26: |
| do { |
| int alt26=2; |
| int LA26_0 = input.LA(1); |
| |
| if ( (LA26_0==44) ) { |
| int LA26_2 = input.LA(2); |
| |
| if ( (synpred9_InternalDialogDsl()) ) { |
| alt26=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt26) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1425:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1425:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1425:3: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1430:6: ( () ( ( ruleOpAnd ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1430:7: () ( ( ruleOpAnd ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1430:7: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1431:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1436:2: ( ( ruleOpAnd ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1437:1: ( ruleOpAnd ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1437:1: ( ruleOpAnd ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1438: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_ruleXAndExpression3488); |
| ruleOpAnd(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1451:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1452:1: (lv_rightOperand_3_0= ruleXEqualityExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1452:1: (lv_rightOperand_3_0= ruleXEqualityExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1453:3: lv_rightOperand_3_0= ruleXEqualityExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression3511); |
| 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 loop26; |
| } |
| } 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1477: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1478:2: (iv_ruleOpAnd= ruleOpAnd EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1479:2: iv_ruleOpAnd= ruleOpAnd EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpAndRule()); |
| } |
| pushFollow(FOLLOW_ruleOpAnd_in_entryRuleOpAnd3550); |
| iv_ruleOpAnd=ruleOpAnd(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpAnd.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpAnd3561); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1486: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1489:28: (kw= '&&' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1491:2: kw= '&&' |
| { |
| kw=(Token)match(input,44,FOLLOW_44_in_ruleOpAnd3598); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1504: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1505:2: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1506:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXEqualityExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression3637); |
| iv_ruleXEqualityExpression=ruleXEqualityExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXEqualityExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXEqualityExpression3647); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1513: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1516:28: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1517:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1517:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1518: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_ruleXEqualityExpression3694); |
| this_XRelationalExpression_0=ruleXRelationalExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XRelationalExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1526:1: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* |
| loop27: |
| do { |
| int alt27=2; |
| switch ( input.LA(1) ) { |
| case 45: |
| { |
| int LA27_2 = input.LA(2); |
| |
| if ( (synpred10_InternalDialogDsl()) ) { |
| alt27=1; |
| } |
| |
| |
| } |
| break; |
| case 46: |
| { |
| int LA27_3 = input.LA(2); |
| |
| if ( (synpred10_InternalDialogDsl()) ) { |
| alt27=1; |
| } |
| |
| |
| } |
| break; |
| case 47: |
| { |
| int LA27_4 = input.LA(2); |
| |
| if ( (synpred10_InternalDialogDsl()) ) { |
| alt27=1; |
| } |
| |
| |
| } |
| break; |
| case 48: |
| { |
| int LA27_5 = input.LA(2); |
| |
| if ( (synpred10_InternalDialogDsl()) ) { |
| alt27=1; |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| switch (alt27) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1526:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1526:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1526:3: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1531:6: ( () ( ( ruleOpEquality ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1531:7: () ( ( ruleOpEquality ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1531:7: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1532:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1537:2: ( ( ruleOpEquality ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1538:1: ( ruleOpEquality ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1538:1: ( ruleOpEquality ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1539: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_ruleXEqualityExpression3747); |
| ruleOpEquality(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1552:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1553:1: (lv_rightOperand_3_0= ruleXRelationalExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1553:1: (lv_rightOperand_3_0= ruleXRelationalExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1554:3: lv_rightOperand_3_0= ruleXRelationalExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression3770); |
| 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 loop27; |
| } |
| } 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1578: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1579:2: (iv_ruleOpEquality= ruleOpEquality EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1580:2: iv_ruleOpEquality= ruleOpEquality EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpEqualityRule()); |
| } |
| pushFollow(FOLLOW_ruleOpEquality_in_entryRuleOpEquality3809); |
| iv_ruleOpEquality=ruleOpEquality(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpEquality.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpEquality3820); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1587: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1590:28: ( (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1591:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1591:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) |
| int alt28=4; |
| switch ( input.LA(1) ) { |
| case 45: |
| { |
| alt28=1; |
| } |
| break; |
| case 46: |
| { |
| alt28=2; |
| } |
| break; |
| case 47: |
| { |
| alt28=3; |
| } |
| break; |
| case 48: |
| { |
| alt28=4; |
| } |
| break; |
| default: |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1592:2: kw= '==' |
| { |
| kw=(Token)match(input,45,FOLLOW_45_in_ruleOpEquality3858); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1599:2: kw= '!=' |
| { |
| kw=(Token)match(input,46,FOLLOW_46_in_ruleOpEquality3877); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1606:2: kw= '===' |
| { |
| kw=(Token)match(input,47,FOLLOW_47_in_ruleOpEquality3896); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1613:2: kw= '!==' |
| { |
| kw=(Token)match(input,48,FOLLOW_48_in_ruleOpEquality3915); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1626: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1627:2: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1628:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXRelationalExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression3955); |
| iv_ruleXRelationalExpression=ruleXRelationalExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXRelationalExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationalExpression3965); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1635: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1638: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1639: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1639: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1640: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_ruleXRelationalExpression4012); |
| this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XOtherOperatorExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:1: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* |
| loop29: |
| do { |
| int alt29=3; |
| switch ( input.LA(1) ) { |
| case 40: |
| { |
| int LA29_2 = input.LA(2); |
| |
| if ( (synpred12_InternalDialogDsl()) ) { |
| alt29=2; |
| } |
| |
| |
| } |
| break; |
| case 41: |
| { |
| int LA29_3 = input.LA(2); |
| |
| if ( (synpred12_InternalDialogDsl()) ) { |
| alt29=2; |
| } |
| |
| |
| } |
| break; |
| case 49: |
| { |
| int LA29_4 = input.LA(2); |
| |
| if ( (synpred11_InternalDialogDsl()) ) { |
| alt29=1; |
| } |
| |
| |
| } |
| break; |
| case 42: |
| { |
| int LA29_5 = input.LA(2); |
| |
| if ( (synpred12_InternalDialogDsl()) ) { |
| alt29=2; |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| switch (alt29) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1648:4: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1650:5: ( () otherlv_2= 'instanceof' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1650:6: () otherlv_2= 'instanceof' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1650:6: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1651:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_2=(Token)match(input,49,FOLLOW_49_in_ruleXRelationalExpression4048); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1660:3: ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1661:1: (lv_type_3_0= ruleJvmTypeReference ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1661:1: (lv_type_3_0= ruleJvmTypeReference ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1662:3: lv_type_3_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXRelationalExpression4071); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1679:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1679:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1679:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1679:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1679:8: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1684:6: ( () ( ( ruleOpCompare ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1684:7: () ( ( ruleOpCompare ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1684:7: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1685:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1690:2: ( ( ruleOpCompare ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1691:1: ( ruleOpCompare ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1691:1: ( ruleOpCompare ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1692: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_ruleXRelationalExpression4132); |
| ruleOpCompare(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1705:4: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1706:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1706:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1707:3: lv_rightOperand_6_0= ruleXOtherOperatorExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression4155); |
| 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 loop29; |
| } |
| } 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1731: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1732:2: (iv_ruleOpCompare= ruleOpCompare EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1733:2: iv_ruleOpCompare= ruleOpCompare EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpCompareRule()); |
| } |
| pushFollow(FOLLOW_ruleOpCompare_in_entryRuleOpCompare4195); |
| iv_ruleOpCompare=ruleOpCompare(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpCompare.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpCompare4206); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1740: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1743:28: ( (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1744:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1744:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) |
| int alt30=4; |
| switch ( input.LA(1) ) { |
| case 42: |
| { |
| alt30=1; |
| } |
| break; |
| case 40: |
| { |
| int LA30_2 = input.LA(2); |
| |
| if ( (LA30_2==EOF||(LA30_2>=RULE_ID && LA30_2<=RULE_DECIMAL)||LA30_2==14||LA30_2==16||LA30_2==28||(LA30_2>=32 && LA30_2<=33)||LA30_2==40||(LA30_2>=56 && LA30_2<=57)||LA30_2==61||LA30_2==69||LA30_2==71||(LA30_2>=75 && LA30_2<=77)||(LA30_2>=80 && LA30_2<=91)||LA30_2==93) ) { |
| alt30=4; |
| } |
| else if ( (LA30_2==31) ) { |
| alt30=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 30, 2, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 41: |
| { |
| alt30=3; |
| } |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1745:2: kw= '>=' |
| { |
| kw=(Token)match(input,42,FOLLOW_42_in_ruleOpCompare4244); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1751:6: (kw= '<' kw= '=' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1751:6: (kw= '<' kw= '=' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1752:2: kw= '<' kw= '=' |
| { |
| kw=(Token)match(input,40,FOLLOW_40_in_ruleOpCompare4264); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0()); |
| |
| } |
| kw=(Token)match(input,31,FOLLOW_31_in_ruleOpCompare4277); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1765:2: kw= '>' |
| { |
| kw=(Token)match(input,41,FOLLOW_41_in_ruleOpCompare4297); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1772:2: kw= '<' |
| { |
| kw=(Token)match(input,40,FOLLOW_40_in_ruleOpCompare4316); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1785: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1786:2: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1787:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression4356); |
| iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXOtherOperatorExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXOtherOperatorExpression4366); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1794: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1797:28: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1798:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1798:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1799: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_ruleXOtherOperatorExpression4413); |
| this_XAdditiveExpression_0=ruleXAdditiveExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XAdditiveExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1807:1: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* |
| loop31: |
| do { |
| int alt31=2; |
| alt31 = dfa31.predict(input); |
| switch (alt31) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1807:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1807:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1807:3: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1812:6: ( () ( ( ruleOpOther ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1812:7: () ( ( ruleOpOther ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1812:7: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1813:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1818:2: ( ( ruleOpOther ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1819:1: ( ruleOpOther ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1819:1: ( ruleOpOther ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1820: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_ruleXOtherOperatorExpression4466); |
| ruleOpOther(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1833:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1834:1: (lv_rightOperand_3_0= ruleXAdditiveExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1834:1: (lv_rightOperand_3_0= ruleXAdditiveExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1835:3: lv_rightOperand_3_0= ruleXAdditiveExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression4489); |
| 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 loop31; |
| } |
| } 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1859: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1860:2: (iv_ruleOpOther= ruleOpOther EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1861:2: iv_ruleOpOther= ruleOpOther EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpOtherRule()); |
| } |
| pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther4528); |
| iv_ruleOpOther=ruleOpOther(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpOther.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther4539); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1868: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1871:28: ( (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1872:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1872:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) |
| int alt34=9; |
| alt34 = dfa34.predict(input); |
| switch (alt34) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1873:2: kw= '->' |
| { |
| kw=(Token)match(input,50,FOLLOW_50_in_ruleOpOther4577); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1880:2: kw= '..<' |
| { |
| kw=(Token)match(input,51,FOLLOW_51_in_ruleOpOther4596); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1886:6: (kw= '>' kw= '..' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1886:6: (kw= '>' kw= '..' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1887:2: kw= '>' kw= '..' |
| { |
| kw=(Token)match(input,41,FOLLOW_41_in_ruleOpOther4616); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0()); |
| |
| } |
| kw=(Token)match(input,52,FOLLOW_52_in_ruleOpOther4629); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1900:2: kw= '..' |
| { |
| kw=(Token)match(input,52,FOLLOW_52_in_ruleOpOther4649); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1907:2: kw= '=>' |
| { |
| kw=(Token)match(input,53,FOLLOW_53_in_ruleOpOther4668); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1913:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1913:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1914:2: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) |
| { |
| kw=(Token)match(input,41,FOLLOW_41_in_ruleOpOther4688); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1919:1: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) |
| int alt32=2; |
| int LA32_0 = input.LA(1); |
| |
| if ( (LA32_0==41) ) { |
| int LA32_1 = input.LA(2); |
| |
| if ( (LA32_1==EOF||(LA32_1>=RULE_ID && LA32_1<=RULE_DECIMAL)||LA32_1==14||LA32_1==16||LA32_1==28||(LA32_1>=32 && LA32_1<=33)||LA32_1==40||(LA32_1>=56 && LA32_1<=57)||LA32_1==61||LA32_1==69||LA32_1==71||(LA32_1>=75 && LA32_1<=77)||(LA32_1>=80 && LA32_1<=91)||LA32_1==93) ) { |
| alt32=2; |
| } |
| else if ( (LA32_1==41) && (synpred14_InternalDialogDsl())) { |
| alt32=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 32, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else { |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1919:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1919:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1919:3: ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1923:5: (kw= '>' kw= '>' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1924:2: kw= '>' kw= '>' |
| { |
| kw=(Token)match(input,41,FOLLOW_41_in_ruleOpOther4719); 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,41,FOLLOW_41_in_ruleOpOther4732); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1937:2: kw= '>' |
| { |
| kw=(Token)match(input,41,FOLLOW_41_in_ruleOpOther4753); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1943:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1943:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1944:2: kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) |
| { |
| kw=(Token)match(input,40,FOLLOW_40_in_ruleOpOther4775); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1949:1: ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) |
| int alt33=3; |
| int LA33_0 = input.LA(1); |
| |
| if ( (LA33_0==40) ) { |
| int LA33_1 = input.LA(2); |
| |
| if ( (synpred15_InternalDialogDsl()) ) { |
| alt33=1; |
| } |
| else if ( (true) ) { |
| alt33=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 33, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else if ( (LA33_0==53) ) { |
| alt33=3; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 33, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt33) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1949:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1949:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1949:3: ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1953:5: (kw= '<' kw= '<' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1954:2: kw= '<' kw= '<' |
| { |
| kw=(Token)match(input,40,FOLLOW_40_in_ruleOpOther4806); 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,40,FOLLOW_40_in_ruleOpOther4819); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1967:2: kw= '<' |
| { |
| kw=(Token)match(input,40,FOLLOW_40_in_ruleOpOther4840); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1974:2: kw= '=>' |
| { |
| kw=(Token)match(input,53,FOLLOW_53_in_ruleOpOther4859); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1981:2: kw= '<>' |
| { |
| kw=(Token)match(input,54,FOLLOW_54_in_ruleOpOther4880); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:1988:2: kw= '?:' |
| { |
| kw=(Token)match(input,55,FOLLOW_55_in_ruleOpOther4899); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2001: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2002:2: (iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2003:2: iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAdditiveExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXAdditiveExpression_in_entryRuleXAdditiveExpression4939); |
| iv_ruleXAdditiveExpression=ruleXAdditiveExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAdditiveExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAdditiveExpression4949); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2010: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2013:28: ( (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2014:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2014:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2015: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_ruleXAdditiveExpression4996); |
| this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XMultiplicativeExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2023:1: ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* |
| loop35: |
| do { |
| int alt35=2; |
| int LA35_0 = input.LA(1); |
| |
| if ( (LA35_0==56) ) { |
| int LA35_2 = input.LA(2); |
| |
| if ( (synpred16_InternalDialogDsl()) ) { |
| alt35=1; |
| } |
| |
| |
| } |
| else if ( (LA35_0==57) ) { |
| int LA35_3 = input.LA(2); |
| |
| if ( (synpred16_InternalDialogDsl()) ) { |
| alt35=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt35) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2023:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2023:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2023:3: ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2028:6: ( () ( ( ruleOpAdd ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2028:7: () ( ( ruleOpAdd ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2028:7: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2029:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2034:2: ( ( ruleOpAdd ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2035:1: ( ruleOpAdd ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2035:1: ( ruleOpAdd ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2036: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_ruleXAdditiveExpression5049); |
| ruleOpAdd(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2049:4: ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2050:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2050:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2051:3: lv_rightOperand_3_0= ruleXMultiplicativeExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression5072); |
| 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 loop35; |
| } |
| } 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2075: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2076:2: (iv_ruleOpAdd= ruleOpAdd EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2077:2: iv_ruleOpAdd= ruleOpAdd EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpAddRule()); |
| } |
| pushFollow(FOLLOW_ruleOpAdd_in_entryRuleOpAdd5111); |
| iv_ruleOpAdd=ruleOpAdd(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpAdd.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpAdd5122); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2084: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2087:28: ( (kw= '+' | kw= '-' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2088:1: (kw= '+' | kw= '-' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2088:1: (kw= '+' | kw= '-' ) |
| int alt36=2; |
| int LA36_0 = input.LA(1); |
| |
| if ( (LA36_0==56) ) { |
| alt36=1; |
| } |
| else if ( (LA36_0==57) ) { |
| alt36=2; |
| } |
| else { |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2089:2: kw= '+' |
| { |
| kw=(Token)match(input,56,FOLLOW_56_in_ruleOpAdd5160); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2096:2: kw= '-' |
| { |
| kw=(Token)match(input,57,FOLLOW_57_in_ruleOpAdd5179); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2109: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2110:2: (iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2111:2: iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_entryRuleXMultiplicativeExpression5219); |
| iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXMultiplicativeExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXMultiplicativeExpression5229); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2118: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2121:28: ( (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2122:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2122:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2123: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_ruleXMultiplicativeExpression5276); |
| this_XUnaryOperation_0=ruleXUnaryOperation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XUnaryOperation_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2131:1: ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* |
| loop37: |
| do { |
| int alt37=2; |
| switch ( input.LA(1) ) { |
| case 26: |
| { |
| int LA37_2 = input.LA(2); |
| |
| if ( (synpred17_InternalDialogDsl()) ) { |
| alt37=1; |
| } |
| |
| |
| } |
| break; |
| case 58: |
| { |
| int LA37_3 = input.LA(2); |
| |
| if ( (synpred17_InternalDialogDsl()) ) { |
| alt37=1; |
| } |
| |
| |
| } |
| break; |
| case 59: |
| { |
| int LA37_4 = input.LA(2); |
| |
| if ( (synpred17_InternalDialogDsl()) ) { |
| alt37=1; |
| } |
| |
| |
| } |
| break; |
| case 60: |
| { |
| int LA37_5 = input.LA(2); |
| |
| if ( (synpred17_InternalDialogDsl()) ) { |
| alt37=1; |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| switch (alt37) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2131:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2131:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2131:3: ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2136:6: ( () ( ( ruleOpMulti ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2136:7: () ( ( ruleOpMulti ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2136:7: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2137:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2142:2: ( ( ruleOpMulti ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2143:1: ( ruleOpMulti ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2143:1: ( ruleOpMulti ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2144: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_ruleXMultiplicativeExpression5329); |
| ruleOpMulti(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2157:4: ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2158:1: (lv_rightOperand_3_0= ruleXUnaryOperation ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2158:1: (lv_rightOperand_3_0= ruleXUnaryOperation ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2159:3: lv_rightOperand_3_0= ruleXUnaryOperation |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression5352); |
| 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 loop37; |
| } |
| } 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2183: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2184:2: (iv_ruleOpMulti= ruleOpMulti EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2185:2: iv_ruleOpMulti= ruleOpMulti EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpMultiRule()); |
| } |
| pushFollow(FOLLOW_ruleOpMulti_in_entryRuleOpMulti5391); |
| iv_ruleOpMulti=ruleOpMulti(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpMulti.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpMulti5402); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2192: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2195:28: ( (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2196:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2196:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) |
| int alt38=4; |
| switch ( input.LA(1) ) { |
| case 26: |
| { |
| alt38=1; |
| } |
| break; |
| case 58: |
| { |
| alt38=2; |
| } |
| break; |
| case 59: |
| { |
| alt38=3; |
| } |
| break; |
| case 60: |
| { |
| alt38=4; |
| } |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2197:2: kw= '*' |
| { |
| kw=(Token)match(input,26,FOLLOW_26_in_ruleOpMulti5440); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2204:2: kw= '**' |
| { |
| kw=(Token)match(input,58,FOLLOW_58_in_ruleOpMulti5459); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2211:2: kw= '/' |
| { |
| kw=(Token)match(input,59,FOLLOW_59_in_ruleOpMulti5478); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2218:2: kw= '%' |
| { |
| kw=(Token)match(input,60,FOLLOW_60_in_ruleOpMulti5497); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2231: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2232:2: (iv_ruleXUnaryOperation= ruleXUnaryOperation EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2233:2: iv_ruleXUnaryOperation= ruleXUnaryOperation EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXUnaryOperationRule()); |
| } |
| pushFollow(FOLLOW_ruleXUnaryOperation_in_entryRuleXUnaryOperation5537); |
| iv_ruleXUnaryOperation=ruleXUnaryOperation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXUnaryOperation; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXUnaryOperation5547); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2240: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2243:28: ( ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) |
| int alt39=2; |
| int LA39_0 = input.LA(1); |
| |
| if ( ((LA39_0>=56 && LA39_0<=57)||LA39_0==61) ) { |
| alt39=1; |
| } |
| else if ( ((LA39_0>=RULE_ID && LA39_0<=RULE_DECIMAL)||LA39_0==14||LA39_0==16||LA39_0==28||(LA39_0>=32 && LA39_0<=33)||LA39_0==40||LA39_0==69||LA39_0==71||(LA39_0>=75 && LA39_0<=77)||(LA39_0>=80 && LA39_0<=91)||LA39_0==93) ) { |
| alt39=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 39, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt39) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:3: () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2244:3: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2245:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2250:2: ( ( ruleOpUnary ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2251:1: ( ruleOpUnary ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2251:1: ( ruleOpUnary ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2252: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_ruleXUnaryOperation5605); |
| ruleOpUnary(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2265:2: ( (lv_operand_2_0= ruleXUnaryOperation ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2266:1: (lv_operand_2_0= ruleXUnaryOperation ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2266:1: (lv_operand_2_0= ruleXUnaryOperation ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2267:3: lv_operand_2_0= ruleXUnaryOperation |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXUnaryOperationParserRuleCall_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXUnaryOperation5626); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2285:5: this_XCastedExpression_3= ruleXCastedExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleXCastedExpression_in_ruleXUnaryOperation5655); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2301: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2302:2: (iv_ruleOpUnary= ruleOpUnary EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2303:2: iv_ruleOpUnary= ruleOpUnary EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpUnaryRule()); |
| } |
| pushFollow(FOLLOW_ruleOpUnary_in_entryRuleOpUnary5691); |
| iv_ruleOpUnary=ruleOpUnary(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpUnary.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpUnary5702); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2310: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2313:28: ( (kw= '!' | kw= '-' | kw= '+' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2314:1: (kw= '!' | kw= '-' | kw= '+' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2314:1: (kw= '!' | kw= '-' | kw= '+' ) |
| int alt40=3; |
| switch ( input.LA(1) ) { |
| case 61: |
| { |
| alt40=1; |
| } |
| break; |
| case 57: |
| { |
| alt40=2; |
| } |
| break; |
| case 56: |
| { |
| alt40=3; |
| } |
| break; |
| default: |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2315:2: kw= '!' |
| { |
| kw=(Token)match(input,61,FOLLOW_61_in_ruleOpUnary5740); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2322:2: kw= '-' |
| { |
| kw=(Token)match(input,57,FOLLOW_57_in_ruleOpUnary5759); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2329:2: kw= '+' |
| { |
| kw=(Token)match(input,56,FOLLOW_56_in_ruleOpUnary5778); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2342: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2343:2: (iv_ruleXCastedExpression= ruleXCastedExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2344:2: iv_ruleXCastedExpression= ruleXCastedExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXCastedExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXCastedExpression_in_entryRuleXCastedExpression5818); |
| iv_ruleXCastedExpression=ruleXCastedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXCastedExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXCastedExpression5828); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2351: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2354:28: ( (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2355:1: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2355:1: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2356: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_ruleXCastedExpression5875); |
| this_XPostfixOperation_0=ruleXPostfixOperation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XPostfixOperation_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2364:1: ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* |
| loop41: |
| do { |
| int alt41=2; |
| int LA41_0 = input.LA(1); |
| |
| if ( (LA41_0==62) ) { |
| int LA41_2 = input.LA(2); |
| |
| if ( (synpred18_InternalDialogDsl()) ) { |
| alt41=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt41) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2364:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2364:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2364:3: ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2366:5: ( () otherlv_2= 'as' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2366:6: () otherlv_2= 'as' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2366:6: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2367:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_2=(Token)match(input,62,FOLLOW_62_in_ruleXCastedExpression5910); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2376:3: ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2377:1: (lv_type_3_0= ruleJvmTypeReference ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2377:1: (lv_type_3_0= ruleJvmTypeReference ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2378:3: lv_type_3_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXCastedExpression5933); |
| 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 loop41; |
| } |
| } 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2402: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2403:2: (iv_ruleXPostfixOperation= ruleXPostfixOperation EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2404:2: iv_ruleXPostfixOperation= ruleXPostfixOperation EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXPostfixOperationRule()); |
| } |
| pushFollow(FOLLOW_ruleXPostfixOperation_in_entryRuleXPostfixOperation5971); |
| iv_ruleXPostfixOperation=ruleXPostfixOperation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXPostfixOperation; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXPostfixOperation5981); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2411: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2414:28: ( (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2415:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2415:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2416:5: this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXMemberFeatureCall_in_ruleXPostfixOperation6028); |
| this_XMemberFeatureCall_0=ruleXMemberFeatureCall(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XMemberFeatureCall_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2424:1: ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? |
| int alt42=2; |
| int LA42_0 = input.LA(1); |
| |
| if ( (LA42_0==63) ) { |
| int LA42_1 = input.LA(2); |
| |
| if ( (synpred19_InternalDialogDsl()) ) { |
| alt42=1; |
| } |
| } |
| else if ( (LA42_0==64) ) { |
| int LA42_2 = input.LA(2); |
| |
| if ( (synpred19_InternalDialogDsl()) ) { |
| alt42=1; |
| } |
| } |
| switch (alt42) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2424:2: ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2429:6: ( () ( ( ruleOpPostfix ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2429:7: () ( ( ruleOpPostfix ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2429:7: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2430:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2435:2: ( ( ruleOpPostfix ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2436:1: ( ruleOpPostfix ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2436:1: ( ruleOpPostfix ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2437: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_ruleXPostfixOperation6080); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2458: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2459:2: (iv_ruleOpPostfix= ruleOpPostfix EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2460:2: iv_ruleOpPostfix= ruleOpPostfix EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpPostfixRule()); |
| } |
| pushFollow(FOLLOW_ruleOpPostfix_in_entryRuleOpPostfix6120); |
| iv_ruleOpPostfix=ruleOpPostfix(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpPostfix.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpPostfix6131); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2467: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2470:28: ( (kw= '++' | kw= '--' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2471:1: (kw= '++' | kw= '--' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2471:1: (kw= '++' | kw= '--' ) |
| int alt43=2; |
| int LA43_0 = input.LA(1); |
| |
| if ( (LA43_0==63) ) { |
| alt43=1; |
| } |
| else if ( (LA43_0==64) ) { |
| alt43=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 43, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt43) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2472:2: kw= '++' |
| { |
| kw=(Token)match(input,63,FOLLOW_63_in_ruleOpPostfix6169); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2479:2: kw= '--' |
| { |
| kw=(Token)match(input,64,FOLLOW_64_in_ruleOpPostfix6188); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2492: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2493:2: (iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2494:2: iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| pushFollow(FOLLOW_ruleXMemberFeatureCall_in_entryRuleXMemberFeatureCall6228); |
| iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXMemberFeatureCall; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXMemberFeatureCall6238); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2501: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2504: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2505: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2505: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2506: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_ruleXMemberFeatureCall6285); |
| this_XPrimaryExpression_0=ruleXPrimaryExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XPrimaryExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514: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 ) )? ) )* |
| loop52: |
| do { |
| int alt52=3; |
| switch ( input.LA(1) ) { |
| case 25: |
| { |
| int LA52_2 = input.LA(2); |
| |
| if ( (synpred20_InternalDialogDsl()) ) { |
| alt52=1; |
| } |
| else if ( (synpred21_InternalDialogDsl()) ) { |
| alt52=2; |
| } |
| |
| |
| } |
| break; |
| case 65: |
| { |
| int LA52_3 = input.LA(2); |
| |
| if ( (synpred20_InternalDialogDsl()) ) { |
| alt52=1; |
| } |
| else if ( (synpred21_InternalDialogDsl()) ) { |
| alt52=2; |
| } |
| |
| |
| } |
| break; |
| case 66: |
| { |
| int LA52_4 = input.LA(2); |
| |
| if ( (synpred21_InternalDialogDsl()) ) { |
| alt52=2; |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| switch (alt52) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:2: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:2: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:3: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:3: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2514:4: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2527:25: ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2527:26: () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2527:26: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2528:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2533:2: (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) |
| int alt44=2; |
| int LA44_0 = input.LA(1); |
| |
| if ( (LA44_0==25) ) { |
| alt44=1; |
| } |
| else if ( (LA44_0==65) ) { |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2533:4: otherlv_2= '.' |
| { |
| otherlv_2=(Token)match(input,25,FOLLOW_25_in_ruleXMemberFeatureCall6357); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2538:6: ( (lv_explicitStatic_3_0= '::' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2538:6: ( (lv_explicitStatic_3_0= '::' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2539:1: (lv_explicitStatic_3_0= '::' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2539:1: (lv_explicitStatic_3_0= '::' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2540:3: lv_explicitStatic_3_0= '::' |
| { |
| lv_explicitStatic_3_0=(Token)match(input,65,FOLLOW_65_in_ruleXMemberFeatureCall6381); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2553:3: ( ( ruleFeatureCallID ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2554:1: ( ruleFeatureCallID ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2554:1: ( ruleFeatureCallID ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2555: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_ruleXMemberFeatureCall6418); |
| 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_ruleXMemberFeatureCall6434); |
| ruleOpSingleAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2576:3: ( (lv_value_6_0= ruleXAssignment ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2577:1: (lv_value_6_0= ruleXAssignment ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2577:1: (lv_value_6_0= ruleXAssignment ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2578:3: lv_value_6_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAssignment_in_ruleXMemberFeatureCall6456); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2595: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2595: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2595: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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2595:7: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2595:8: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2611:7: ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2611:8: () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2611:8: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2612:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2617:2: (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) |
| int alt45=3; |
| switch ( input.LA(1) ) { |
| case 25: |
| { |
| alt45=1; |
| } |
| break; |
| case 66: |
| { |
| alt45=2; |
| } |
| break; |
| case 65: |
| { |
| alt45=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 45, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt45) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2617:4: otherlv_8= '.' |
| { |
| otherlv_8=(Token)match(input,25,FOLLOW_25_in_ruleXMemberFeatureCall6542); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2622:6: ( (lv_nullSafe_9_0= '?.' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2622:6: ( (lv_nullSafe_9_0= '?.' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2623:1: (lv_nullSafe_9_0= '?.' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2623:1: (lv_nullSafe_9_0= '?.' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2624:3: lv_nullSafe_9_0= '?.' |
| { |
| lv_nullSafe_9_0=(Token)match(input,66,FOLLOW_66_in_ruleXMemberFeatureCall6566); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2638:6: ( (lv_explicitStatic_10_0= '::' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2638:6: ( (lv_explicitStatic_10_0= '::' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2639:1: (lv_explicitStatic_10_0= '::' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2639:1: (lv_explicitStatic_10_0= '::' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2640:3: lv_explicitStatic_10_0= '::' |
| { |
| lv_explicitStatic_10_0=(Token)match(input,65,FOLLOW_65_in_ruleXMemberFeatureCall6603); 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2653:5: (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? |
| int alt47=2; |
| int LA47_0 = input.LA(1); |
| |
| if ( (LA47_0==40) ) { |
| alt47=1; |
| } |
| switch (alt47) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2653:7: otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' |
| { |
| otherlv_11=(Token)match(input,40,FOLLOW_40_in_ruleXMemberFeatureCall6632); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2657:1: ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2658:1: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2658:1: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2659:3: lv_typeArguments_12_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall6653); |
| 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.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2675:2: (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* |
| loop46: |
| do { |
| int alt46=2; |
| int LA46_0 = input.LA(1); |
| |
| if ( (LA46_0==29) ) { |
| alt46=1; |
| } |
| |
| |
| switch (alt46) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2675:4: otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) |
| { |
| otherlv_13=(Token)match(input,29,FOLLOW_29_in_ruleXMemberFeatureCall6666); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2679:1: ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2680:1: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2680:1: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2681:3: lv_typeArguments_14_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall6687); |
| lv_typeArguments_14_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_14_0, |
| "JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop46; |
| } |
| } while (true); |
| |
| otherlv_15=(Token)match(input,41,FOLLOW_41_in_ruleXMemberFeatureCall6701); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2701:3: ( ( ruleIdOrSuper ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2702:1: ( ruleIdOrSuper ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2702:1: ( ruleIdOrSuper ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2703:3: ruleIdOrSuper |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleIdOrSuper_in_ruleXMemberFeatureCall6726); |
| ruleIdOrSuper(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2716:2: ( ( ( ( '(' ) )=> (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= ')' )? |
| int alt50=2; |
| alt50 = dfa50.predict(input); |
| switch (alt50) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2716:3: ( ( ( '(' ) )=> (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= ')' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2716:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2716:4: ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2723:1: (lv_explicitOperationCall_17_0= '(' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2724:3: lv_explicitOperationCall_17_0= '(' |
| { |
| lv_explicitOperationCall_17_0=(Token)match(input,28,FOLLOW_28_in_ruleXMemberFeatureCall6760); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_explicitOperationCall_17_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| setWithLastConsumed(current, "explicitOperationCall", true, "("); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2737:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? |
| int alt49=3; |
| alt49 = dfa49.predict(input); |
| switch (alt49) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2737:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2737:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2737:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2754:1: (lv_memberCallArguments_18_0= ruleXShortClosure ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2755:3: lv_memberCallArguments_18_0= ruleXShortClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXShortClosure_in_ruleXMemberFeatureCall6845); |
| lv_memberCallArguments_18_0=ruleXShortClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| current, |
| "memberCallArguments", |
| lv_memberCallArguments_18_0, |
| "XShortClosure"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2772:6: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2772:6: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2772:7: ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2772:7: ( (lv_memberCallArguments_19_0= ruleXExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2773:1: (lv_memberCallArguments_19_0= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2773:1: (lv_memberCallArguments_19_0= ruleXExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2774:3: lv_memberCallArguments_19_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall6873); |
| lv_memberCallArguments_19_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| current, |
| "memberCallArguments", |
| lv_memberCallArguments_19_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2790:2: (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* |
| loop48: |
| do { |
| int alt48=2; |
| int LA48_0 = input.LA(1); |
| |
| if ( (LA48_0==29) ) { |
| alt48=1; |
| } |
| |
| |
| switch (alt48) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2790:4: otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) |
| { |
| otherlv_20=(Token)match(input,29,FOLLOW_29_in_ruleXMemberFeatureCall6886); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_20, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_3_1_1_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2794:1: ( (lv_memberCallArguments_21_0= ruleXExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2795:1: (lv_memberCallArguments_21_0= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2795:1: (lv_memberCallArguments_21_0= ruleXExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2796:3: lv_memberCallArguments_21_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall6907); |
| lv_memberCallArguments_21_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| current, |
| "memberCallArguments", |
| lv_memberCallArguments_21_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop48; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_22=(Token)match(input,30,FOLLOW_30_in_ruleXMemberFeatureCall6924); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_22, grammarAccess.getXMemberFeatureCallAccess().getRightParenthesisKeyword_1_1_3_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2816:3: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? |
| int alt51=2; |
| alt51 = dfa51.predict(input); |
| switch (alt51) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2816:4: ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2819:1: (lv_memberCallArguments_23_0= ruleXClosure ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2820:3: lv_memberCallArguments_23_0= ruleXClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXClosure_in_ruleXMemberFeatureCall6959); |
| lv_memberCallArguments_23_0=ruleXClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| current, |
| "memberCallArguments", |
| lv_memberCallArguments_23_0, |
| "XClosure"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop52; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXMemberFeatureCall" |
| |
| |
| // $ANTLR start "entryRuleXPrimaryExpression" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2844:1: entryRuleXPrimaryExpression returns [EObject current=null] : iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF ; |
| public final EObject entryRuleXPrimaryExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXPrimaryExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2845:2: (iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2846:2: iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXPrimaryExpression_in_entryRuleXPrimaryExpression6999); |
| iv_ruleXPrimaryExpression=ruleXPrimaryExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXPrimaryExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXPrimaryExpression7009); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXPrimaryExpression" |
| |
| |
| // $ANTLR start "ruleXPrimaryExpression" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2853:1: ruleXPrimaryExpression returns [EObject current=null] : (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) ; |
| public final EObject ruleXPrimaryExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_XConstructorCall_0 = null; |
| |
| EObject this_XBlockExpression_1 = null; |
| |
| EObject this_XSwitchExpression_2 = null; |
| |
| EObject this_XSynchronizedExpression_3 = null; |
| |
| EObject this_XFeatureCall_4 = null; |
| |
| EObject this_XLiteral_5 = null; |
| |
| EObject this_XIfExpression_6 = null; |
| |
| EObject this_XForLoopExpression_7 = null; |
| |
| EObject this_XBasicForLoopExpression_8 = null; |
| |
| EObject this_XWhileExpression_9 = null; |
| |
| EObject this_XDoWhileExpression_10 = null; |
| |
| EObject this_XThrowExpression_11 = null; |
| |
| EObject this_XReturnExpression_12 = null; |
| |
| EObject this_XTryCatchFinallyExpression_13 = null; |
| |
| EObject this_XParenthesizedExpression_14 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2856:28: ( (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2857:1: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2857:1: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) |
| int alt53=15; |
| alt53 = dfa53.predict(input); |
| switch (alt53) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2858:5: this_XConstructorCall_0= ruleXConstructorCall |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXConstructorCall_in_ruleXPrimaryExpression7056); |
| this_XConstructorCall_0=ruleXConstructorCall(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XConstructorCall_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2868:5: this_XBlockExpression_1= ruleXBlockExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleXBlockExpression_in_ruleXPrimaryExpression7083); |
| this_XBlockExpression_1=ruleXBlockExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XBlockExpression_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2878:5: this_XSwitchExpression_2= ruleXSwitchExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2()); |
| |
| } |
| pushFollow(FOLLOW_ruleXSwitchExpression_in_ruleXPrimaryExpression7110); |
| this_XSwitchExpression_2=ruleXSwitchExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XSwitchExpression_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2887:6: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2887:6: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2887:7: ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3()); |
| |
| } |
| pushFollow(FOLLOW_ruleXSynchronizedExpression_in_ruleXPrimaryExpression7154); |
| this_XSynchronizedExpression_3=ruleXSynchronizedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XSynchronizedExpression_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 5 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2901:5: this_XFeatureCall_4= ruleXFeatureCall |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4()); |
| |
| } |
| pushFollow(FOLLOW_ruleXFeatureCall_in_ruleXPrimaryExpression7182); |
| this_XFeatureCall_4=ruleXFeatureCall(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XFeatureCall_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2911:5: this_XLiteral_5= ruleXLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5()); |
| |
| } |
| pushFollow(FOLLOW_ruleXLiteral_in_ruleXPrimaryExpression7209); |
| this_XLiteral_5=ruleXLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XLiteral_5; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2921:5: this_XIfExpression_6= ruleXIfExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6()); |
| |
| } |
| pushFollow(FOLLOW_ruleXIfExpression_in_ruleXPrimaryExpression7236); |
| this_XIfExpression_6=ruleXIfExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XIfExpression_6; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 8 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2930:6: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2930:6: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2930:7: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7()); |
| |
| } |
| pushFollow(FOLLOW_ruleXForLoopExpression_in_ruleXPrimaryExpression7293); |
| this_XForLoopExpression_7=ruleXForLoopExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XForLoopExpression_7; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 9 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2949:5: this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8()); |
| |
| } |
| pushFollow(FOLLOW_ruleXBasicForLoopExpression_in_ruleXPrimaryExpression7321); |
| this_XBasicForLoopExpression_8=ruleXBasicForLoopExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XBasicForLoopExpression_8; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 10 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2959:5: this_XWhileExpression_9= ruleXWhileExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9()); |
| |
| } |
| pushFollow(FOLLOW_ruleXWhileExpression_in_ruleXPrimaryExpression7348); |
| this_XWhileExpression_9=ruleXWhileExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XWhileExpression_9; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 11 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2969:5: this_XDoWhileExpression_10= ruleXDoWhileExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10()); |
| |
| } |
| pushFollow(FOLLOW_ruleXDoWhileExpression_in_ruleXPrimaryExpression7375); |
| this_XDoWhileExpression_10=ruleXDoWhileExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XDoWhileExpression_10; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 12 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2979:5: this_XThrowExpression_11= ruleXThrowExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11()); |
| |
| } |
| pushFollow(FOLLOW_ruleXThrowExpression_in_ruleXPrimaryExpression7402); |
| this_XThrowExpression_11=ruleXThrowExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XThrowExpression_11; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 13 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2989:5: this_XReturnExpression_12= ruleXReturnExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12()); |
| |
| } |
| pushFollow(FOLLOW_ruleXReturnExpression_in_ruleXPrimaryExpression7429); |
| this_XReturnExpression_12=ruleXReturnExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XReturnExpression_12; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 14 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:2999:5: this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13()); |
| |
| } |
| pushFollow(FOLLOW_ruleXTryCatchFinallyExpression_in_ruleXPrimaryExpression7456); |
| this_XTryCatchFinallyExpression_13=ruleXTryCatchFinallyExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XTryCatchFinallyExpression_13; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 15 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3009:5: this_XParenthesizedExpression_14= ruleXParenthesizedExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14()); |
| |
| } |
| pushFollow(FOLLOW_ruleXParenthesizedExpression_in_ruleXPrimaryExpression7483); |
| this_XParenthesizedExpression_14=ruleXParenthesizedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XParenthesizedExpression_14; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXPrimaryExpression" |
| |
| |
| // $ANTLR start "entryRuleXLiteral" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3025:1: entryRuleXLiteral returns [EObject current=null] : iv_ruleXLiteral= ruleXLiteral EOF ; |
| public final EObject entryRuleXLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXLiteral = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3026:2: (iv_ruleXLiteral= ruleXLiteral EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3027:2: iv_ruleXLiteral= ruleXLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXLiteralRule()); |
| } |
| pushFollow(FOLLOW_ruleXLiteral_in_entryRuleXLiteral7518); |
| iv_ruleXLiteral=ruleXLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXLiteral; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXLiteral7528); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXLiteral" |
| |
| |
| // $ANTLR start "ruleXLiteral" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3034:1: ruleXLiteral returns [EObject current=null] : (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) ; |
| public final EObject ruleXLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_XCollectionLiteral_0 = null; |
| |
| EObject this_XClosure_1 = null; |
| |
| EObject this_XBooleanLiteral_2 = null; |
| |
| EObject this_XNumberLiteral_3 = null; |
| |
| EObject this_XNullLiteral_4 = null; |
| |
| EObject this_XStringLiteral_5 = null; |
| |
| EObject this_XTypeLiteral_6 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3037:28: ( (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3038:1: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3038:1: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) |
| int alt54=7; |
| int LA54_0 = input.LA(1); |
| |
| if ( (LA54_0==32) ) { |
| alt54=1; |
| } |
| else if ( (LA54_0==33) && (synpred27_InternalDialogDsl())) { |
| alt54=2; |
| } |
| else if ( ((LA54_0>=85 && LA54_0<=86)) ) { |
| alt54=3; |
| } |
| else if ( ((LA54_0>=RULE_HEX && LA54_0<=RULE_DECIMAL)) ) { |
| alt54=4; |
| } |
| else if ( (LA54_0==87) ) { |
| alt54=5; |
| } |
| else if ( (LA54_0==RULE_STRING) ) { |
| alt54=6; |
| } |
| else if ( (LA54_0==88) ) { |
| alt54=7; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 54, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt54) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3039:5: this_XCollectionLiteral_0= ruleXCollectionLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXCollectionLiteral_in_ruleXLiteral7575); |
| this_XCollectionLiteral_0=ruleXCollectionLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XCollectionLiteral_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3048:6: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3048:6: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3048:7: ( ( () '[' ) )=>this_XClosure_1= ruleXClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleXClosure_in_ruleXLiteral7615); |
| this_XClosure_1=ruleXClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XClosure_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3061:5: this_XBooleanLiteral_2= ruleXBooleanLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2()); |
| |
| } |
| pushFollow(FOLLOW_ruleXBooleanLiteral_in_ruleXLiteral7643); |
| this_XBooleanLiteral_2=ruleXBooleanLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XBooleanLiteral_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3071:5: this_XNumberLiteral_3= ruleXNumberLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3()); |
| |
| } |
| pushFollow(FOLLOW_ruleXNumberLiteral_in_ruleXLiteral7670); |
| this_XNumberLiteral_3=ruleXNumberLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XNumberLiteral_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3081:5: this_XNullLiteral_4= ruleXNullLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4()); |
| |
| } |
| pushFollow(FOLLOW_ruleXNullLiteral_in_ruleXLiteral7697); |
| this_XNullLiteral_4=ruleXNullLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XNullLiteral_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3091:5: this_XStringLiteral_5= ruleXStringLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5()); |
| |
| } |
| pushFollow(FOLLOW_ruleXStringLiteral_in_ruleXLiteral7724); |
| this_XStringLiteral_5=ruleXStringLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XStringLiteral_5; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3101:5: this_XTypeLiteral_6= ruleXTypeLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6()); |
| |
| } |
| pushFollow(FOLLOW_ruleXTypeLiteral_in_ruleXLiteral7751); |
| this_XTypeLiteral_6=ruleXTypeLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XTypeLiteral_6; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXLiteral" |
| |
| |
| // $ANTLR start "entryRuleXCollectionLiteral" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3117:1: entryRuleXCollectionLiteral returns [EObject current=null] : iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF ; |
| public final EObject entryRuleXCollectionLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXCollectionLiteral = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3118:2: (iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3119:2: iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXCollectionLiteralRule()); |
| } |
| pushFollow(FOLLOW_ruleXCollectionLiteral_in_entryRuleXCollectionLiteral7786); |
| iv_ruleXCollectionLiteral=ruleXCollectionLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXCollectionLiteral; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXCollectionLiteral7796); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXCollectionLiteral" |
| |
| |
| // $ANTLR start "ruleXCollectionLiteral" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3126:1: ruleXCollectionLiteral returns [EObject current=null] : (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) ; |
| public final EObject ruleXCollectionLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_XSetLiteral_0 = null; |
| |
| EObject this_XListLiteral_1 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3129:28: ( (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3130:1: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3130:1: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) |
| int alt55=2; |
| int LA55_0 = input.LA(1); |
| |
| if ( (LA55_0==32) ) { |
| int LA55_1 = input.LA(2); |
| |
| if ( (LA55_1==14) ) { |
| alt55=1; |
| } |
| else if ( (LA55_1==33) ) { |
| alt55=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 55, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 55, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt55) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3131:5: this_XSetLiteral_0= ruleXSetLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXSetLiteral_in_ruleXCollectionLiteral7843); |
| this_XSetLiteral_0=ruleXSetLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XSetLiteral_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3141:5: this_XListLiteral_1= ruleXListLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleXListLiteral_in_ruleXCollectionLiteral7870); |
| this_XListLiteral_1=ruleXListLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XListLiteral_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXCollectionLiteral" |
| |
| |
| // $ANTLR start "entryRuleXSetLiteral" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3157:1: entryRuleXSetLiteral returns [EObject current=null] : iv_ruleXSetLiteral= ruleXSetLiteral EOF ; |
| public final EObject entryRuleXSetLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXSetLiteral = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3158:2: (iv_ruleXSetLiteral= ruleXSetLiteral EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3159:2: iv_ruleXSetLiteral= ruleXSetLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXSetLiteralRule()); |
| } |
| pushFollow(FOLLOW_ruleXSetLiteral_in_entryRuleXSetLiteral7905); |
| iv_ruleXSetLiteral=ruleXSetLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXSetLiteral; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXSetLiteral7915); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXSetLiteral" |
| |
| |
| // $ANTLR start "ruleXSetLiteral" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3166:1: ruleXSetLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) ; |
| public final EObject ruleXSetLiteral() 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; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3169:28: ( ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3170:1: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3170:1: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3170:2: () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3170:2: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3171:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleXSetLiteral7961); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleXSetLiteral7973); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXSetLiteralAccess().getLeftCurlyBracketKeyword_2()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3184:1: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? |
| int alt57=2; |
| int LA57_0 = input.LA(1); |
| |
| if ( ((LA57_0>=RULE_ID && LA57_0<=RULE_DECIMAL)||LA57_0==14||LA57_0==16||LA57_0==28||(LA57_0>=32 && LA57_0<=33)||LA57_0==40||(LA57_0>=56 && LA57_0<=57)||LA57_0==61||LA57_0==69||LA57_0==71||(LA57_0>=75 && LA57_0<=77)||(LA57_0>=80 && LA57_0<=91)||LA57_0==93) ) { |
| alt57=1; |
| } |
| switch (alt57) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3184:2: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3184:2: ( (lv_elements_3_0= ruleXExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3185:1: (lv_elements_3_0= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3185:1: (lv_elements_3_0= ruleXExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3186:3: lv_elements_3_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXExpression_in_ruleXSetLiteral7995); |
| lv_elements_3_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSetLiteralRule()); |
| } |
| add( |
| current, |
| "elements", |
| lv_elements_3_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3202:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* |
| loop56: |
| do { |
| int alt56=2; |
| int LA56_0 = input.LA(1); |
| |
| if ( (LA56_0==29) ) { |
| alt56=1; |
| } |
| |
| |
| switch (alt56) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3202:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) |
| { |
| otherlv_4=(Token)match(input,29,FOLLOW_29_in_ruleXSetLiteral8008); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3206:1: ( (lv_elements_5_0= ruleXExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3207:1: (lv_elements_5_0= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3207:1: (lv_elements_5_0= ruleXExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3208:3: lv_elements_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXExpression_in_ruleXSetLiteral8029); |
| lv_elements_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSetLiteralRule()); |
| } |
| add( |
| current, |
| "elements", |
| lv_elements_5_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop56; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,15,FOLLOW_15_in_ruleXSetLiteral8045); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXSetLiteral" |
| |
| |
| // $ANTLR start "entryRuleXListLiteral" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3236:1: entryRuleXListLiteral returns [EObject current=null] : iv_ruleXListLiteral= ruleXListLiteral EOF ; |
| public final EObject entryRuleXListLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXListLiteral = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3237:2: (iv_ruleXListLiteral= ruleXListLiteral EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3238:2: iv_ruleXListLiteral= ruleXListLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXListLiteralRule()); |
| } |
| pushFollow(FOLLOW_ruleXListLiteral_in_entryRuleXListLiteral8081); |
| iv_ruleXListLiteral=ruleXListLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXListLiteral; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXListLiteral8091); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXListLiteral" |
| |
| |
| // $ANTLR start "ruleXListLiteral" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3245:1: ruleXListLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) ; |
| public final EObject ruleXListLiteral() 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; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3248:28: ( ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3249:1: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3249:1: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3249:2: () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3249:2: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3250:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXListLiteralAccess().getXListLiteralAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,32,FOLLOW_32_in_ruleXListLiteral8137); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXListLiteralAccess().getNumberSignKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,33,FOLLOW_33_in_ruleXListLiteral8149); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXListLiteralAccess().getLeftSquareBracketKeyword_2()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3263:1: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? |
| int alt59=2; |
| int LA59_0 = input.LA(1); |
| |
| if ( ((LA59_0>=RULE_ID && LA59_0<=RULE_DECIMAL)||LA59_0==14||LA59_0==16||LA59_0==28||(LA59_0>=32 && LA59_0<=33)||LA59_0==40||(LA59_0>=56 && LA59_0<=57)||LA59_0==61||LA59_0==69||LA59_0==71||(LA59_0>=75 && LA59_0<=77)||(LA59_0>=80 && LA59_0<=91)||LA59_0==93) ) { |
| alt59=1; |
| } |
| switch (alt59) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3263:2: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3263:2: ( (lv_elements_3_0= ruleXExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3264:1: (lv_elements_3_0= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3264:1: (lv_elements_3_0= ruleXExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3265:3: lv_elements_3_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXExpression_in_ruleXListLiteral8171); |
| lv_elements_3_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXListLiteralRule()); |
| } |
| add( |
| current, |
| "elements", |
| lv_elements_3_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3281:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* |
| loop58: |
| do { |
| int alt58=2; |
| int LA58_0 = input.LA(1); |
| |
| if ( (LA58_0==29) ) { |
| alt58=1; |
| } |
| |
| |
| switch (alt58) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3281:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) |
| { |
| otherlv_4=(Token)match(input,29,FOLLOW_29_in_ruleXListLiteral8184); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXListLiteralAccess().getCommaKeyword_3_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3285:1: ( (lv_elements_5_0= ruleXExpression ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3286:1: (lv_elements_5_0= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3286:1: (lv_elements_5_0= ruleXExpression ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3287:3: lv_elements_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXExpression_in_ruleXListLiteral8205); |
| lv_elements_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXListLiteralRule()); |
| } |
| add( |
| current, |
| "elements", |
| lv_elements_5_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop58; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,34,FOLLOW_34_in_ruleXListLiteral8221); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXListLiteralAccess().getRightSquareBracketKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXListLiteral" |
| |
| |
| // $ANTLR start "entryRuleXClosure" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3315:1: entryRuleXClosure returns [EObject current=null] : iv_ruleXClosure= ruleXClosure EOF ; |
| public final EObject entryRuleXClosure() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXClosure = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3316:2: (iv_ruleXClosure= ruleXClosure EOF ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3317:2: iv_ruleXClosure= ruleXClosure EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXClosureRule()); |
| } |
| pushFollow(FOLLOW_ruleXClosure_in_entryRuleXClosure8257); |
| iv_ruleXClosure=ruleXClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXClosure; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXClosure8267); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXClosure" |
| |
| |
| // $ANTLR start "ruleXClosure" |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3324:1: ruleXClosure returns [EObject current=null] : ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) ; |
| public final EObject ruleXClosure() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token lv_explicitSyntax_5_0=null; |
| Token otherlv_7=null; |
| EObject lv_declaredFormalParameters_2_0 = null; |
| |
| EObject lv_declaredFormalParameters_4_0 = null; |
| |
| EObject lv_expression_6_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3327:28: ( ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3328:1: ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3328:1: ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3328:2: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3328:2: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3328:3: ( ( () '[' ) )=> ( () otherlv_1= '[' ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3330:5: ( () otherlv_1= '[' ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3330:6: () otherlv_1= '[' |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3330:6: () |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3331:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXClosureAccess().getXClosureAction_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,33,FOLLOW_33_in_ruleXClosure8327); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXClosureAccess().getLeftSquareBracketKeyword_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3340:3: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? |
| int alt62=2; |
| alt62 = dfa62.predict(input); |
| switch (alt62) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3340:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3355:6: ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3355:7: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3355:7: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? |
| int alt61=2; |
| int LA61_0 = input.LA(1); |
| |
| if ( (LA61_0==RULE_ID||LA61_0==28||LA61_0==53) ) { |
| alt61=1; |
| } |
| switch (alt61) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3355:8: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3355:8: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3356:1: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) |
| { |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3356:1: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) |
| // ../org.eclipse.osbp.xtext.dialogdsl/src-gen/org/eclipse/osbp/xtext/dialogdsl/parser/antlr/internal/InternalDialogDsl.g:3357:3: lv_declaredFormalParameters_2_0= ruleJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleJvmFormalParameter_in_ruleXClosure8400); |
| lv_declaredFormalParameters_2_0=ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXClosureRule()); |
| } |
| add( |
| current, |
| "declaredFormalParameters", |
| lv_declaredFormalParameters_2_0, |
| "JvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |