| /** |
| * |
| * Copyright (c) 2011, 2016 - Loetz GmbH&Co.KG (69115 Heidelberg, Germany) |
| * |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Christophe Loetz (Loetz GmbH&Co.KG) - initial implementation |
| * |
| */ |
| package org.eclipse.osbp.xtext.datainterchange.parser.antlr.internal; |
| |
| import org.eclipse.xtext.*; |
| import org.eclipse.xtext.parser.*; |
| import org.eclipse.xtext.parser.impl.*; |
| import org.eclipse.emf.ecore.util.EcoreUtil; |
| import org.eclipse.emf.ecore.EObject; |
| import org.eclipse.emf.common.util.Enumerator; |
| import org.eclipse.xtext.parser.antlr.AbstractInternalAntlrParser; |
| import org.eclipse.xtext.parser.antlr.XtextTokenStream; |
| import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens; |
| import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken; |
| import org.eclipse.osbp.xtext.datainterchange.services.DataDSLGrammarAccess; |
| |
| |
| |
| 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 InternalDataDSLParser extends AbstractInternalAntlrParser { |
| public static final String[] tokenNames = new String[] { |
| "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_STRING", "RULE_ID", "RULE_HEX", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "'title'", "'{'", "'}'", "'interchange'", "'described by'", "'create report'", "'averageElementSize'", "'progressBarStyle'", "'refreshViewWhenFinished'", "'file'", "'beans'", "'XML'", "'CSV'", "'delimiter'", "'quoteCharacter'", "'skipLines'", "'indent'", "'strict'", "'validateHeader'", "'encoding'", "'EDI'", "'mappingModel'", "'validate'", "'entity'", "'createOn'", "'marker'", "'recordElement'", "'recordList'", "'expression'", "'lookup'", "'format'", "'mapping'", "'for'", "'on'", "'with'", "'cacheSize'", "'mapTo'", "'allowNoResult'", "'allowNonuniqueResult'", "'markerPath'", "'markerEntity'", "'markedBy'", "'coding'", "'locale'", "'copy'", "'from'", "'property'", "'assign'", "'as'", "'map'", "'to'", "'import'", "'.'", "'*'", "'@'", "'('", "','", "')'", "'='", "'#'", "'['", "']'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'+'", "'-'", "'**'", "'/'", "'%'", "'!'", "'++'", "'--'", "'::'", "'?.'", "'|'", "';'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'while'", "'do'", "'var'", "'val'", "'extends'", "'static'", "'extension'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'", "'NowDate'", "'StartDate'", "'UniversallyUniqueIdentifier'", "'Date'", "'Milliseconds'", "'Nanoseconds'", "'Random'", "'ExecuteContext'", "'none'", "'normal'", "'important'" |
| }; |
| public static final int T__144=144; |
| public static final int T__143=143; |
| public static final int T__146=146; |
| public static final int RULE_HEX=7; |
| public static final int T__50=50; |
| public static final int T__145=145; |
| public static final int T__140=140; |
| public static final int T__142=142; |
| public static final int T__141=141; |
| 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__137=137; |
| public static final int T__52=52; |
| public static final int T__136=136; |
| public static final int T__53=53; |
| public static final int T__139=139; |
| public static final int T__54=54; |
| public static final int T__138=138; |
| public static final int T__133=133; |
| public static final int T__132=132; |
| public static final int T__60=60; |
| public static final int T__135=135; |
| public static final int T__61=61; |
| public static final int T__134=134; |
| public static final int RULE_ID=6; |
| public static final int T__131=131; |
| public static final int T__130=130; |
| public static final int RULE_INT=4; |
| public static final int T__66=66; |
| public static final int RULE_ML_COMMENT=9; |
| public static final int T__67=67; |
| public static final int T__129=129; |
| public static final int T__68=68; |
| public static final int T__69=69; |
| public static final int T__62=62; |
| public static final int T__126=126; |
| public static final int T__63=63; |
| public static final int T__125=125; |
| public static final int T__64=64; |
| public static final int T__128=128; |
| public static final int T__65=65; |
| public static final int T__127=127; |
| public static final int T__37=37; |
| public static final int T__38=38; |
| public static final int T__39=39; |
| public static final int T__33=33; |
| public static final int T__34=34; |
| public static final int T__35=35; |
| public static final int T__36=36; |
| public static final int T__30=30; |
| public static final int T__31=31; |
| public static final int T__32=32; |
| public static final int T__48=48; |
| public static final int T__49=49; |
| public static final int T__44=44; |
| public static final int T__45=45; |
| public static final int T__46=46; |
| public static final int T__47=47; |
| public static final int T__40=40; |
| public static final int T__41=41; |
| public static final int T__42=42; |
| public static final int T__43=43; |
| public static final int T__91=91; |
| public static final int T__100=100; |
| public static final int T__92=92; |
| public static final int T__93=93; |
| public static final int T__102=102; |
| public static final int T__94=94; |
| public static final int T__101=101; |
| public static final int T__90=90; |
| public static final int T__19=19; |
| public static final int T__15=15; |
| public static final int T__16=16; |
| public static final int T__17=17; |
| public static final int T__18=18; |
| public static final int T__99=99; |
| public static final int T__13=13; |
| public static final int T__14=14; |
| public static final int T__95=95; |
| public static final int T__96=96; |
| public static final int T__97=97; |
| public static final int T__98=98; |
| public static final int RULE_DECIMAL=8; |
| public static final int T__26=26; |
| public static final int T__27=27; |
| public static final int T__28=28; |
| public static final int T__29=29; |
| public static final int T__22=22; |
| public static final int T__23=23; |
| public static final int T__24=24; |
| public static final int T__25=25; |
| public static final int T__20=20; |
| public static final int T__21=21; |
| public static final int T__122=122; |
| public static final int T__70=70; |
| public static final int T__121=121; |
| public static final int T__71=71; |
| public static final int T__124=124; |
| public static final int T__72=72; |
| public static final int T__123=123; |
| public static final int T__120=120; |
| public static final int RULE_STRING=5; |
| public static final int RULE_SL_COMMENT=10; |
| public static final int T__77=77; |
| public static final int T__119=119; |
| public static final int T__78=78; |
| public static final int T__118=118; |
| public static final int T__79=79; |
| public static final int T__73=73; |
| public static final int T__115=115; |
| public static final int EOF=-1; |
| public static final int T__74=74; |
| public static final int T__114=114; |
| public static final int T__75=75; |
| public static final int T__117=117; |
| public static final int T__76=76; |
| public static final int T__116=116; |
| public static final int T__80=80; |
| public static final int T__111=111; |
| public static final int T__81=81; |
| public static final int T__110=110; |
| public static final int T__82=82; |
| public static final int T__113=113; |
| public static final int T__83=83; |
| public static final int T__112=112; |
| public static final int RULE_WS=11; |
| public static final int RULE_ANY_OTHER=12; |
| public static final int T__88=88; |
| public static final int T__108=108; |
| public static final int T__89=89; |
| public static final int T__107=107; |
| public static final int T__109=109; |
| public static final int T__84=84; |
| public static final int T__104=104; |
| public static final int T__85=85; |
| public static final int T__103=103; |
| public static final int T__86=86; |
| public static final int T__106=106; |
| public static final int T__87=87; |
| public static final int T__105=105; |
| |
| // delegates |
| // delegators |
| |
| |
| public InternalDataDSLParser(TokenStream input) { |
| this(input, new RecognizerSharedState()); |
| } |
| public InternalDataDSLParser(TokenStream input, RecognizerSharedState state) { |
| super(input, state); |
| |
| } |
| |
| |
| public String[] getTokenNames() { return InternalDataDSLParser.tokenNames; } |
| public String getGrammarFileName() { return "../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g"; } |
| |
| |
| |
| private DataDSLGrammarAccess grammarAccess; |
| |
| public InternalDataDSLParser(TokenStream input, DataDSLGrammarAccess grammarAccess) { |
| this(input); |
| this.grammarAccess = grammarAccess; |
| registerRules(grammarAccess.getGrammar()); |
| } |
| |
| @Override |
| protected String getFirstRuleName() { |
| return "DataInterchangeModel"; |
| } |
| |
| @Override |
| protected DataDSLGrammarAccess getGrammarAccess() { |
| return grammarAccess; |
| } |
| |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeModel" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:68:1: entryRuleDataInterchangeModel returns [EObject current=null] : iv_ruleDataInterchangeModel= ruleDataInterchangeModel EOF ; |
| public final EObject entryRuleDataInterchangeModel() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeModel = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:69:2: (iv_ruleDataInterchangeModel= ruleDataInterchangeModel EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:70:2: iv_ruleDataInterchangeModel= ruleDataInterchangeModel EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeModelRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeModel_in_entryRuleDataInterchangeModel75); |
| iv_ruleDataInterchangeModel=ruleDataInterchangeModel(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeModel; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeModel85); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeModel" |
| |
| |
| // $ANTLR start "ruleDataInterchangeModel" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:77:1: ruleDataInterchangeModel returns [EObject current=null] : ( (lv_packages_0_0= ruleDataInterchangePackage ) )* ; |
| public final EObject ruleDataInterchangeModel() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_packages_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:80:28: ( ( (lv_packages_0_0= ruleDataInterchangePackage ) )* ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:81:1: ( (lv_packages_0_0= ruleDataInterchangePackage ) )* |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:81:1: ( (lv_packages_0_0= ruleDataInterchangePackage ) )* |
| loop1: |
| do { |
| int alt1=2; |
| int LA1_0 = input.LA(1); |
| |
| if ( (LA1_0==13) ) { |
| alt1=1; |
| } |
| |
| |
| switch (alt1) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:82:1: (lv_packages_0_0= ruleDataInterchangePackage ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:82:1: (lv_packages_0_0= ruleDataInterchangePackage ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:83:3: lv_packages_0_0= ruleDataInterchangePackage |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeModelAccess().getPackagesDataInterchangePackageParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangePackage_in_ruleDataInterchangeModel130); |
| lv_packages_0_0=ruleDataInterchangePackage(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeModelRule()); |
| } |
| add( |
| current, |
| "packages", |
| lv_packages_0_0, |
| "DataInterchangePackage"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop1; |
| } |
| } while (true); |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeModel" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangePackage" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:107:1: entryRuleDataInterchangePackage returns [EObject current=null] : iv_ruleDataInterchangePackage= ruleDataInterchangePackage EOF ; |
| public final EObject entryRuleDataInterchangePackage() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangePackage = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:108:2: (iv_ruleDataInterchangePackage= ruleDataInterchangePackage EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:109:2: iv_ruleDataInterchangePackage= ruleDataInterchangePackage EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangePackageRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangePackage_in_entryRuleDataInterchangePackage166); |
| iv_ruleDataInterchangePackage=ruleDataInterchangePackage(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangePackage; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangePackage176); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangePackage" |
| |
| |
| // $ANTLR start "ruleDataInterchangePackage" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:116:1: ruleDataInterchangePackage returns [EObject current=null] : ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= 'title' ( (lv_title_4_0= ruleTRANSLATABLESTRING ) ) (otherlv_5= '{' ( (lv_imports_6_0= ruleDataInterchangeImport ) )* ( (lv_datInts_7_0= ruleDataInterchange ) )* otherlv_8= '}' )? ) ; |
| public final EObject ruleDataInterchangePackage() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_8=null; |
| AntlrDatatypeRuleToken lv_name_2_0 = null; |
| |
| AntlrDatatypeRuleToken lv_title_4_0 = null; |
| |
| EObject lv_imports_6_0 = null; |
| |
| EObject lv_datInts_7_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:119:28: ( ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= 'title' ( (lv_title_4_0= ruleTRANSLATABLESTRING ) ) (otherlv_5= '{' ( (lv_imports_6_0= ruleDataInterchangeImport ) )* ( (lv_datInts_7_0= ruleDataInterchange ) )* otherlv_8= '}' )? ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:120:1: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= 'title' ( (lv_title_4_0= ruleTRANSLATABLESTRING ) ) (otherlv_5= '{' ( (lv_imports_6_0= ruleDataInterchangeImport ) )* ( (lv_datInts_7_0= ruleDataInterchange ) )* otherlv_8= '}' )? ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:120:1: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= 'title' ( (lv_title_4_0= ruleTRANSLATABLESTRING ) ) (otherlv_5= '{' ( (lv_imports_6_0= ruleDataInterchangeImport ) )* ( (lv_datInts_7_0= ruleDataInterchange ) )* otherlv_8= '}' )? ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:120:2: () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= 'title' ( (lv_title_4_0= ruleTRANSLATABLESTRING ) ) (otherlv_5= '{' ( (lv_imports_6_0= ruleDataInterchangeImport ) )* ( (lv_datInts_7_0= ruleDataInterchange ) )* otherlv_8= '}' )? |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:120:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:121:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangePackageAccess().getDataInterchangePackageAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,13,FOLLOW_13_in_ruleDataInterchangePackage222); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangePackageAccess().getPackageKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:130:1: ( (lv_name_2_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:131:1: (lv_name_2_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:131:1: (lv_name_2_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:132:3: lv_name_2_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangePackageAccess().getNameQualifiedNameParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleQualifiedName_in_ruleDataInterchangePackage243); |
| lv_name_2_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangePackageRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_2_0, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleDataInterchangePackage255); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDataInterchangePackageAccess().getTitleKeyword_3()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:152:1: ( (lv_title_4_0= ruleTRANSLATABLESTRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:153:1: (lv_title_4_0= ruleTRANSLATABLESTRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:153:1: (lv_title_4_0= ruleTRANSLATABLESTRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:154:3: lv_title_4_0= ruleTRANSLATABLESTRING |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangePackageAccess().getTitleTRANSLATABLESTRINGParserRuleCall_4_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_ruleDataInterchangePackage276); |
| lv_title_4_0=ruleTRANSLATABLESTRING(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangePackageRule()); |
| } |
| set( |
| current, |
| "title", |
| lv_title_4_0, |
| "TRANSLATABLESTRING"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:170:2: (otherlv_5= '{' ( (lv_imports_6_0= ruleDataInterchangeImport ) )* ( (lv_datInts_7_0= ruleDataInterchange ) )* otherlv_8= '}' )? |
| int alt4=2; |
| int LA4_0 = input.LA(1); |
| |
| if ( (LA4_0==15) ) { |
| alt4=1; |
| } |
| switch (alt4) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:170:4: otherlv_5= '{' ( (lv_imports_6_0= ruleDataInterchangeImport ) )* ( (lv_datInts_7_0= ruleDataInterchange ) )* otherlv_8= '}' |
| { |
| otherlv_5=(Token)match(input,15,FOLLOW_15_in_ruleDataInterchangePackage289); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDataInterchangePackageAccess().getLeftCurlyBracketKeyword_5_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:174:1: ( (lv_imports_6_0= ruleDataInterchangeImport ) )* |
| loop2: |
| do { |
| int alt2=2; |
| int LA2_0 = input.LA(1); |
| |
| if ( (LA2_0==65) ) { |
| alt2=1; |
| } |
| |
| |
| switch (alt2) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:175:1: (lv_imports_6_0= ruleDataInterchangeImport ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:175:1: (lv_imports_6_0= ruleDataInterchangeImport ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:176:3: lv_imports_6_0= ruleDataInterchangeImport |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangePackageAccess().getImportsDataInterchangeImportParserRuleCall_5_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeImport_in_ruleDataInterchangePackage310); |
| lv_imports_6_0=ruleDataInterchangeImport(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangePackageRule()); |
| } |
| add( |
| current, |
| "imports", |
| lv_imports_6_0, |
| "DataInterchangeImport"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop2; |
| } |
| } while (true); |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:192:3: ( (lv_datInts_7_0= ruleDataInterchange ) )* |
| loop3: |
| do { |
| int alt3=2; |
| int LA3_0 = input.LA(1); |
| |
| if ( (LA3_0==17) ) { |
| alt3=1; |
| } |
| |
| |
| switch (alt3) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:193:1: (lv_datInts_7_0= ruleDataInterchange ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:193:1: (lv_datInts_7_0= ruleDataInterchange ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:194:3: lv_datInts_7_0= ruleDataInterchange |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangePackageAccess().getDatIntsDataInterchangeParserRuleCall_5_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchange_in_ruleDataInterchangePackage332); |
| lv_datInts_7_0=ruleDataInterchange(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangePackageRule()); |
| } |
| add( |
| current, |
| "datInts", |
| lv_datInts_7_0, |
| "DataInterchange"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop3; |
| } |
| } while (true); |
| |
| otherlv_8=(Token)match(input,16,FOLLOW_16_in_ruleDataInterchangePackage345); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDataInterchangePackageAccess().getRightCurlyBracketKeyword_5_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangePackage" |
| |
| |
| // $ANTLR start "entryRuleDataInterchange" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:222:1: entryRuleDataInterchange returns [EObject current=null] : iv_ruleDataInterchange= ruleDataInterchange EOF ; |
| public final EObject entryRuleDataInterchange() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchange = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:223:2: (iv_ruleDataInterchange= ruleDataInterchange EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:224:2: iv_ruleDataInterchange= ruleDataInterchange EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchange_in_entryRuleDataInterchange383); |
| iv_ruleDataInterchange=ruleDataInterchange(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchange; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchange393); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchange" |
| |
| |
| // $ANTLR start "ruleDataInterchange" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:231:1: ruleDataInterchange returns [EObject current=null] : ( () otherlv_1= 'interchange' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (lv_createReport_5_0= 'create report' ) )? (otherlv_6= 'averageElementSize' ( (lv_elementSize_7_0= RULE_INT ) ) )? (otherlv_8= 'progressBarStyle' ( (lv_progressBarStyle_9_0= ruleProgressBarStylesEnum ) ) )? ( ( (lv_refreshEnabled_10_0= 'refreshViewWhenFinished' ) ) ( (lv_refresh_11_0= RULE_STRING ) ) )? otherlv_12= 'file' ( (lv_fileEndpoint_13_0= ruleDataInterchangeFile ) ) otherlv_14= 'beans' otherlv_15= '{' ( (lv_path_16_0= ruleDataInterchangeBean ) )* otherlv_17= '}' ) ; |
| public final EObject ruleDataInterchange() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token lv_description_3_0=null; |
| Token lv_createReport_5_0=null; |
| Token otherlv_6=null; |
| Token lv_elementSize_7_0=null; |
| Token otherlv_8=null; |
| Token lv_refreshEnabled_10_0=null; |
| Token lv_refresh_11_0=null; |
| Token otherlv_12=null; |
| Token otherlv_14=null; |
| Token otherlv_15=null; |
| Token otherlv_17=null; |
| AntlrDatatypeRuleToken lv_name_2_0 = null; |
| |
| AntlrDatatypeRuleToken lv_descriptionValue_4_0 = null; |
| |
| Enumerator lv_progressBarStyle_9_0 = null; |
| |
| EObject lv_fileEndpoint_13_0 = null; |
| |
| EObject lv_path_16_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:234:28: ( ( () otherlv_1= 'interchange' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (lv_createReport_5_0= 'create report' ) )? (otherlv_6= 'averageElementSize' ( (lv_elementSize_7_0= RULE_INT ) ) )? (otherlv_8= 'progressBarStyle' ( (lv_progressBarStyle_9_0= ruleProgressBarStylesEnum ) ) )? ( ( (lv_refreshEnabled_10_0= 'refreshViewWhenFinished' ) ) ( (lv_refresh_11_0= RULE_STRING ) ) )? otherlv_12= 'file' ( (lv_fileEndpoint_13_0= ruleDataInterchangeFile ) ) otherlv_14= 'beans' otherlv_15= '{' ( (lv_path_16_0= ruleDataInterchangeBean ) )* otherlv_17= '}' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:235:1: ( () otherlv_1= 'interchange' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (lv_createReport_5_0= 'create report' ) )? (otherlv_6= 'averageElementSize' ( (lv_elementSize_7_0= RULE_INT ) ) )? (otherlv_8= 'progressBarStyle' ( (lv_progressBarStyle_9_0= ruleProgressBarStylesEnum ) ) )? ( ( (lv_refreshEnabled_10_0= 'refreshViewWhenFinished' ) ) ( (lv_refresh_11_0= RULE_STRING ) ) )? otherlv_12= 'file' ( (lv_fileEndpoint_13_0= ruleDataInterchangeFile ) ) otherlv_14= 'beans' otherlv_15= '{' ( (lv_path_16_0= ruleDataInterchangeBean ) )* otherlv_17= '}' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:235:1: ( () otherlv_1= 'interchange' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (lv_createReport_5_0= 'create report' ) )? (otherlv_6= 'averageElementSize' ( (lv_elementSize_7_0= RULE_INT ) ) )? (otherlv_8= 'progressBarStyle' ( (lv_progressBarStyle_9_0= ruleProgressBarStylesEnum ) ) )? ( ( (lv_refreshEnabled_10_0= 'refreshViewWhenFinished' ) ) ( (lv_refresh_11_0= RULE_STRING ) ) )? otherlv_12= 'file' ( (lv_fileEndpoint_13_0= ruleDataInterchangeFile ) ) otherlv_14= 'beans' otherlv_15= '{' ( (lv_path_16_0= ruleDataInterchangeBean ) )* otherlv_17= '}' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:235:2: () otherlv_1= 'interchange' ( (lv_name_2_0= ruleTRANSLATABLEID ) ) ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? ( (lv_createReport_5_0= 'create report' ) )? (otherlv_6= 'averageElementSize' ( (lv_elementSize_7_0= RULE_INT ) ) )? (otherlv_8= 'progressBarStyle' ( (lv_progressBarStyle_9_0= ruleProgressBarStylesEnum ) ) )? ( ( (lv_refreshEnabled_10_0= 'refreshViewWhenFinished' ) ) ( (lv_refresh_11_0= RULE_STRING ) ) )? otherlv_12= 'file' ( (lv_fileEndpoint_13_0= ruleDataInterchangeFile ) ) otherlv_14= 'beans' otherlv_15= '{' ( (lv_path_16_0= ruleDataInterchangeBean ) )* otherlv_17= '}' |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:235:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:236:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeAccess().getDataInterchangeAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,17,FOLLOW_17_in_ruleDataInterchange439); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeAccess().getInterchangeKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:245:1: ( (lv_name_2_0= ruleTRANSLATABLEID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:246:1: (lv_name_2_0= ruleTRANSLATABLEID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:246:1: (lv_name_2_0= ruleTRANSLATABLEID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:247:3: lv_name_2_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeAccess().getNameTRANSLATABLEIDParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleTRANSLATABLEID_in_ruleDataInterchange460); |
| lv_name_2_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_2_0, |
| "TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:263:2: ( ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) )? |
| int alt5=2; |
| int LA5_0 = input.LA(1); |
| |
| if ( (LA5_0==18) ) { |
| alt5=1; |
| } |
| switch (alt5) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:263:3: ( (lv_description_3_0= 'described by' ) ) ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:263:3: ( (lv_description_3_0= 'described by' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:264:1: (lv_description_3_0= 'described by' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:264:1: (lv_description_3_0= 'described by' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:265:3: lv_description_3_0= 'described by' |
| { |
| lv_description_3_0=(Token)match(input,18,FOLLOW_18_in_ruleDataInterchange479); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_description_3_0, grammarAccess.getDataInterchangeAccess().getDescriptionDescribedByKeyword_3_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeRule()); |
| } |
| setWithLastConsumed(current, "description", true, "described by"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:278:2: ( (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:279:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:279:1: (lv_descriptionValue_4_0= ruleTRANSLATABLESTRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:280:3: lv_descriptionValue_4_0= ruleTRANSLATABLESTRING |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeAccess().getDescriptionValueTRANSLATABLESTRINGParserRuleCall_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_ruleDataInterchange513); |
| lv_descriptionValue_4_0=ruleTRANSLATABLESTRING(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeRule()); |
| } |
| set( |
| current, |
| "descriptionValue", |
| lv_descriptionValue_4_0, |
| "TRANSLATABLESTRING"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:296:4: ( (lv_createReport_5_0= 'create report' ) )? |
| int alt6=2; |
| int LA6_0 = input.LA(1); |
| |
| if ( (LA6_0==19) ) { |
| alt6=1; |
| } |
| switch (alt6) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:297:1: (lv_createReport_5_0= 'create report' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:297:1: (lv_createReport_5_0= 'create report' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:298:3: lv_createReport_5_0= 'create report' |
| { |
| lv_createReport_5_0=(Token)match(input,19,FOLLOW_19_in_ruleDataInterchange533); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_createReport_5_0, grammarAccess.getDataInterchangeAccess().getCreateReportCreateReportKeyword_4_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeRule()); |
| } |
| setWithLastConsumed(current, "createReport", true, "create report"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:311:3: (otherlv_6= 'averageElementSize' ( (lv_elementSize_7_0= RULE_INT ) ) )? |
| int alt7=2; |
| int LA7_0 = input.LA(1); |
| |
| if ( (LA7_0==20) ) { |
| alt7=1; |
| } |
| switch (alt7) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:311:5: otherlv_6= 'averageElementSize' ( (lv_elementSize_7_0= RULE_INT ) ) |
| { |
| otherlv_6=(Token)match(input,20,FOLLOW_20_in_ruleDataInterchange560); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDataInterchangeAccess().getAverageElementSizeKeyword_5_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:315:1: ( (lv_elementSize_7_0= RULE_INT ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:316:1: (lv_elementSize_7_0= RULE_INT ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:316:1: (lv_elementSize_7_0= RULE_INT ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:317:3: lv_elementSize_7_0= RULE_INT |
| { |
| lv_elementSize_7_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDataInterchange577); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_elementSize_7_0, grammarAccess.getDataInterchangeAccess().getElementSizeINTTerminalRuleCall_5_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "elementSize", |
| lv_elementSize_7_0, |
| "INT"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:333:4: (otherlv_8= 'progressBarStyle' ( (lv_progressBarStyle_9_0= ruleProgressBarStylesEnum ) ) )? |
| int alt8=2; |
| int LA8_0 = input.LA(1); |
| |
| if ( (LA8_0==21) ) { |
| alt8=1; |
| } |
| switch (alt8) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:333:6: otherlv_8= 'progressBarStyle' ( (lv_progressBarStyle_9_0= ruleProgressBarStylesEnum ) ) |
| { |
| otherlv_8=(Token)match(input,21,FOLLOW_21_in_ruleDataInterchange597); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDataInterchangeAccess().getProgressBarStyleKeyword_6_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:337:1: ( (lv_progressBarStyle_9_0= ruleProgressBarStylesEnum ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:338:1: (lv_progressBarStyle_9_0= ruleProgressBarStylesEnum ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:338:1: (lv_progressBarStyle_9_0= ruleProgressBarStylesEnum ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:339:3: lv_progressBarStyle_9_0= ruleProgressBarStylesEnum |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeAccess().getProgressBarStyleProgressBarStylesEnumEnumRuleCall_6_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleProgressBarStylesEnum_in_ruleDataInterchange618); |
| lv_progressBarStyle_9_0=ruleProgressBarStylesEnum(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeRule()); |
| } |
| set( |
| current, |
| "progressBarStyle", |
| lv_progressBarStyle_9_0, |
| "ProgressBarStylesEnum"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:355:4: ( ( (lv_refreshEnabled_10_0= 'refreshViewWhenFinished' ) ) ( (lv_refresh_11_0= RULE_STRING ) ) )? |
| int alt9=2; |
| int LA9_0 = input.LA(1); |
| |
| if ( (LA9_0==22) ) { |
| alt9=1; |
| } |
| switch (alt9) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:355:5: ( (lv_refreshEnabled_10_0= 'refreshViewWhenFinished' ) ) ( (lv_refresh_11_0= RULE_STRING ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:355:5: ( (lv_refreshEnabled_10_0= 'refreshViewWhenFinished' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:356:1: (lv_refreshEnabled_10_0= 'refreshViewWhenFinished' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:356:1: (lv_refreshEnabled_10_0= 'refreshViewWhenFinished' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:357:3: lv_refreshEnabled_10_0= 'refreshViewWhenFinished' |
| { |
| lv_refreshEnabled_10_0=(Token)match(input,22,FOLLOW_22_in_ruleDataInterchange639); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_refreshEnabled_10_0, grammarAccess.getDataInterchangeAccess().getRefreshEnabledRefreshViewWhenFinishedKeyword_7_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeRule()); |
| } |
| setWithLastConsumed(current, "refreshEnabled", true, "refreshViewWhenFinished"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:370:2: ( (lv_refresh_11_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:371:1: (lv_refresh_11_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:371:1: (lv_refresh_11_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:372:3: lv_refresh_11_0= RULE_STRING |
| { |
| lv_refresh_11_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchange669); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_refresh_11_0, grammarAccess.getDataInterchangeAccess().getRefreshSTRINGTerminalRuleCall_7_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "refresh", |
| lv_refresh_11_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_12=(Token)match(input,23,FOLLOW_23_in_ruleDataInterchange688); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDataInterchangeAccess().getFileKeyword_8()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:392:1: ( (lv_fileEndpoint_13_0= ruleDataInterchangeFile ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:393:1: (lv_fileEndpoint_13_0= ruleDataInterchangeFile ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:393:1: (lv_fileEndpoint_13_0= ruleDataInterchangeFile ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:394:3: lv_fileEndpoint_13_0= ruleDataInterchangeFile |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeAccess().getFileEndpointDataInterchangeFileParserRuleCall_9_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeFile_in_ruleDataInterchange709); |
| lv_fileEndpoint_13_0=ruleDataInterchangeFile(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeRule()); |
| } |
| set( |
| current, |
| "fileEndpoint", |
| lv_fileEndpoint_13_0, |
| "DataInterchangeFile"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_14=(Token)match(input,24,FOLLOW_24_in_ruleDataInterchange721); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_14, grammarAccess.getDataInterchangeAccess().getBeansKeyword_10()); |
| |
| } |
| otherlv_15=(Token)match(input,15,FOLLOW_15_in_ruleDataInterchange733); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDataInterchangeAccess().getLeftCurlyBracketKeyword_11()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:418:1: ( (lv_path_16_0= ruleDataInterchangeBean ) )* |
| loop10: |
| do { |
| int alt10=2; |
| int LA10_0 = input.LA(1); |
| |
| if ( (LA10_0==37) ) { |
| alt10=1; |
| } |
| |
| |
| switch (alt10) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:419:1: (lv_path_16_0= ruleDataInterchangeBean ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:419:1: (lv_path_16_0= ruleDataInterchangeBean ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:420:3: lv_path_16_0= ruleDataInterchangeBean |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeAccess().getPathDataInterchangeBeanParserRuleCall_12_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeBean_in_ruleDataInterchange754); |
| lv_path_16_0=ruleDataInterchangeBean(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeRule()); |
| } |
| add( |
| current, |
| "path", |
| lv_path_16_0, |
| "DataInterchangeBean"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop10; |
| } |
| } while (true); |
| |
| otherlv_17=(Token)match(input,16,FOLLOW_16_in_ruleDataInterchange767); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_17, grammarAccess.getDataInterchangeAccess().getRightCurlyBracketKeyword_13()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchange" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeFile" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:448:1: entryRuleDataInterchangeFile returns [EObject current=null] : iv_ruleDataInterchangeFile= ruleDataInterchangeFile EOF ; |
| public final EObject entryRuleDataInterchangeFile() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeFile = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:449:2: (iv_ruleDataInterchangeFile= ruleDataInterchangeFile EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:450:2: iv_ruleDataInterchangeFile= ruleDataInterchangeFile EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeFileRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeFile_in_entryRuleDataInterchangeFile803); |
| iv_ruleDataInterchangeFile=ruleDataInterchangeFile(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeFile; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeFile813); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeFile" |
| |
| |
| // $ANTLR start "ruleDataInterchangeFile" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:457:1: ruleDataInterchangeFile returns [EObject current=null] : (this_DataInterchangeFileXML_0= ruleDataInterchangeFileXML | this_DataInterchangeFileCSV_1= ruleDataInterchangeFileCSV | this_DataInterchangeFileEDI_2= ruleDataInterchangeFileEDI ) ; |
| public final EObject ruleDataInterchangeFile() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_DataInterchangeFileXML_0 = null; |
| |
| EObject this_DataInterchangeFileCSV_1 = null; |
| |
| EObject this_DataInterchangeFileEDI_2 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:460:28: ( (this_DataInterchangeFileXML_0= ruleDataInterchangeFileXML | this_DataInterchangeFileCSV_1= ruleDataInterchangeFileCSV | this_DataInterchangeFileEDI_2= ruleDataInterchangeFileEDI ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:461:1: (this_DataInterchangeFileXML_0= ruleDataInterchangeFileXML | this_DataInterchangeFileCSV_1= ruleDataInterchangeFileCSV | this_DataInterchangeFileEDI_2= ruleDataInterchangeFileEDI ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:461:1: (this_DataInterchangeFileXML_0= ruleDataInterchangeFileXML | this_DataInterchangeFileCSV_1= ruleDataInterchangeFileCSV | this_DataInterchangeFileEDI_2= ruleDataInterchangeFileEDI ) |
| int alt11=3; |
| switch ( input.LA(1) ) { |
| case 25: |
| { |
| alt11=1; |
| } |
| break; |
| case 26: |
| { |
| alt11=2; |
| } |
| break; |
| case 34: |
| { |
| alt11=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 11, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt11) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:462:5: this_DataInterchangeFileXML_0= ruleDataInterchangeFileXML |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeFileAccess().getDataInterchangeFileXMLParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeFileXML_in_ruleDataInterchangeFile860); |
| this_DataInterchangeFileXML_0=ruleDataInterchangeFileXML(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DataInterchangeFileXML_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:472:5: this_DataInterchangeFileCSV_1= ruleDataInterchangeFileCSV |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeFileAccess().getDataInterchangeFileCSVParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeFileCSV_in_ruleDataInterchangeFile887); |
| this_DataInterchangeFileCSV_1=ruleDataInterchangeFileCSV(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DataInterchangeFileCSV_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:482:5: this_DataInterchangeFileEDI_2= ruleDataInterchangeFileEDI |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeFileAccess().getDataInterchangeFileEDIParserRuleCall_2()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeFileEDI_in_ruleDataInterchangeFile914); |
| this_DataInterchangeFileEDI_2=ruleDataInterchangeFileEDI(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DataInterchangeFileEDI_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeFile" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeFileXML" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:498:1: entryRuleDataInterchangeFileXML returns [EObject current=null] : iv_ruleDataInterchangeFileXML= ruleDataInterchangeFileXML EOF ; |
| public final EObject entryRuleDataInterchangeFileXML() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeFileXML = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:499:2: (iv_ruleDataInterchangeFileXML= ruleDataInterchangeFileXML EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:500:2: iv_ruleDataInterchangeFileXML= ruleDataInterchangeFileXML EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeFileXMLRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeFileXML_in_entryRuleDataInterchangeFileXML949); |
| iv_ruleDataInterchangeFileXML=ruleDataInterchangeFileXML(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeFileXML; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeFileXML959); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeFileXML" |
| |
| |
| // $ANTLR start "ruleDataInterchangeFileXML" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:507:1: ruleDataInterchangeFileXML returns [EObject current=null] : ( () otherlv_1= 'XML' ( (lv_fileURL_2_0= RULE_STRING ) ) ) ; |
| public final EObject ruleDataInterchangeFileXML() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token lv_fileURL_2_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:510:28: ( ( () otherlv_1= 'XML' ( (lv_fileURL_2_0= RULE_STRING ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:511:1: ( () otherlv_1= 'XML' ( (lv_fileURL_2_0= RULE_STRING ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:511:1: ( () otherlv_1= 'XML' ( (lv_fileURL_2_0= RULE_STRING ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:511:2: () otherlv_1= 'XML' ( (lv_fileURL_2_0= RULE_STRING ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:511:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:512:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeFileXMLAccess().getDataInterchangeFileXMLAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,25,FOLLOW_25_in_ruleDataInterchangeFileXML1005); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeFileXMLAccess().getXMLKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:521:1: ( (lv_fileURL_2_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:522:1: (lv_fileURL_2_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:522:1: (lv_fileURL_2_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:523:3: lv_fileURL_2_0= RULE_STRING |
| { |
| lv_fileURL_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeFileXML1022); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_fileURL_2_0, grammarAccess.getDataInterchangeFileXMLAccess().getFileURLSTRINGTerminalRuleCall_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileXMLRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "fileURL", |
| lv_fileURL_2_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeFileXML" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeFileCSV" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:547:1: entryRuleDataInterchangeFileCSV returns [EObject current=null] : iv_ruleDataInterchangeFileCSV= ruleDataInterchangeFileCSV EOF ; |
| public final EObject entryRuleDataInterchangeFileCSV() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeFileCSV = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:548:2: (iv_ruleDataInterchangeFileCSV= ruleDataInterchangeFileCSV EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:549:2: iv_ruleDataInterchangeFileCSV= ruleDataInterchangeFileCSV EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeFileCSVRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeFileCSV_in_entryRuleDataInterchangeFileCSV1063); |
| iv_ruleDataInterchangeFileCSV=ruleDataInterchangeFileCSV(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeFileCSV; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeFileCSV1073); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeFileCSV" |
| |
| |
| // $ANTLR start "ruleDataInterchangeFileCSV" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:556:1: ruleDataInterchangeFileCSV returns [EObject current=null] : ( () otherlv_1= 'CSV' ( (lv_fileURL_2_0= RULE_STRING ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ) ; |
| public final EObject ruleDataInterchangeFileCSV() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token lv_fileURL_2_0=null; |
| Token otherlv_4=null; |
| Token lv_delimiter_5_0=null; |
| Token otherlv_6=null; |
| Token lv_quoteCharacter_7_0=null; |
| Token otherlv_8=null; |
| Token lv_skipLines_9_0=null; |
| Token lv_indent_10_0=null; |
| Token lv_strict_11_0=null; |
| Token lv_validateHeader_12_0=null; |
| Token otherlv_13=null; |
| Token lv_encoding_14_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:559:28: ( ( () otherlv_1= 'CSV' ( (lv_fileURL_2_0= RULE_STRING ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:560:1: ( () otherlv_1= 'CSV' ( (lv_fileURL_2_0= RULE_STRING ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:560:1: ( () otherlv_1= 'CSV' ( (lv_fileURL_2_0= RULE_STRING ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:560:2: () otherlv_1= 'CSV' ( (lv_fileURL_2_0= RULE_STRING ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:560:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:561:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeFileCSVAccess().getDataInterchangeFileCSVAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,26,FOLLOW_26_in_ruleDataInterchangeFileCSV1119); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeFileCSVAccess().getCSVKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:570:1: ( (lv_fileURL_2_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:571:1: (lv_fileURL_2_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:571:1: (lv_fileURL_2_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:572:3: lv_fileURL_2_0= RULE_STRING |
| { |
| lv_fileURL_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeFileCSV1136); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_fileURL_2_0, grammarAccess.getDataInterchangeFileCSVAccess().getFileURLSTRINGTerminalRuleCall_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileCSVRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "fileURL", |
| lv_fileURL_2_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:588:2: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:590:1: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:590:1: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:591:2: ( ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3()); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:594:2: ( ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:595:3: ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:595:3: ( ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) )* |
| loop12: |
| do { |
| int alt12=8; |
| int LA12_0 = input.LA(1); |
| |
| if ( LA12_0 ==27 && getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 0) ) { |
| alt12=1; |
| } |
| else if ( LA12_0 ==28 && getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 1) ) { |
| alt12=2; |
| } |
| else if ( LA12_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 2) ) { |
| alt12=3; |
| } |
| else if ( LA12_0 ==30 && getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 3) ) { |
| alt12=4; |
| } |
| else if ( LA12_0 ==31 && getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 4) ) { |
| alt12=5; |
| } |
| else if ( LA12_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 5) ) { |
| alt12=6; |
| } |
| else if ( LA12_0 ==33 && getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 6) ) { |
| alt12=7; |
| } |
| |
| |
| switch (alt12) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:597:4: ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:597:4: ({...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:598:5: {...}? => ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 0)"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:598:119: ( ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:599:6: ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 0); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:602:6: ({...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:602:7: {...}? => (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:602:16: (otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:602:18: otherlv_4= 'delimiter' ( (lv_delimiter_5_0= RULE_STRING ) ) |
| { |
| otherlv_4=(Token)match(input,27,FOLLOW_27_in_ruleDataInterchangeFileCSV1199); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDataInterchangeFileCSVAccess().getDelimiterKeyword_3_0_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:606:1: ( (lv_delimiter_5_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:607:1: (lv_delimiter_5_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:607:1: (lv_delimiter_5_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:608:3: lv_delimiter_5_0= RULE_STRING |
| { |
| lv_delimiter_5_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeFileCSV1216); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_delimiter_5_0, grammarAccess.getDataInterchangeFileCSVAccess().getDelimiterSTRINGTerminalRuleCall_3_0_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileCSVRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "delimiter", |
| lv_delimiter_5_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:631:4: ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:631:4: ({...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:632:5: {...}? => ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 1)"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:632:119: ( ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:633:6: ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 1); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:636:6: ({...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:636:7: {...}? => (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:636:16: (otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:636:18: otherlv_6= 'quoteCharacter' ( (lv_quoteCharacter_7_0= RULE_STRING ) ) |
| { |
| otherlv_6=(Token)match(input,28,FOLLOW_28_in_ruleDataInterchangeFileCSV1289); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDataInterchangeFileCSVAccess().getQuoteCharacterKeyword_3_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:640:1: ( (lv_quoteCharacter_7_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:641:1: (lv_quoteCharacter_7_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:641:1: (lv_quoteCharacter_7_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:642:3: lv_quoteCharacter_7_0= RULE_STRING |
| { |
| lv_quoteCharacter_7_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeFileCSV1306); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_quoteCharacter_7_0, grammarAccess.getDataInterchangeFileCSVAccess().getQuoteCharacterSTRINGTerminalRuleCall_3_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileCSVRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "quoteCharacter", |
| lv_quoteCharacter_7_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:665:4: ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:665:4: ({...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:666:5: {...}? => ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 2)"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:666:119: ( ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:667:6: ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 2); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:670:6: ({...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:670:7: {...}? => (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:670:16: (otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:670:18: otherlv_8= 'skipLines' ( (lv_skipLines_9_0= RULE_INT ) ) |
| { |
| otherlv_8=(Token)match(input,29,FOLLOW_29_in_ruleDataInterchangeFileCSV1379); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDataInterchangeFileCSVAccess().getSkipLinesKeyword_3_2_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:674:1: ( (lv_skipLines_9_0= RULE_INT ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:675:1: (lv_skipLines_9_0= RULE_INT ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:675:1: (lv_skipLines_9_0= RULE_INT ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:676:3: lv_skipLines_9_0= RULE_INT |
| { |
| lv_skipLines_9_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDataInterchangeFileCSV1396); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_skipLines_9_0, grammarAccess.getDataInterchangeFileCSVAccess().getSkipLinesINTTerminalRuleCall_3_2_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileCSVRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "skipLines", |
| lv_skipLines_9_0, |
| "INT"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:699:4: ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:699:4: ({...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:700:5: {...}? => ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 3) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 3)"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:700:119: ( ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:701:6: ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 3); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:704:6: ({...}? => ( (lv_indent_10_0= 'indent' ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:704:7: {...}? => ( (lv_indent_10_0= 'indent' ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:704:16: ( (lv_indent_10_0= 'indent' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:705:1: (lv_indent_10_0= 'indent' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:705:1: (lv_indent_10_0= 'indent' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:706:3: lv_indent_10_0= 'indent' |
| { |
| lv_indent_10_0=(Token)match(input,30,FOLLOW_30_in_ruleDataInterchangeFileCSV1474); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_indent_10_0, grammarAccess.getDataInterchangeFileCSVAccess().getIndentIndentKeyword_3_3_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileCSVRule()); |
| } |
| setWithLastConsumed(current, "indent", true, "indent"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 5 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:726:4: ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:726:4: ({...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:727:5: {...}? => ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 4) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 4)"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:727:119: ( ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:728:6: ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 4); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:731:6: ({...}? => ( (lv_strict_11_0= 'strict' ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:731:7: {...}? => ( (lv_strict_11_0= 'strict' ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:731:16: ( (lv_strict_11_0= 'strict' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:732:1: (lv_strict_11_0= 'strict' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:732:1: (lv_strict_11_0= 'strict' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:733:3: lv_strict_11_0= 'strict' |
| { |
| lv_strict_11_0=(Token)match(input,31,FOLLOW_31_in_ruleDataInterchangeFileCSV1559); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_strict_11_0, grammarAccess.getDataInterchangeFileCSVAccess().getStrictStrictKeyword_3_4_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileCSVRule()); |
| } |
| setWithLastConsumed(current, "strict", true, "strict"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 6 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:753:4: ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:753:4: ({...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:754:5: {...}? => ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 5) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 5)"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:754:119: ( ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:755:6: ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 5); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:758:6: ({...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:758:7: {...}? => ( (lv_validateHeader_12_0= 'validateHeader' ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:758:16: ( (lv_validateHeader_12_0= 'validateHeader' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:759:1: (lv_validateHeader_12_0= 'validateHeader' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:759:1: (lv_validateHeader_12_0= 'validateHeader' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:760:3: lv_validateHeader_12_0= 'validateHeader' |
| { |
| lv_validateHeader_12_0=(Token)match(input,32,FOLLOW_32_in_ruleDataInterchangeFileCSV1644); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_validateHeader_12_0, grammarAccess.getDataInterchangeFileCSVAccess().getValidateHeaderValidateHeaderKeyword_3_5_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileCSVRule()); |
| } |
| setWithLastConsumed(current, "validateHeader", true, "validateHeader"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 7 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:780:4: ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:780:4: ({...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:781:5: {...}? => ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 6) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 6)"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:781:119: ( ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:782:6: ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3(), 6); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:785:6: ({...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:785:7: {...}? => (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeFileCSV", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:785:16: (otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:785:18: otherlv_13= 'encoding' ( (lv_encoding_14_0= RULE_STRING ) ) |
| { |
| otherlv_13=(Token)match(input,33,FOLLOW_33_in_ruleDataInterchangeFileCSV1724); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDataInterchangeFileCSVAccess().getEncodingKeyword_3_6_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:789:1: ( (lv_encoding_14_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:790:1: (lv_encoding_14_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:790:1: (lv_encoding_14_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:791:3: lv_encoding_14_0= RULE_STRING |
| { |
| lv_encoding_14_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeFileCSV1741); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_encoding_14_0, grammarAccess.getDataInterchangeFileCSVAccess().getEncodingSTRINGTerminalRuleCall_3_6_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileCSVRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "encoding", |
| lv_encoding_14_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop12; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDataInterchangeFileCSVAccess().getUnorderedGroup_3()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeFileCSV" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeFileEDI" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:829:1: entryRuleDataInterchangeFileEDI returns [EObject current=null] : iv_ruleDataInterchangeFileEDI= ruleDataInterchangeFileEDI EOF ; |
| public final EObject entryRuleDataInterchangeFileEDI() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeFileEDI = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:830:2: (iv_ruleDataInterchangeFileEDI= ruleDataInterchangeFileEDI EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:831:2: iv_ruleDataInterchangeFileEDI= ruleDataInterchangeFileEDI EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeFileEDIRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeFileEDI_in_entryRuleDataInterchangeFileEDI1823); |
| iv_ruleDataInterchangeFileEDI=ruleDataInterchangeFileEDI(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeFileEDI; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeFileEDI1833); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeFileEDI" |
| |
| |
| // $ANTLR start "ruleDataInterchangeFileEDI" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:838:1: ruleDataInterchangeFileEDI returns [EObject current=null] : ( () otherlv_1= 'EDI' ( (lv_fileURL_2_0= RULE_STRING ) ) otherlv_3= 'mappingModel' ( (lv_mappingModel_4_0= RULE_STRING ) ) ( (lv_validate_5_0= 'validate' ) )? ) ; |
| public final EObject ruleDataInterchangeFileEDI() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token lv_fileURL_2_0=null; |
| Token otherlv_3=null; |
| Token lv_mappingModel_4_0=null; |
| Token lv_validate_5_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:841:28: ( ( () otherlv_1= 'EDI' ( (lv_fileURL_2_0= RULE_STRING ) ) otherlv_3= 'mappingModel' ( (lv_mappingModel_4_0= RULE_STRING ) ) ( (lv_validate_5_0= 'validate' ) )? ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:842:1: ( () otherlv_1= 'EDI' ( (lv_fileURL_2_0= RULE_STRING ) ) otherlv_3= 'mappingModel' ( (lv_mappingModel_4_0= RULE_STRING ) ) ( (lv_validate_5_0= 'validate' ) )? ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:842:1: ( () otherlv_1= 'EDI' ( (lv_fileURL_2_0= RULE_STRING ) ) otherlv_3= 'mappingModel' ( (lv_mappingModel_4_0= RULE_STRING ) ) ( (lv_validate_5_0= 'validate' ) )? ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:842:2: () otherlv_1= 'EDI' ( (lv_fileURL_2_0= RULE_STRING ) ) otherlv_3= 'mappingModel' ( (lv_mappingModel_4_0= RULE_STRING ) ) ( (lv_validate_5_0= 'validate' ) )? |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:842:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:843:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeFileEDIAccess().getDataInterchangeFileEDIAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,34,FOLLOW_34_in_ruleDataInterchangeFileEDI1879); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeFileEDIAccess().getEDIKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:852:1: ( (lv_fileURL_2_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:853:1: (lv_fileURL_2_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:853:1: (lv_fileURL_2_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:854:3: lv_fileURL_2_0= RULE_STRING |
| { |
| lv_fileURL_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeFileEDI1896); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_fileURL_2_0, grammarAccess.getDataInterchangeFileEDIAccess().getFileURLSTRINGTerminalRuleCall_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileEDIRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "fileURL", |
| lv_fileURL_2_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,35,FOLLOW_35_in_ruleDataInterchangeFileEDI1913); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDataInterchangeFileEDIAccess().getMappingModelKeyword_3()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:874:1: ( (lv_mappingModel_4_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:875:1: (lv_mappingModel_4_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:875:1: (lv_mappingModel_4_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:876:3: lv_mappingModel_4_0= RULE_STRING |
| { |
| lv_mappingModel_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeFileEDI1930); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_mappingModel_4_0, grammarAccess.getDataInterchangeFileEDIAccess().getMappingModelSTRINGTerminalRuleCall_4_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileEDIRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "mappingModel", |
| lv_mappingModel_4_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:892:2: ( (lv_validate_5_0= 'validate' ) )? |
| int alt13=2; |
| int LA13_0 = input.LA(1); |
| |
| if ( (LA13_0==36) ) { |
| alt13=1; |
| } |
| switch (alt13) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:893:1: (lv_validate_5_0= 'validate' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:893:1: (lv_validate_5_0= 'validate' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:894:3: lv_validate_5_0= 'validate' |
| { |
| lv_validate_5_0=(Token)match(input,36,FOLLOW_36_in_ruleDataInterchangeFileEDI1953); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_validate_5_0, grammarAccess.getDataInterchangeFileEDIAccess().getValidateValidateKeyword_5_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFileEDIRule()); |
| } |
| setWithLastConsumed(current, "validate", true, "validate"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeFileEDI" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeBean" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:915:1: entryRuleDataInterchangeBean returns [EObject current=null] : iv_ruleDataInterchangeBean= ruleDataInterchangeBean EOF ; |
| public final EObject entryRuleDataInterchangeBean() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeBean = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:916:2: (iv_ruleDataInterchangeBean= ruleDataInterchangeBean EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:917:2: iv_ruleDataInterchangeBean= ruleDataInterchangeBean EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeBean_in_entryRuleDataInterchangeBean2003); |
| iv_ruleDataInterchangeBean=ruleDataInterchangeBean(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeBean; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeBean2013); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeBean" |
| |
| |
| // $ANTLR start "ruleDataInterchangeBean" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:924:1: ruleDataInterchangeBean returns [EObject current=null] : ( () otherlv_1= 'entity' ( ( ruleLFQN ) ) (otherlv_3= 'createOn' ( (lv_elementMap_4_0= RULE_STRING ) ) )? ( ( (lv_markLatest_5_0= 'marker' ) ) ( (otherlv_6= RULE_ID ) ) )? ( ( (lv_recordElement_7_0= 'recordElement' ) ) | ( (lv_recordList_8_0= 'recordList' ) ) )? (otherlv_9= 'expression' otherlv_10= '{' ( (lv_expression_11_0= ruleDataInterchangeExpression ) )* otherlv_12= '}' )? (otherlv_13= 'lookup' otherlv_14= '{' ( (lv_lookup_15_0= ruleDataInterchangeLookup ) )* otherlv_16= '}' )? (otherlv_17= 'format' otherlv_18= '{' ( (lv_format_19_0= ruleDataInterchangeFormat ) )* otherlv_20= '}' )? (otherlv_21= 'mapping' otherlv_22= '{' ( (lv_mappings_23_0= ruleDataInterchangeMapping ) )* otherlv_24= '}' )? ) ; |
| public final EObject ruleDataInterchangeBean() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token lv_elementMap_4_0=null; |
| Token lv_markLatest_5_0=null; |
| Token otherlv_6=null; |
| Token lv_recordElement_7_0=null; |
| Token lv_recordList_8_0=null; |
| Token otherlv_9=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token otherlv_13=null; |
| Token otherlv_14=null; |
| Token otherlv_16=null; |
| Token otherlv_17=null; |
| Token otherlv_18=null; |
| Token otherlv_20=null; |
| Token otherlv_21=null; |
| Token otherlv_22=null; |
| Token otherlv_24=null; |
| EObject lv_expression_11_0 = null; |
| |
| EObject lv_lookup_15_0 = null; |
| |
| EObject lv_format_19_0 = null; |
| |
| EObject lv_mappings_23_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:927:28: ( ( () otherlv_1= 'entity' ( ( ruleLFQN ) ) (otherlv_3= 'createOn' ( (lv_elementMap_4_0= RULE_STRING ) ) )? ( ( (lv_markLatest_5_0= 'marker' ) ) ( (otherlv_6= RULE_ID ) ) )? ( ( (lv_recordElement_7_0= 'recordElement' ) ) | ( (lv_recordList_8_0= 'recordList' ) ) )? (otherlv_9= 'expression' otherlv_10= '{' ( (lv_expression_11_0= ruleDataInterchangeExpression ) )* otherlv_12= '}' )? (otherlv_13= 'lookup' otherlv_14= '{' ( (lv_lookup_15_0= ruleDataInterchangeLookup ) )* otherlv_16= '}' )? (otherlv_17= 'format' otherlv_18= '{' ( (lv_format_19_0= ruleDataInterchangeFormat ) )* otherlv_20= '}' )? (otherlv_21= 'mapping' otherlv_22= '{' ( (lv_mappings_23_0= ruleDataInterchangeMapping ) )* otherlv_24= '}' )? ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:928:1: ( () otherlv_1= 'entity' ( ( ruleLFQN ) ) (otherlv_3= 'createOn' ( (lv_elementMap_4_0= RULE_STRING ) ) )? ( ( (lv_markLatest_5_0= 'marker' ) ) ( (otherlv_6= RULE_ID ) ) )? ( ( (lv_recordElement_7_0= 'recordElement' ) ) | ( (lv_recordList_8_0= 'recordList' ) ) )? (otherlv_9= 'expression' otherlv_10= '{' ( (lv_expression_11_0= ruleDataInterchangeExpression ) )* otherlv_12= '}' )? (otherlv_13= 'lookup' otherlv_14= '{' ( (lv_lookup_15_0= ruleDataInterchangeLookup ) )* otherlv_16= '}' )? (otherlv_17= 'format' otherlv_18= '{' ( (lv_format_19_0= ruleDataInterchangeFormat ) )* otherlv_20= '}' )? (otherlv_21= 'mapping' otherlv_22= '{' ( (lv_mappings_23_0= ruleDataInterchangeMapping ) )* otherlv_24= '}' )? ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:928:1: ( () otherlv_1= 'entity' ( ( ruleLFQN ) ) (otherlv_3= 'createOn' ( (lv_elementMap_4_0= RULE_STRING ) ) )? ( ( (lv_markLatest_5_0= 'marker' ) ) ( (otherlv_6= RULE_ID ) ) )? ( ( (lv_recordElement_7_0= 'recordElement' ) ) | ( (lv_recordList_8_0= 'recordList' ) ) )? (otherlv_9= 'expression' otherlv_10= '{' ( (lv_expression_11_0= ruleDataInterchangeExpression ) )* otherlv_12= '}' )? (otherlv_13= 'lookup' otherlv_14= '{' ( (lv_lookup_15_0= ruleDataInterchangeLookup ) )* otherlv_16= '}' )? (otherlv_17= 'format' otherlv_18= '{' ( (lv_format_19_0= ruleDataInterchangeFormat ) )* otherlv_20= '}' )? (otherlv_21= 'mapping' otherlv_22= '{' ( (lv_mappings_23_0= ruleDataInterchangeMapping ) )* otherlv_24= '}' )? ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:928:2: () otherlv_1= 'entity' ( ( ruleLFQN ) ) (otherlv_3= 'createOn' ( (lv_elementMap_4_0= RULE_STRING ) ) )? ( ( (lv_markLatest_5_0= 'marker' ) ) ( (otherlv_6= RULE_ID ) ) )? ( ( (lv_recordElement_7_0= 'recordElement' ) ) | ( (lv_recordList_8_0= 'recordList' ) ) )? (otherlv_9= 'expression' otherlv_10= '{' ( (lv_expression_11_0= ruleDataInterchangeExpression ) )* otherlv_12= '}' )? (otherlv_13= 'lookup' otherlv_14= '{' ( (lv_lookup_15_0= ruleDataInterchangeLookup ) )* otherlv_16= '}' )? (otherlv_17= 'format' otherlv_18= '{' ( (lv_format_19_0= ruleDataInterchangeFormat ) )* otherlv_20= '}' )? (otherlv_21= 'mapping' otherlv_22= '{' ( (lv_mappings_23_0= ruleDataInterchangeMapping ) )* otherlv_24= '}' )? |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:928:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:929:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeBeanAccess().getDataInterchangeBeanAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,37,FOLLOW_37_in_ruleDataInterchangeBean2059); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeBeanAccess().getEntityKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:938:1: ( ( ruleLFQN ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:939:1: ( ruleLFQN ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:939:1: ( ruleLFQN ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:940:3: ruleLFQN |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeBeanAccess().getEntityLEntityCrossReference_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleLFQN_in_ruleDataInterchangeBean2082); |
| ruleLFQN(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:953:2: (otherlv_3= 'createOn' ( (lv_elementMap_4_0= RULE_STRING ) ) )? |
| int alt14=2; |
| int LA14_0 = input.LA(1); |
| |
| if ( (LA14_0==38) ) { |
| alt14=1; |
| } |
| switch (alt14) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:953:4: otherlv_3= 'createOn' ( (lv_elementMap_4_0= RULE_STRING ) ) |
| { |
| otherlv_3=(Token)match(input,38,FOLLOW_38_in_ruleDataInterchangeBean2095); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDataInterchangeBeanAccess().getCreateOnKeyword_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:957:1: ( (lv_elementMap_4_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:958:1: (lv_elementMap_4_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:958:1: (lv_elementMap_4_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:959:3: lv_elementMap_4_0= RULE_STRING |
| { |
| lv_elementMap_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeBean2112); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_elementMap_4_0, grammarAccess.getDataInterchangeBeanAccess().getElementMapSTRINGTerminalRuleCall_3_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "elementMap", |
| lv_elementMap_4_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:975:4: ( ( (lv_markLatest_5_0= 'marker' ) ) ( (otherlv_6= RULE_ID ) ) )? |
| int alt15=2; |
| int LA15_0 = input.LA(1); |
| |
| if ( (LA15_0==39) ) { |
| alt15=1; |
| } |
| switch (alt15) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:975:5: ( (lv_markLatest_5_0= 'marker' ) ) ( (otherlv_6= RULE_ID ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:975:5: ( (lv_markLatest_5_0= 'marker' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:976:1: (lv_markLatest_5_0= 'marker' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:976:1: (lv_markLatest_5_0= 'marker' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:977:3: lv_markLatest_5_0= 'marker' |
| { |
| lv_markLatest_5_0=(Token)match(input,39,FOLLOW_39_in_ruleDataInterchangeBean2138); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_markLatest_5_0, grammarAccess.getDataInterchangeBeanAccess().getMarkLatestMarkerKeyword_4_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| setWithLastConsumed(current, "markLatest", true, "marker"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:990:2: ( (otherlv_6= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:991:1: (otherlv_6= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:991:1: (otherlv_6= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:992:3: otherlv_6= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| |
| } |
| otherlv_6=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataInterchangeBean2171); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDataInterchangeBeanAccess().getLatestPropertyLEntityAttributeCrossReference_4_1_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1003:4: ( ( (lv_recordElement_7_0= 'recordElement' ) ) | ( (lv_recordList_8_0= 'recordList' ) ) )? |
| int alt16=3; |
| int LA16_0 = input.LA(1); |
| |
| if ( (LA16_0==40) ) { |
| alt16=1; |
| } |
| else if ( (LA16_0==41) ) { |
| alt16=2; |
| } |
| switch (alt16) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1003:5: ( (lv_recordElement_7_0= 'recordElement' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1003:5: ( (lv_recordElement_7_0= 'recordElement' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1004:1: (lv_recordElement_7_0= 'recordElement' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1004:1: (lv_recordElement_7_0= 'recordElement' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1005:3: lv_recordElement_7_0= 'recordElement' |
| { |
| lv_recordElement_7_0=(Token)match(input,40,FOLLOW_40_in_ruleDataInterchangeBean2192); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_recordElement_7_0, grammarAccess.getDataInterchangeBeanAccess().getRecordElementRecordElementKeyword_5_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| setWithLastConsumed(current, "recordElement", true, "recordElement"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1019:6: ( (lv_recordList_8_0= 'recordList' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1019:6: ( (lv_recordList_8_0= 'recordList' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1020:1: (lv_recordList_8_0= 'recordList' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1020:1: (lv_recordList_8_0= 'recordList' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1021:3: lv_recordList_8_0= 'recordList' |
| { |
| lv_recordList_8_0=(Token)match(input,41,FOLLOW_41_in_ruleDataInterchangeBean2229); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_recordList_8_0, grammarAccess.getDataInterchangeBeanAccess().getRecordListRecordListKeyword_5_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| setWithLastConsumed(current, "recordList", true, "recordList"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1034:4: (otherlv_9= 'expression' otherlv_10= '{' ( (lv_expression_11_0= ruleDataInterchangeExpression ) )* otherlv_12= '}' )? |
| int alt18=2; |
| int LA18_0 = input.LA(1); |
| |
| if ( (LA18_0==42) ) { |
| alt18=1; |
| } |
| switch (alt18) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1034:6: otherlv_9= 'expression' otherlv_10= '{' ( (lv_expression_11_0= ruleDataInterchangeExpression ) )* otherlv_12= '}' |
| { |
| otherlv_9=(Token)match(input,42,FOLLOW_42_in_ruleDataInterchangeBean2257); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDataInterchangeBeanAccess().getExpressionKeyword_6_0()); |
| |
| } |
| otherlv_10=(Token)match(input,15,FOLLOW_15_in_ruleDataInterchangeBean2269); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDataInterchangeBeanAccess().getLeftCurlyBracketKeyword_6_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1042:1: ( (lv_expression_11_0= ruleDataInterchangeExpression ) )* |
| loop17: |
| do { |
| int alt17=2; |
| int LA17_0 = input.LA(1); |
| |
| if ( (LA17_0==58||LA17_0==61) ) { |
| alt17=1; |
| } |
| |
| |
| switch (alt17) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1043:1: (lv_expression_11_0= ruleDataInterchangeExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1043:1: (lv_expression_11_0= ruleDataInterchangeExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1044:3: lv_expression_11_0= ruleDataInterchangeExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeBeanAccess().getExpressionDataInterchangeExpressionParserRuleCall_6_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeExpression_in_ruleDataInterchangeBean2290); |
| lv_expression_11_0=ruleDataInterchangeExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| add( |
| current, |
| "expression", |
| lv_expression_11_0, |
| "DataInterchangeExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop17; |
| } |
| } while (true); |
| |
| otherlv_12=(Token)match(input,16,FOLLOW_16_in_ruleDataInterchangeBean2303); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDataInterchangeBeanAccess().getRightCurlyBracketKeyword_6_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1064:3: (otherlv_13= 'lookup' otherlv_14= '{' ( (lv_lookup_15_0= ruleDataInterchangeLookup ) )* otherlv_16= '}' )? |
| int alt20=2; |
| int LA20_0 = input.LA(1); |
| |
| if ( (LA20_0==43) ) { |
| alt20=1; |
| } |
| switch (alt20) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1064:5: otherlv_13= 'lookup' otherlv_14= '{' ( (lv_lookup_15_0= ruleDataInterchangeLookup ) )* otherlv_16= '}' |
| { |
| otherlv_13=(Token)match(input,43,FOLLOW_43_in_ruleDataInterchangeBean2318); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDataInterchangeBeanAccess().getLookupKeyword_7_0()); |
| |
| } |
| otherlv_14=(Token)match(input,15,FOLLOW_15_in_ruleDataInterchangeBean2330); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_14, grammarAccess.getDataInterchangeBeanAccess().getLeftCurlyBracketKeyword_7_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1072:1: ( (lv_lookup_15_0= ruleDataInterchangeLookup ) )* |
| loop19: |
| do { |
| int alt19=2; |
| int LA19_0 = input.LA(1); |
| |
| if ( (LA19_0==46) ) { |
| alt19=1; |
| } |
| |
| |
| switch (alt19) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1073:1: (lv_lookup_15_0= ruleDataInterchangeLookup ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1073:1: (lv_lookup_15_0= ruleDataInterchangeLookup ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1074:3: lv_lookup_15_0= ruleDataInterchangeLookup |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeBeanAccess().getLookupDataInterchangeLookupParserRuleCall_7_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeLookup_in_ruleDataInterchangeBean2351); |
| lv_lookup_15_0=ruleDataInterchangeLookup(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| add( |
| current, |
| "lookup", |
| lv_lookup_15_0, |
| "DataInterchangeLookup"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop19; |
| } |
| } while (true); |
| |
| otherlv_16=(Token)match(input,16,FOLLOW_16_in_ruleDataInterchangeBean2364); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getDataInterchangeBeanAccess().getRightCurlyBracketKeyword_7_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1094:3: (otherlv_17= 'format' otherlv_18= '{' ( (lv_format_19_0= ruleDataInterchangeFormat ) )* otherlv_20= '}' )? |
| int alt22=2; |
| int LA22_0 = input.LA(1); |
| |
| if ( (LA22_0==44) ) { |
| alt22=1; |
| } |
| switch (alt22) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1094:5: otherlv_17= 'format' otherlv_18= '{' ( (lv_format_19_0= ruleDataInterchangeFormat ) )* otherlv_20= '}' |
| { |
| otherlv_17=(Token)match(input,44,FOLLOW_44_in_ruleDataInterchangeBean2379); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_17, grammarAccess.getDataInterchangeBeanAccess().getFormatKeyword_8_0()); |
| |
| } |
| otherlv_18=(Token)match(input,15,FOLLOW_15_in_ruleDataInterchangeBean2391); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_18, grammarAccess.getDataInterchangeBeanAccess().getLeftCurlyBracketKeyword_8_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1102:1: ( (lv_format_19_0= ruleDataInterchangeFormat ) )* |
| loop21: |
| do { |
| int alt21=2; |
| int LA21_0 = input.LA(1); |
| |
| if ( (LA21_0==46) ) { |
| alt21=1; |
| } |
| |
| |
| switch (alt21) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1103:1: (lv_format_19_0= ruleDataInterchangeFormat ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1103:1: (lv_format_19_0= ruleDataInterchangeFormat ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1104:3: lv_format_19_0= ruleDataInterchangeFormat |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeBeanAccess().getFormatDataInterchangeFormatParserRuleCall_8_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeFormat_in_ruleDataInterchangeBean2412); |
| lv_format_19_0=ruleDataInterchangeFormat(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| add( |
| current, |
| "format", |
| lv_format_19_0, |
| "DataInterchangeFormat"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop21; |
| } |
| } while (true); |
| |
| otherlv_20=(Token)match(input,16,FOLLOW_16_in_ruleDataInterchangeBean2425); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_20, grammarAccess.getDataInterchangeBeanAccess().getRightCurlyBracketKeyword_8_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1124:3: (otherlv_21= 'mapping' otherlv_22= '{' ( (lv_mappings_23_0= ruleDataInterchangeMapping ) )* otherlv_24= '}' )? |
| int alt24=2; |
| int LA24_0 = input.LA(1); |
| |
| if ( (LA24_0==45) ) { |
| alt24=1; |
| } |
| switch (alt24) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1124:5: otherlv_21= 'mapping' otherlv_22= '{' ( (lv_mappings_23_0= ruleDataInterchangeMapping ) )* otherlv_24= '}' |
| { |
| otherlv_21=(Token)match(input,45,FOLLOW_45_in_ruleDataInterchangeBean2440); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_21, grammarAccess.getDataInterchangeBeanAccess().getMappingKeyword_9_0()); |
| |
| } |
| otherlv_22=(Token)match(input,15,FOLLOW_15_in_ruleDataInterchangeBean2452); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_22, grammarAccess.getDataInterchangeBeanAccess().getLeftCurlyBracketKeyword_9_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1132:1: ( (lv_mappings_23_0= ruleDataInterchangeMapping ) )* |
| loop23: |
| do { |
| int alt23=2; |
| int LA23_0 = input.LA(1); |
| |
| if ( (LA23_0==63) ) { |
| alt23=1; |
| } |
| |
| |
| switch (alt23) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1133:1: (lv_mappings_23_0= ruleDataInterchangeMapping ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1133:1: (lv_mappings_23_0= ruleDataInterchangeMapping ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1134:3: lv_mappings_23_0= ruleDataInterchangeMapping |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeBeanAccess().getMappingsDataInterchangeMappingParserRuleCall_9_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeMapping_in_ruleDataInterchangeBean2473); |
| lv_mappings_23_0=ruleDataInterchangeMapping(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeBeanRule()); |
| } |
| add( |
| current, |
| "mappings", |
| lv_mappings_23_0, |
| "DataInterchangeMapping"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop23; |
| } |
| } while (true); |
| |
| otherlv_24=(Token)match(input,16,FOLLOW_16_in_ruleDataInterchangeBean2486); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_24, grammarAccess.getDataInterchangeBeanAccess().getRightCurlyBracketKeyword_9_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeBean" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeLookup" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1162:1: entryRuleDataInterchangeLookup returns [EObject current=null] : iv_ruleDataInterchangeLookup= ruleDataInterchangeLookup EOF ; |
| public final EObject entryRuleDataInterchangeLookup() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeLookup = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1163:2: (iv_ruleDataInterchangeLookup= ruleDataInterchangeLookup EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1164:2: iv_ruleDataInterchangeLookup= ruleDataInterchangeLookup EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeLookup_in_entryRuleDataInterchangeLookup2524); |
| iv_ruleDataInterchangeLookup=ruleDataInterchangeLookup(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeLookup; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeLookup2534); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeLookup" |
| |
| |
| // $ANTLR start "ruleDataInterchangeLookup" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1171:1: ruleDataInterchangeLookup returns [EObject current=null] : ( () otherlv_1= 'for' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'on' ( (otherlv_4= RULE_ID ) ) (otherlv_5= 'createOn' ( (lv_elementMap_6_0= RULE_STRING ) ) )? otherlv_7= 'with' ( (otherlv_8= RULE_ID ) ) ( ( (lv_cached_9_0= 'cacheSize' ) ) ( (lv_cacheSize_10_0= RULE_INT ) ) )? (otherlv_11= 'mapTo' ( (lv_dataMap_12_0= RULE_STRING ) ) )? ( ( ( ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* ) ) ) ) ; |
| public final EObject ruleDataInterchangeLookup() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_3=null; |
| Token otherlv_4=null; |
| Token otherlv_5=null; |
| Token lv_elementMap_6_0=null; |
| Token otherlv_7=null; |
| Token otherlv_8=null; |
| Token lv_cached_9_0=null; |
| Token lv_cacheSize_10_0=null; |
| Token otherlv_11=null; |
| Token lv_dataMap_12_0=null; |
| Token lv_allowNoResult_14_0=null; |
| Token lv_allowNonuniqueResult_15_0=null; |
| EObject lv_markerPath_16_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1174:28: ( ( () otherlv_1= 'for' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'on' ( (otherlv_4= RULE_ID ) ) (otherlv_5= 'createOn' ( (lv_elementMap_6_0= RULE_STRING ) ) )? otherlv_7= 'with' ( (otherlv_8= RULE_ID ) ) ( ( (lv_cached_9_0= 'cacheSize' ) ) ( (lv_cacheSize_10_0= RULE_INT ) ) )? (otherlv_11= 'mapTo' ( (lv_dataMap_12_0= RULE_STRING ) ) )? ( ( ( ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1175:1: ( () otherlv_1= 'for' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'on' ( (otherlv_4= RULE_ID ) ) (otherlv_5= 'createOn' ( (lv_elementMap_6_0= RULE_STRING ) ) )? otherlv_7= 'with' ( (otherlv_8= RULE_ID ) ) ( ( (lv_cached_9_0= 'cacheSize' ) ) ( (lv_cacheSize_10_0= RULE_INT ) ) )? (otherlv_11= 'mapTo' ( (lv_dataMap_12_0= RULE_STRING ) ) )? ( ( ( ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1175:1: ( () otherlv_1= 'for' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'on' ( (otherlv_4= RULE_ID ) ) (otherlv_5= 'createOn' ( (lv_elementMap_6_0= RULE_STRING ) ) )? otherlv_7= 'with' ( (otherlv_8= RULE_ID ) ) ( ( (lv_cached_9_0= 'cacheSize' ) ) ( (lv_cacheSize_10_0= RULE_INT ) ) )? (otherlv_11= 'mapTo' ( (lv_dataMap_12_0= RULE_STRING ) ) )? ( ( ( ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1175:2: () otherlv_1= 'for' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'on' ( (otherlv_4= RULE_ID ) ) (otherlv_5= 'createOn' ( (lv_elementMap_6_0= RULE_STRING ) ) )? otherlv_7= 'with' ( (otherlv_8= RULE_ID ) ) ( ( (lv_cached_9_0= 'cacheSize' ) ) ( (lv_cacheSize_10_0= RULE_INT ) ) )? (otherlv_11= 'mapTo' ( (lv_dataMap_12_0= RULE_STRING ) ) )? ( ( ( ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1175:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1176:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeLookupAccess().getDataInterchangeLookupAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,46,FOLLOW_46_in_ruleDataInterchangeLookup2580); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeLookupAccess().getForKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1185:1: ( (otherlv_2= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1186:1: (otherlv_2= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1186:1: (otherlv_2= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1187:3: otherlv_2= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| |
| } |
| otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataInterchangeLookup2600); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDataInterchangeLookupAccess().getTargetPropertyLEntityReferenceCrossReference_2_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,47,FOLLOW_47_in_ruleDataInterchangeLookup2612); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDataInterchangeLookupAccess().getOnKeyword_3()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1202:1: ( (otherlv_4= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1203:1: (otherlv_4= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1203:1: (otherlv_4= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1204:3: otherlv_4= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| |
| } |
| otherlv_4=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataInterchangeLookup2632); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDataInterchangeLookupAccess().getEntityLEntityCrossReference_4_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1215:2: (otherlv_5= 'createOn' ( (lv_elementMap_6_0= RULE_STRING ) ) )? |
| int alt25=2; |
| int LA25_0 = input.LA(1); |
| |
| if ( (LA25_0==38) ) { |
| alt25=1; |
| } |
| switch (alt25) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1215:4: otherlv_5= 'createOn' ( (lv_elementMap_6_0= RULE_STRING ) ) |
| { |
| otherlv_5=(Token)match(input,38,FOLLOW_38_in_ruleDataInterchangeLookup2645); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDataInterchangeLookupAccess().getCreateOnKeyword_5_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1219:1: ( (lv_elementMap_6_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1220:1: (lv_elementMap_6_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1220:1: (lv_elementMap_6_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1221:3: lv_elementMap_6_0= RULE_STRING |
| { |
| lv_elementMap_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeLookup2662); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_elementMap_6_0, grammarAccess.getDataInterchangeLookupAccess().getElementMapSTRINGTerminalRuleCall_5_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "elementMap", |
| lv_elementMap_6_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_7=(Token)match(input,48,FOLLOW_48_in_ruleDataInterchangeLookup2681); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDataInterchangeLookupAccess().getWithKeyword_6()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1241:1: ( (otherlv_8= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1242:1: (otherlv_8= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1242:1: (otherlv_8= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1243:3: otherlv_8= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| |
| } |
| otherlv_8=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataInterchangeLookup2701); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDataInterchangeLookupAccess().getQueryPropertyLEntityAttributeCrossReference_7_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1254:2: ( ( (lv_cached_9_0= 'cacheSize' ) ) ( (lv_cacheSize_10_0= RULE_INT ) ) )? |
| int alt26=2; |
| int LA26_0 = input.LA(1); |
| |
| if ( (LA26_0==49) ) { |
| alt26=1; |
| } |
| switch (alt26) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1254:3: ( (lv_cached_9_0= 'cacheSize' ) ) ( (lv_cacheSize_10_0= RULE_INT ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1254:3: ( (lv_cached_9_0= 'cacheSize' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1255:1: (lv_cached_9_0= 'cacheSize' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1255:1: (lv_cached_9_0= 'cacheSize' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1256:3: lv_cached_9_0= 'cacheSize' |
| { |
| lv_cached_9_0=(Token)match(input,49,FOLLOW_49_in_ruleDataInterchangeLookup2720); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_cached_9_0, grammarAccess.getDataInterchangeLookupAccess().getCachedCacheSizeKeyword_8_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| setWithLastConsumed(current, "cached", true, "cacheSize"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1269:2: ( (lv_cacheSize_10_0= RULE_INT ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1270:1: (lv_cacheSize_10_0= RULE_INT ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1270:1: (lv_cacheSize_10_0= RULE_INT ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1271:3: lv_cacheSize_10_0= RULE_INT |
| { |
| lv_cacheSize_10_0=(Token)match(input,RULE_INT,FOLLOW_RULE_INT_in_ruleDataInterchangeLookup2750); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_cacheSize_10_0, grammarAccess.getDataInterchangeLookupAccess().getCacheSizeINTTerminalRuleCall_8_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "cacheSize", |
| lv_cacheSize_10_0, |
| "INT"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1287:4: (otherlv_11= 'mapTo' ( (lv_dataMap_12_0= RULE_STRING ) ) )? |
| int alt27=2; |
| int LA27_0 = input.LA(1); |
| |
| if ( (LA27_0==50) ) { |
| alt27=1; |
| } |
| switch (alt27) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1287:6: otherlv_11= 'mapTo' ( (lv_dataMap_12_0= RULE_STRING ) ) |
| { |
| otherlv_11=(Token)match(input,50,FOLLOW_50_in_ruleDataInterchangeLookup2770); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDataInterchangeLookupAccess().getMapToKeyword_9_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1291:1: ( (lv_dataMap_12_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1292:1: (lv_dataMap_12_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1292:1: (lv_dataMap_12_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1293:3: lv_dataMap_12_0= RULE_STRING |
| { |
| lv_dataMap_12_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeLookup2787); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_dataMap_12_0, grammarAccess.getDataInterchangeLookupAccess().getDataMapSTRINGTerminalRuleCall_9_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "dataMap", |
| lv_dataMap_12_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1309:4: ( ( ( ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1311:1: ( ( ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1311:1: ( ( ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1312:2: ( ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10()); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1315:2: ( ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1316:3: ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1316:3: ( ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) )* |
| loop28: |
| do { |
| int alt28=4; |
| int LA28_0 = input.LA(1); |
| |
| if ( LA28_0 ==51 && getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 0) ) { |
| alt28=1; |
| } |
| else if ( LA28_0 ==52 && getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 1) ) { |
| alt28=2; |
| } |
| else if ( LA28_0 ==53 && getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 2) ) { |
| alt28=3; |
| } |
| |
| |
| switch (alt28) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1318:4: ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1318:4: ({...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1319:5: {...}? => ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeLookup", "getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 0)"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1319:119: ( ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1320:6: ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 0); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1323:6: ({...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1323:7: {...}? => ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeLookup", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1323:16: ( (lv_allowNoResult_14_0= 'allowNoResult' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1324:1: (lv_allowNoResult_14_0= 'allowNoResult' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1324:1: (lv_allowNoResult_14_0= 'allowNoResult' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1325:3: lv_allowNoResult_14_0= 'allowNoResult' |
| { |
| lv_allowNoResult_14_0=(Token)match(input,51,FOLLOW_51_in_ruleDataInterchangeLookup2857); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_allowNoResult_14_0, grammarAccess.getDataInterchangeLookupAccess().getAllowNoResultAllowNoResultKeyword_10_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| setWithLastConsumed(current, "allowNoResult", true, "allowNoResult"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1345:4: ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1345:4: ({...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1346:5: {...}? => ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeLookup", "getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 1)"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1346:119: ( ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1347:6: ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 1); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1350:6: ({...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1350:7: {...}? => ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeLookup", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1350:16: ( (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1351:1: (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1351:1: (lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1352:3: lv_allowNonuniqueResult_15_0= 'allowNonuniqueResult' |
| { |
| lv_allowNonuniqueResult_15_0=(Token)match(input,52,FOLLOW_52_in_ruleDataInterchangeLookup2942); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_allowNonuniqueResult_15_0, grammarAccess.getDataInterchangeLookupAccess().getAllowNonuniqueResultAllowNonuniqueResultKeyword_10_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| setWithLastConsumed(current, "allowNonuniqueResult", true, "allowNonuniqueResult"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1372:4: ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1372:4: ({...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1373:5: {...}? => ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeLookup", "getUnorderedGroupHelper().canSelect(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 2)"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1373:119: ( ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1374:6: ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10(), 2); |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1377:6: ({...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1377:7: {...}? => ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDataInterchangeLookup", "true"); |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1377:16: ( (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1378:1: (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1378:1: (lv_markerPath_16_0= ruleDataInterchangeMarkerPath ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1379:3: lv_markerPath_16_0= ruleDataInterchangeMarkerPath |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeLookupAccess().getMarkerPathDataInterchangeMarkerPathParserRuleCall_10_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeMarkerPath_in_ruleDataInterchangeLookup3030); |
| lv_markerPath_16_0=ruleDataInterchangeMarkerPath(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeLookupRule()); |
| } |
| set( |
| current, |
| "markerPath", |
| lv_markerPath_16_0, |
| "DataInterchangeMarkerPath"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop28; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDataInterchangeLookupAccess().getUnorderedGroup_10()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeLookup" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeMarkerPath" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1417:1: entryRuleDataInterchangeMarkerPath returns [EObject current=null] : iv_ruleDataInterchangeMarkerPath= ruleDataInterchangeMarkerPath EOF ; |
| public final EObject entryRuleDataInterchangeMarkerPath() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeMarkerPath = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1418:2: (iv_ruleDataInterchangeMarkerPath= ruleDataInterchangeMarkerPath EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1419:2: iv_ruleDataInterchangeMarkerPath= ruleDataInterchangeMarkerPath EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeMarkerPathRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeMarkerPath_in_entryRuleDataInterchangeMarkerPath3106); |
| iv_ruleDataInterchangeMarkerPath=ruleDataInterchangeMarkerPath(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeMarkerPath; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeMarkerPath3116); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeMarkerPath" |
| |
| |
| // $ANTLR start "ruleDataInterchangeMarkerPath" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1426:1: ruleDataInterchangeMarkerPath returns [EObject current=null] : ( () otherlv_1= 'markerPath' otherlv_2= '{' ( (lv_path_3_0= ruleDataInterchangeMarkerEntity ) )* otherlv_4= '}' ) ; |
| public final EObject ruleDataInterchangeMarkerPath() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| EObject lv_path_3_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1429:28: ( ( () otherlv_1= 'markerPath' otherlv_2= '{' ( (lv_path_3_0= ruleDataInterchangeMarkerEntity ) )* otherlv_4= '}' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1430:1: ( () otherlv_1= 'markerPath' otherlv_2= '{' ( (lv_path_3_0= ruleDataInterchangeMarkerEntity ) )* otherlv_4= '}' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1430:1: ( () otherlv_1= 'markerPath' otherlv_2= '{' ( (lv_path_3_0= ruleDataInterchangeMarkerEntity ) )* otherlv_4= '}' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1430:2: () otherlv_1= 'markerPath' otherlv_2= '{' ( (lv_path_3_0= ruleDataInterchangeMarkerEntity ) )* otherlv_4= '}' |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1430:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1431:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeMarkerPathAccess().getDataInterchangeMarkerPathAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,53,FOLLOW_53_in_ruleDataInterchangeMarkerPath3162); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeMarkerPathAccess().getMarkerPathKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,15,FOLLOW_15_in_ruleDataInterchangeMarkerPath3174); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDataInterchangeMarkerPathAccess().getLeftCurlyBracketKeyword_2()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1444:1: ( (lv_path_3_0= ruleDataInterchangeMarkerEntity ) )* |
| loop29: |
| do { |
| int alt29=2; |
| int LA29_0 = input.LA(1); |
| |
| if ( (LA29_0==54) ) { |
| alt29=1; |
| } |
| |
| |
| switch (alt29) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1445:1: (lv_path_3_0= ruleDataInterchangeMarkerEntity ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1445:1: (lv_path_3_0= ruleDataInterchangeMarkerEntity ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1446:3: lv_path_3_0= ruleDataInterchangeMarkerEntity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeMarkerPathAccess().getPathDataInterchangeMarkerEntityParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeMarkerEntity_in_ruleDataInterchangeMarkerPath3195); |
| lv_path_3_0=ruleDataInterchangeMarkerEntity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeMarkerPathRule()); |
| } |
| add( |
| current, |
| "path", |
| lv_path_3_0, |
| "DataInterchangeMarkerEntity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop29; |
| } |
| } while (true); |
| |
| otherlv_4=(Token)match(input,16,FOLLOW_16_in_ruleDataInterchangeMarkerPath3208); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDataInterchangeMarkerPathAccess().getRightCurlyBracketKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeMarkerPath" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeMarkerEntity" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1474:1: entryRuleDataInterchangeMarkerEntity returns [EObject current=null] : iv_ruleDataInterchangeMarkerEntity= ruleDataInterchangeMarkerEntity EOF ; |
| public final EObject entryRuleDataInterchangeMarkerEntity() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeMarkerEntity = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1475:2: (iv_ruleDataInterchangeMarkerEntity= ruleDataInterchangeMarkerEntity EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1476:2: iv_ruleDataInterchangeMarkerEntity= ruleDataInterchangeMarkerEntity EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeMarkerEntityRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeMarkerEntity_in_entryRuleDataInterchangeMarkerEntity3244); |
| iv_ruleDataInterchangeMarkerEntity=ruleDataInterchangeMarkerEntity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeMarkerEntity; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeMarkerEntity3254); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeMarkerEntity" |
| |
| |
| // $ANTLR start "ruleDataInterchangeMarkerEntity" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1483:1: ruleDataInterchangeMarkerEntity returns [EObject current=null] : ( () otherlv_1= 'markerEntity' ( ( ruleLFQN ) ) ( ( (lv_markLatest_3_0= 'markedBy' ) ) ( (otherlv_4= RULE_ID ) ) )? ) ; |
| public final EObject ruleDataInterchangeMarkerEntity() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token lv_markLatest_3_0=null; |
| Token otherlv_4=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1486:28: ( ( () otherlv_1= 'markerEntity' ( ( ruleLFQN ) ) ( ( (lv_markLatest_3_0= 'markedBy' ) ) ( (otherlv_4= RULE_ID ) ) )? ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1487:1: ( () otherlv_1= 'markerEntity' ( ( ruleLFQN ) ) ( ( (lv_markLatest_3_0= 'markedBy' ) ) ( (otherlv_4= RULE_ID ) ) )? ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1487:1: ( () otherlv_1= 'markerEntity' ( ( ruleLFQN ) ) ( ( (lv_markLatest_3_0= 'markedBy' ) ) ( (otherlv_4= RULE_ID ) ) )? ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1487:2: () otherlv_1= 'markerEntity' ( ( ruleLFQN ) ) ( ( (lv_markLatest_3_0= 'markedBy' ) ) ( (otherlv_4= RULE_ID ) ) )? |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1487:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1488:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeMarkerEntityAccess().getDataInterchangeMarkerEntityAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,54,FOLLOW_54_in_ruleDataInterchangeMarkerEntity3300); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeMarkerEntityAccess().getMarkerEntityKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1497:1: ( ( ruleLFQN ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1498:1: ( ruleLFQN ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1498:1: ( ruleLFQN ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1499:3: ruleLFQN |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeMarkerEntityRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeMarkerEntityAccess().getMarkerEntityLEntityCrossReference_2_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleLFQN_in_ruleDataInterchangeMarkerEntity3323); |
| ruleLFQN(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1512:2: ( ( (lv_markLatest_3_0= 'markedBy' ) ) ( (otherlv_4= RULE_ID ) ) )? |
| int alt30=2; |
| int LA30_0 = input.LA(1); |
| |
| if ( (LA30_0==55) ) { |
| alt30=1; |
| } |
| switch (alt30) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1512:3: ( (lv_markLatest_3_0= 'markedBy' ) ) ( (otherlv_4= RULE_ID ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1512:3: ( (lv_markLatest_3_0= 'markedBy' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1513:1: (lv_markLatest_3_0= 'markedBy' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1513:1: (lv_markLatest_3_0= 'markedBy' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1514:3: lv_markLatest_3_0= 'markedBy' |
| { |
| lv_markLatest_3_0=(Token)match(input,55,FOLLOW_55_in_ruleDataInterchangeMarkerEntity3342); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_markLatest_3_0, grammarAccess.getDataInterchangeMarkerEntityAccess().getMarkLatestMarkedByKeyword_3_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeMarkerEntityRule()); |
| } |
| setWithLastConsumed(current, "markLatest", true, "markedBy"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1527:2: ( (otherlv_4= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1528:1: (otherlv_4= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1528:1: (otherlv_4= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1529:3: otherlv_4= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeMarkerEntityRule()); |
| } |
| |
| } |
| otherlv_4=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataInterchangeMarkerEntity3375); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDataInterchangeMarkerEntityAccess().getMarkerPropertyLEntityAttributeCrossReference_3_1_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeMarkerEntity" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeFormat" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1548:1: entryRuleDataInterchangeFormat returns [EObject current=null] : iv_ruleDataInterchangeFormat= ruleDataInterchangeFormat EOF ; |
| public final EObject entryRuleDataInterchangeFormat() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeFormat = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1549:2: (iv_ruleDataInterchangeFormat= ruleDataInterchangeFormat EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1550:2: iv_ruleDataInterchangeFormat= ruleDataInterchangeFormat EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeFormatRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeFormat_in_entryRuleDataInterchangeFormat3413); |
| iv_ruleDataInterchangeFormat=ruleDataInterchangeFormat(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeFormat; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeFormat3423); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeFormat" |
| |
| |
| // $ANTLR start "ruleDataInterchangeFormat" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1557:1: ruleDataInterchangeFormat returns [EObject current=null] : ( () otherlv_1= 'for' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'coding' ( (lv_format_4_0= RULE_STRING ) ) (otherlv_5= 'locale' ( (lv_locale_6_0= RULE_STRING ) ) )? ) ; |
| public final EObject ruleDataInterchangeFormat() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_3=null; |
| Token lv_format_4_0=null; |
| Token otherlv_5=null; |
| Token lv_locale_6_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1560:28: ( ( () otherlv_1= 'for' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'coding' ( (lv_format_4_0= RULE_STRING ) ) (otherlv_5= 'locale' ( (lv_locale_6_0= RULE_STRING ) ) )? ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1561:1: ( () otherlv_1= 'for' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'coding' ( (lv_format_4_0= RULE_STRING ) ) (otherlv_5= 'locale' ( (lv_locale_6_0= RULE_STRING ) ) )? ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1561:1: ( () otherlv_1= 'for' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'coding' ( (lv_format_4_0= RULE_STRING ) ) (otherlv_5= 'locale' ( (lv_locale_6_0= RULE_STRING ) ) )? ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1561:2: () otherlv_1= 'for' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'coding' ( (lv_format_4_0= RULE_STRING ) ) (otherlv_5= 'locale' ( (lv_locale_6_0= RULE_STRING ) ) )? |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1561:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1562:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeFormatAccess().getDataInterchangeFormatAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,46,FOLLOW_46_in_ruleDataInterchangeFormat3469); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeFormatAccess().getForKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1571:1: ( (otherlv_2= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1572:1: (otherlv_2= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1572:1: (otherlv_2= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1573:3: otherlv_2= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFormatRule()); |
| } |
| |
| } |
| otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataInterchangeFormat3489); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDataInterchangeFormatAccess().getTargetPropertyLEntityAttributeCrossReference_2_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,56,FOLLOW_56_in_ruleDataInterchangeFormat3501); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDataInterchangeFormatAccess().getCodingKeyword_3()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1588:1: ( (lv_format_4_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1589:1: (lv_format_4_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1589:1: (lv_format_4_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1590:3: lv_format_4_0= RULE_STRING |
| { |
| lv_format_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeFormat3518); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_format_4_0, grammarAccess.getDataInterchangeFormatAccess().getFormatSTRINGTerminalRuleCall_4_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFormatRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "format", |
| lv_format_4_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1606:2: (otherlv_5= 'locale' ( (lv_locale_6_0= RULE_STRING ) ) )? |
| int alt31=2; |
| int LA31_0 = input.LA(1); |
| |
| if ( (LA31_0==57) ) { |
| alt31=1; |
| } |
| switch (alt31) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1606:4: otherlv_5= 'locale' ( (lv_locale_6_0= RULE_STRING ) ) |
| { |
| otherlv_5=(Token)match(input,57,FOLLOW_57_in_ruleDataInterchangeFormat3536); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDataInterchangeFormatAccess().getLocaleKeyword_5_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1610:1: ( (lv_locale_6_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1611:1: (lv_locale_6_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1611:1: (lv_locale_6_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1612:3: lv_locale_6_0= RULE_STRING |
| { |
| lv_locale_6_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeFormat3553); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_locale_6_0, grammarAccess.getDataInterchangeFormatAccess().getLocaleSTRINGTerminalRuleCall_5_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeFormatRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "locale", |
| lv_locale_6_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeFormat" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeExpression" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1636:1: entryRuleDataInterchangeExpression returns [EObject current=null] : iv_ruleDataInterchangeExpression= ruleDataInterchangeExpression EOF ; |
| public final EObject entryRuleDataInterchangeExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1637:2: (iv_ruleDataInterchangeExpression= ruleDataInterchangeExpression EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1638:2: iv_ruleDataInterchangeExpression= ruleDataInterchangeExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeExpression_in_entryRuleDataInterchangeExpression3596); |
| iv_ruleDataInterchangeExpression=ruleDataInterchangeExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeExpression3606); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeExpression" |
| |
| |
| // $ANTLR start "ruleDataInterchangeExpression" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1645:1: ruleDataInterchangeExpression returns [EObject current=null] : (this_DataInterchangeEntityExpression_0= ruleDataInterchangeEntityExpression | this_DataInterchangePredefinedExpression_1= ruleDataInterchangePredefinedExpression ) ; |
| public final EObject ruleDataInterchangeExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_DataInterchangeEntityExpression_0 = null; |
| |
| EObject this_DataInterchangePredefinedExpression_1 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1648:28: ( (this_DataInterchangeEntityExpression_0= ruleDataInterchangeEntityExpression | this_DataInterchangePredefinedExpression_1= ruleDataInterchangePredefinedExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1649:1: (this_DataInterchangeEntityExpression_0= ruleDataInterchangeEntityExpression | this_DataInterchangePredefinedExpression_1= ruleDataInterchangePredefinedExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1649:1: (this_DataInterchangeEntityExpression_0= ruleDataInterchangeEntityExpression | this_DataInterchangePredefinedExpression_1= ruleDataInterchangePredefinedExpression ) |
| int alt32=2; |
| int LA32_0 = input.LA(1); |
| |
| if ( (LA32_0==58) ) { |
| alt32=1; |
| } |
| else if ( (LA32_0==61) ) { |
| alt32=2; |
| } |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1650:5: this_DataInterchangeEntityExpression_0= ruleDataInterchangeEntityExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeExpressionAccess().getDataInterchangeEntityExpressionParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeEntityExpression_in_ruleDataInterchangeExpression3653); |
| this_DataInterchangeEntityExpression_0=ruleDataInterchangeEntityExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DataInterchangeEntityExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1660:5: this_DataInterchangePredefinedExpression_1= ruleDataInterchangePredefinedExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeExpressionAccess().getDataInterchangePredefinedExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangePredefinedExpression_in_ruleDataInterchangeExpression3680); |
| this_DataInterchangePredefinedExpression_1=ruleDataInterchangePredefinedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DataInterchangePredefinedExpression_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeExpression" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeEntityExpression" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1676:1: entryRuleDataInterchangeEntityExpression returns [EObject current=null] : iv_ruleDataInterchangeEntityExpression= ruleDataInterchangeEntityExpression EOF ; |
| public final EObject entryRuleDataInterchangeEntityExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeEntityExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1677:2: (iv_ruleDataInterchangeEntityExpression= ruleDataInterchangeEntityExpression EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1678:2: iv_ruleDataInterchangeEntityExpression= ruleDataInterchangeEntityExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeEntityExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeEntityExpression_in_entryRuleDataInterchangeEntityExpression3715); |
| iv_ruleDataInterchangeEntityExpression=ruleDataInterchangeEntityExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeEntityExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeEntityExpression3725); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeEntityExpression" |
| |
| |
| // $ANTLR start "ruleDataInterchangeEntityExpression" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1685:1: ruleDataInterchangeEntityExpression returns [EObject current=null] : ( () otherlv_1= 'copy' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'from' ( ( ruleLFQN ) ) otherlv_5= 'property' ( (otherlv_6= RULE_ID ) ) ) ; |
| public final EObject ruleDataInterchangeEntityExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_6=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1688:28: ( ( () otherlv_1= 'copy' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'from' ( ( ruleLFQN ) ) otherlv_5= 'property' ( (otherlv_6= RULE_ID ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1689:1: ( () otherlv_1= 'copy' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'from' ( ( ruleLFQN ) ) otherlv_5= 'property' ( (otherlv_6= RULE_ID ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1689:1: ( () otherlv_1= 'copy' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'from' ( ( ruleLFQN ) ) otherlv_5= 'property' ( (otherlv_6= RULE_ID ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1689:2: () otherlv_1= 'copy' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'from' ( ( ruleLFQN ) ) otherlv_5= 'property' ( (otherlv_6= RULE_ID ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1689:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1690:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeEntityExpressionAccess().getDataInterchangeEntityExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,58,FOLLOW_58_in_ruleDataInterchangeEntityExpression3771); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeEntityExpressionAccess().getCopyKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1699:1: ( (otherlv_2= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1700:1: (otherlv_2= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1700:1: (otherlv_2= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1701:3: otherlv_2= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeEntityExpressionRule()); |
| } |
| |
| } |
| otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataInterchangeEntityExpression3791); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDataInterchangeEntityExpressionAccess().getTargetPropertyLEntityAttributeCrossReference_2_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,59,FOLLOW_59_in_ruleDataInterchangeEntityExpression3803); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDataInterchangeEntityExpressionAccess().getFromKeyword_3()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1716:1: ( ( ruleLFQN ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1717:1: ( ruleLFQN ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1717:1: ( ruleLFQN ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1718:3: ruleLFQN |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeEntityExpressionRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeEntityExpressionAccess().getEntityLEntityCrossReference_4_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleLFQN_in_ruleDataInterchangeEntityExpression3826); |
| ruleLFQN(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_5=(Token)match(input,60,FOLLOW_60_in_ruleDataInterchangeEntityExpression3838); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDataInterchangeEntityExpressionAccess().getPropertyKeyword_5()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1735:1: ( (otherlv_6= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1736:1: (otherlv_6= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1736:1: (otherlv_6= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1737:3: otherlv_6= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeEntityExpressionRule()); |
| } |
| |
| } |
| otherlv_6=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataInterchangeEntityExpression3858); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDataInterchangeEntityExpressionAccess().getPropertyLEntityAttributeCrossReference_6_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeEntityExpression" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangePredefinedExpression" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1756:1: entryRuleDataInterchangePredefinedExpression returns [EObject current=null] : iv_ruleDataInterchangePredefinedExpression= ruleDataInterchangePredefinedExpression EOF ; |
| public final EObject entryRuleDataInterchangePredefinedExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangePredefinedExpression = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1757:2: (iv_ruleDataInterchangePredefinedExpression= ruleDataInterchangePredefinedExpression EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1758:2: iv_ruleDataInterchangePredefinedExpression= ruleDataInterchangePredefinedExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangePredefinedExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangePredefinedExpression_in_entryRuleDataInterchangePredefinedExpression3894); |
| iv_ruleDataInterchangePredefinedExpression=ruleDataInterchangePredefinedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangePredefinedExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangePredefinedExpression3904); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangePredefinedExpression" |
| |
| |
| // $ANTLR start "ruleDataInterchangePredefinedExpression" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1765:1: ruleDataInterchangePredefinedExpression returns [EObject current=null] : ( () otherlv_1= 'assign' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'with' ( (lv_bean_4_0= rulePredefinedBeanEnum ) ) otherlv_5= 'as' ( (lv_beanType_6_0= rulePredefinedBeanTypeEnum ) ) ) ; |
| public final EObject ruleDataInterchangePredefinedExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Enumerator lv_bean_4_0 = null; |
| |
| Enumerator lv_beanType_6_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1768:28: ( ( () otherlv_1= 'assign' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'with' ( (lv_bean_4_0= rulePredefinedBeanEnum ) ) otherlv_5= 'as' ( (lv_beanType_6_0= rulePredefinedBeanTypeEnum ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1769:1: ( () otherlv_1= 'assign' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'with' ( (lv_bean_4_0= rulePredefinedBeanEnum ) ) otherlv_5= 'as' ( (lv_beanType_6_0= rulePredefinedBeanTypeEnum ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1769:1: ( () otherlv_1= 'assign' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'with' ( (lv_bean_4_0= rulePredefinedBeanEnum ) ) otherlv_5= 'as' ( (lv_beanType_6_0= rulePredefinedBeanTypeEnum ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1769:2: () otherlv_1= 'assign' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'with' ( (lv_bean_4_0= rulePredefinedBeanEnum ) ) otherlv_5= 'as' ( (lv_beanType_6_0= rulePredefinedBeanTypeEnum ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1769:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1770:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangePredefinedExpressionAccess().getDataInterchangePredefinedExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,61,FOLLOW_61_in_ruleDataInterchangePredefinedExpression3950); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangePredefinedExpressionAccess().getAssignKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1779:1: ( (otherlv_2= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1780:1: (otherlv_2= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1780:1: (otherlv_2= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1781:3: otherlv_2= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangePredefinedExpressionRule()); |
| } |
| |
| } |
| otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataInterchangePredefinedExpression3970); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDataInterchangePredefinedExpressionAccess().getTargetPropertyLEntityAttributeCrossReference_2_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,48,FOLLOW_48_in_ruleDataInterchangePredefinedExpression3982); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDataInterchangePredefinedExpressionAccess().getWithKeyword_3()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1796:1: ( (lv_bean_4_0= rulePredefinedBeanEnum ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1797:1: (lv_bean_4_0= rulePredefinedBeanEnum ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1797:1: (lv_bean_4_0= rulePredefinedBeanEnum ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1798:3: lv_bean_4_0= rulePredefinedBeanEnum |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangePredefinedExpressionAccess().getBeanPredefinedBeanEnumEnumRuleCall_4_0()); |
| |
| } |
| pushFollow(FOLLOW_rulePredefinedBeanEnum_in_ruleDataInterchangePredefinedExpression4003); |
| lv_bean_4_0=rulePredefinedBeanEnum(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangePredefinedExpressionRule()); |
| } |
| set( |
| current, |
| "bean", |
| lv_bean_4_0, |
| "PredefinedBeanEnum"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_5=(Token)match(input,62,FOLLOW_62_in_ruleDataInterchangePredefinedExpression4015); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDataInterchangePredefinedExpressionAccess().getAsKeyword_5()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1818:1: ( (lv_beanType_6_0= rulePredefinedBeanTypeEnum ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1819:1: (lv_beanType_6_0= rulePredefinedBeanTypeEnum ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1819:1: (lv_beanType_6_0= rulePredefinedBeanTypeEnum ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1820:3: lv_beanType_6_0= rulePredefinedBeanTypeEnum |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangePredefinedExpressionAccess().getBeanTypePredefinedBeanTypeEnumEnumRuleCall_6_0()); |
| |
| } |
| pushFollow(FOLLOW_rulePredefinedBeanTypeEnum_in_ruleDataInterchangePredefinedExpression4036); |
| lv_beanType_6_0=rulePredefinedBeanTypeEnum(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangePredefinedExpressionRule()); |
| } |
| set( |
| current, |
| "beanType", |
| lv_beanType_6_0, |
| "PredefinedBeanTypeEnum"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangePredefinedExpression" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeMapping" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1844:1: entryRuleDataInterchangeMapping returns [EObject current=null] : iv_ruleDataInterchangeMapping= ruleDataInterchangeMapping EOF ; |
| public final EObject entryRuleDataInterchangeMapping() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeMapping = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1845:2: (iv_ruleDataInterchangeMapping= ruleDataInterchangeMapping EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1846:2: iv_ruleDataInterchangeMapping= ruleDataInterchangeMapping EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeMappingRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeMapping_in_entryRuleDataInterchangeMapping4072); |
| iv_ruleDataInterchangeMapping=ruleDataInterchangeMapping(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeMapping; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeMapping4082); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeMapping" |
| |
| |
| // $ANTLR start "ruleDataInterchangeMapping" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1853:1: ruleDataInterchangeMapping returns [EObject current=null] : ( () otherlv_1= 'map' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'to' ( (lv_data_4_0= RULE_STRING ) ) ) ; |
| public final EObject ruleDataInterchangeMapping() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_3=null; |
| Token lv_data_4_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1856:28: ( ( () otherlv_1= 'map' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'to' ( (lv_data_4_0= RULE_STRING ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1857:1: ( () otherlv_1= 'map' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'to' ( (lv_data_4_0= RULE_STRING ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1857:1: ( () otherlv_1= 'map' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'to' ( (lv_data_4_0= RULE_STRING ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1857:2: () otherlv_1= 'map' ( (otherlv_2= RULE_ID ) ) otherlv_3= 'to' ( (lv_data_4_0= RULE_STRING ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1857:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1858:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDataInterchangeMappingAccess().getDataInterchangeMappingAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,63,FOLLOW_63_in_ruleDataInterchangeMapping4128); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDataInterchangeMappingAccess().getMapKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1867:1: ( (otherlv_2= RULE_ID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1868:1: (otherlv_2= RULE_ID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1868:1: (otherlv_2= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1869:3: otherlv_2= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeMappingRule()); |
| } |
| |
| } |
| otherlv_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleDataInterchangeMapping4148); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDataInterchangeMappingAccess().getPropertyLEntityAttributeCrossReference_2_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,64,FOLLOW_64_in_ruleDataInterchangeMapping4160); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDataInterchangeMappingAccess().getToKeyword_3()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1884:1: ( (lv_data_4_0= RULE_STRING ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1885:1: (lv_data_4_0= RULE_STRING ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1885:1: (lv_data_4_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1886:3: lv_data_4_0= RULE_STRING |
| { |
| lv_data_4_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleDataInterchangeMapping4177); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_data_4_0, grammarAccess.getDataInterchangeMappingAccess().getDataSTRINGTerminalRuleCall_4_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataInterchangeMappingRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "data", |
| lv_data_4_0, |
| "STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeMapping" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeImport" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1910:1: entryRuleDataInterchangeImport returns [EObject current=null] : iv_ruleDataInterchangeImport= ruleDataInterchangeImport EOF ; |
| public final EObject entryRuleDataInterchangeImport() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataInterchangeImport = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1911:2: (iv_ruleDataInterchangeImport= ruleDataInterchangeImport EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1912:2: iv_ruleDataInterchangeImport= ruleDataInterchangeImport EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeImportRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeImport_in_entryRuleDataInterchangeImport4218); |
| iv_ruleDataInterchangeImport=ruleDataInterchangeImport(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeImport; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeImport4228); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeImport" |
| |
| |
| // $ANTLR start "ruleDataInterchangeImport" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1919:1: ruleDataInterchangeImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDataInterchangeQualifiedNameWithWildCard ) ) ) ; |
| public final EObject ruleDataInterchangeImport() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1922:28: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDataInterchangeQualifiedNameWithWildCard ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1923:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDataInterchangeQualifiedNameWithWildCard ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1923:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDataInterchangeQualifiedNameWithWildCard ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1923:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleDataInterchangeQualifiedNameWithWildCard ) ) |
| { |
| otherlv_0=(Token)match(input,65,FOLLOW_65_in_ruleDataInterchangeImport4265); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getDataInterchangeImportAccess().getImportKeyword_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1927:1: ( (lv_importedNamespace_1_0= ruleDataInterchangeQualifiedNameWithWildCard ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1928:1: (lv_importedNamespace_1_0= ruleDataInterchangeQualifiedNameWithWildCard ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1928:1: (lv_importedNamespace_1_0= ruleDataInterchangeQualifiedNameWithWildCard ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1929:3: lv_importedNamespace_1_0= ruleDataInterchangeQualifiedNameWithWildCard |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeImportAccess().getImportedNamespaceDataInterchangeQualifiedNameWithWildCardParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeQualifiedNameWithWildCard_in_ruleDataInterchangeImport4286); |
| lv_importedNamespace_1_0=ruleDataInterchangeQualifiedNameWithWildCard(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataInterchangeImportRule()); |
| } |
| set( |
| current, |
| "importedNamespace", |
| lv_importedNamespace_1_0, |
| "DataInterchangeQualifiedNameWithWildCard"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeImport" |
| |
| |
| // $ANTLR start "entryRuleDataInterchangeQualifiedNameWithWildCard" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1953:1: entryRuleDataInterchangeQualifiedNameWithWildCard returns [String current=null] : iv_ruleDataInterchangeQualifiedNameWithWildCard= ruleDataInterchangeQualifiedNameWithWildCard EOF ; |
| public final String entryRuleDataInterchangeQualifiedNameWithWildCard() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleDataInterchangeQualifiedNameWithWildCard = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1954:2: (iv_ruleDataInterchangeQualifiedNameWithWildCard= ruleDataInterchangeQualifiedNameWithWildCard EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1955:2: iv_ruleDataInterchangeQualifiedNameWithWildCard= ruleDataInterchangeQualifiedNameWithWildCard EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataInterchangeQualifiedNameWithWildCardRule()); |
| } |
| pushFollow(FOLLOW_ruleDataInterchangeQualifiedNameWithWildCard_in_entryRuleDataInterchangeQualifiedNameWithWildCard4323); |
| iv_ruleDataInterchangeQualifiedNameWithWildCard=ruleDataInterchangeQualifiedNameWithWildCard(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataInterchangeQualifiedNameWithWildCard.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleDataInterchangeQualifiedNameWithWildCard4334); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataInterchangeQualifiedNameWithWildCard" |
| |
| |
| // $ANTLR start "ruleDataInterchangeQualifiedNameWithWildCard" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1962:1: ruleDataInterchangeQualifiedNameWithWildCard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ; |
| public final AntlrDatatypeRuleToken ruleDataInterchangeQualifiedNameWithWildCard() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| AntlrDatatypeRuleToken this_QualifiedName_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1965:28: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1966:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1966:1: (this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1967:5: this_QualifiedName_0= ruleQualifiedName (kw= '.' kw= '*' )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataInterchangeQualifiedNameWithWildCardAccess().getQualifiedNameParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleQualifiedName_in_ruleDataInterchangeQualifiedNameWithWildCard4381); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1977:1: (kw= '.' kw= '*' )? |
| int alt33=2; |
| int LA33_0 = input.LA(1); |
| |
| if ( (LA33_0==66) ) { |
| alt33=1; |
| } |
| switch (alt33) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1978:2: kw= '.' kw= '*' |
| { |
| kw=(Token)match(input,66,FOLLOW_66_in_ruleDataInterchangeQualifiedNameWithWildCard4400); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getDataInterchangeQualifiedNameWithWildCardAccess().getFullStopKeyword_1_0()); |
| |
| } |
| kw=(Token)match(input,67,FOLLOW_67_in_ruleDataInterchangeQualifiedNameWithWildCard4413); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getDataInterchangeQualifiedNameWithWildCardAccess().getAsteriskKeyword_1_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataInterchangeQualifiedNameWithWildCard" |
| |
| |
| // $ANTLR start "entryRuleQualifiedName" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1997:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; |
| public final String entryRuleQualifiedName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleQualifiedName = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1998:2: (iv_ruleQualifiedName= ruleQualifiedName EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:1999:2: iv_ruleQualifiedName= ruleQualifiedName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getQualifiedNameRule()); |
| } |
| pushFollow(FOLLOW_ruleQualifiedName_in_entryRuleQualifiedName4456); |
| iv_ruleQualifiedName=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleQualifiedName.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleQualifiedName4467); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleQualifiedName" |
| |
| |
| // $ANTLR start "ruleQualifiedName" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2006:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) ; |
| public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| AntlrDatatypeRuleToken this_ValidID_0 = null; |
| |
| AntlrDatatypeRuleToken this_ValidID_2 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2009:28: ( (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2010:1: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2010:1: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2011:5: this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleValidID_in_ruleQualifiedName4514); |
| this_ValidID_0=ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ValidID_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2021:1: ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* |
| loop34: |
| do { |
| int alt34=2; |
| int LA34_0 = input.LA(1); |
| |
| if ( (LA34_0==66) ) { |
| int LA34_2 = input.LA(2); |
| |
| if ( (LA34_2==RULE_ID) ) { |
| int LA34_3 = input.LA(3); |
| |
| if ( (synpred1_InternalDataDSL()) ) { |
| alt34=1; |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| switch (alt34) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2021:2: ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2021:2: ( ( '.' )=>kw= '.' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2021:3: ( '.' )=>kw= '.' |
| { |
| kw=(Token)match(input,66,FOLLOW_66_in_ruleQualifiedName4542); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0()); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_1_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleValidID_in_ruleQualifiedName4565); |
| this_ValidID_2=ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ValidID_2); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| default : |
| break loop34; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleQualifiedName" |
| |
| |
| // $ANTLR start "entryRuleValidID" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2048:1: entryRuleValidID returns [String current=null] : iv_ruleValidID= ruleValidID EOF ; |
| public final String entryRuleValidID() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleValidID = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2049:2: (iv_ruleValidID= ruleValidID EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2050:2: iv_ruleValidID= ruleValidID EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getValidIDRule()); |
| } |
| pushFollow(FOLLOW_ruleValidID_in_entryRuleValidID4613); |
| iv_ruleValidID=ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleValidID.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleValidID4624); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleValidID" |
| |
| |
| // $ANTLR start "ruleValidID" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2057:1: ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; |
| public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_ID_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2060:28: (this_ID_0= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2061:5: this_ID_0= RULE_ID |
| { |
| this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleValidID4663); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ID_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall()); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleValidID" |
| |
| |
| // $ANTLR start "entryRuleLFQN" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2076:1: entryRuleLFQN returns [String current=null] : iv_ruleLFQN= ruleLFQN EOF ; |
| public final String entryRuleLFQN() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleLFQN = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2077:2: (iv_ruleLFQN= ruleLFQN EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2078:2: iv_ruleLFQN= ruleLFQN EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLFQNRule()); |
| } |
| pushFollow(FOLLOW_ruleLFQN_in_entryRuleLFQN4708); |
| iv_ruleLFQN=ruleLFQN(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLFQN.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleLFQN4719); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLFQN" |
| |
| |
| // $ANTLR start "ruleLFQN" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2085:1: ruleLFQN returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ; |
| public final AntlrDatatypeRuleToken ruleLFQN() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_ID_0=null; |
| Token kw=null; |
| Token this_ID_2=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2088:28: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2089:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2089:1: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2089:6: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* |
| { |
| this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLFQN4759); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ID_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_ID_0, grammarAccess.getLFQNAccess().getIDTerminalRuleCall_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2096:1: (kw= '.' this_ID_2= RULE_ID )* |
| loop35: |
| do { |
| int alt35=2; |
| int LA35_0 = input.LA(1); |
| |
| if ( (LA35_0==66) ) { |
| alt35=1; |
| } |
| |
| |
| switch (alt35) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2097:2: kw= '.' this_ID_2= RULE_ID |
| { |
| kw=(Token)match(input,66,FOLLOW_66_in_ruleLFQN4778); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getLFQNAccess().getFullStopKeyword_1_0()); |
| |
| } |
| this_ID_2=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleLFQN4793); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ID_2); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_ID_2, grammarAccess.getLFQNAccess().getIDTerminalRuleCall_1_1()); |
| |
| } |
| |
| } |
| break; |
| |
| default : |
| break loop35; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLFQN" |
| |
| |
| // $ANTLR start "entryRuleTRANSLATABLESTRING" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2117: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2118:2: (iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2119:2: iv_ruleTRANSLATABLESTRING= ruleTRANSLATABLESTRING EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTRANSLATABLESTRINGRule()); |
| } |
| pushFollow(FOLLOW_ruleTRANSLATABLESTRING_in_entryRuleTRANSLATABLESTRING4841); |
| iv_ruleTRANSLATABLESTRING=ruleTRANSLATABLESTRING(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTRANSLATABLESTRING.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleTRANSLATABLESTRING4852); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2126: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2129:28: (this_STRING_0= RULE_STRING ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2130:5: this_STRING_0= RULE_STRING |
| { |
| this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleTRANSLATABLESTRING4891); 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 "entryRuleTRANSLATABLEID" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2145:1: entryRuleTRANSLATABLEID returns [String current=null] : iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF ; |
| public final String entryRuleTRANSLATABLEID() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleTRANSLATABLEID = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2146:2: (iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2147:2: iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTRANSLATABLEIDRule()); |
| } |
| pushFollow(FOLLOW_ruleTRANSLATABLEID_in_entryRuleTRANSLATABLEID4936); |
| iv_ruleTRANSLATABLEID=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTRANSLATABLEID.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleTRANSLATABLEID4947); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTRANSLATABLEID" |
| |
| |
| // $ANTLR start "ruleTRANSLATABLEID" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2154:1: ruleTRANSLATABLEID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; |
| public final AntlrDatatypeRuleToken ruleTRANSLATABLEID() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_ID_0=null; |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2157:28: (this_ID_0= RULE_ID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2158:5: this_ID_0= RULE_ID |
| { |
| this_ID_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleTRANSLATABLEID4986); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ID_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_ID_0, grammarAccess.getTRANSLATABLEIDAccess().getIDTerminalRuleCall()); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTRANSLATABLEID" |
| |
| |
| // $ANTLR start "entryRuleXAnnotation" |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2173: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2174:2: (iv_ruleXAnnotation= ruleXAnnotation EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2175:2: iv_ruleXAnnotation= ruleXAnnotation EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationRule()); |
| } |
| pushFollow(FOLLOW_ruleXAnnotation_in_entryRuleXAnnotation5030); |
| iv_ruleXAnnotation=ruleXAnnotation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotation; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotation5040); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2182: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2185: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2186: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2186: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2186: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2186:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2187:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,68,FOLLOW_68_in_ruleXAnnotation5086); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2196:1: ( ( ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2197:1: ( ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2197:1: ( ruleQualifiedName ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2198: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_ruleXAnnotation5109); |
| ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2211: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 alt38=2; |
| int LA38_0 = input.LA(1); |
| |
| if ( (LA38_0==69) && (synpred2_InternalDataDSL())) { |
| alt38=1; |
| } |
| switch (alt38) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2211: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2211:3: ( ( '(' )=>otherlv_3= '(' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2211:4: ( '(' )=>otherlv_3= '(' |
| { |
| otherlv_3=(Token)match(input,69,FOLLOW_69_in_ruleXAnnotation5130); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2216:2: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? |
| int alt37=3; |
| alt37 = dfa37.predict(input); |
| switch (alt37) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2216:3: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2216:3: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2216:4: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2216:4: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2216:5: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2222:1: (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2223:3: lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_ruleXAnnotation5174); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2239:2: (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* |
| loop36: |
| do { |
| int alt36=2; |
| int LA36_0 = input.LA(1); |
| |
| if ( (LA36_0==70) ) { |
| alt36=1; |
| } |
| |
| |
| switch (alt36) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2239:4: otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) |
| { |
| otherlv_5=(Token)match(input,70,FOLLOW_70_in_ruleXAnnotation5187); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2243:1: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2243:2: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2249:1: (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2250:3: lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_ruleXAnnotation5228); |
| 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 loop36; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2267:6: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2267:6: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2268:1: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2268:1: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2269:3: lv_value_7_0= ruleXAnnotationElementValueOrCommaList |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_ruleXAnnotation5258); |
| 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,71,FOLLOW_71_in_ruleXAnnotation5272); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2297: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2298:2: (iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2299:2: iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule()); |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValuePair_in_entryRuleXAnnotationElementValuePair5310); |
| iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationElementValuePair; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValuePair5320); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2306: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2309:28: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2310:1: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2310:1: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2310:2: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2310:2: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2310:3: ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2315:5: ( ( ( ruleValidID ) ) otherlv_1= '=' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2315:6: ( ( ruleValidID ) ) otherlv_1= '=' |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2315:6: ( ( ruleValidID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2316:1: ( ruleValidID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2316:1: ( ruleValidID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2317: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_ruleXAnnotationElementValuePair5390); |
| ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,72,FOLLOW_72_in_ruleXAnnotationElementValuePair5402); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2334:3: ( (lv_value_2_0= ruleXAnnotationElementValue ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2335:1: (lv_value_2_0= ruleXAnnotationElementValue ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2335:1: (lv_value_2_0= ruleXAnnotationElementValue ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2336:3: lv_value_2_0= ruleXAnnotationElementValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValue_in_ruleXAnnotationElementValuePair5425); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2360: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2361:2: (iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2362:2: iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule()); |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValueOrCommaList_in_entryRuleXAnnotationElementValueOrCommaList5461); |
| iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationElementValueOrCommaList; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValueOrCommaList5471); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2369: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2372: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2373: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2373: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 alt43=2; |
| alt43 = dfa43.predict(input); |
| switch (alt43) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2373:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2373:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2373:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2373:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2373:4: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2376:5: ( () otherlv_1= '#' otherlv_2= '[' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2376:6: () otherlv_1= '#' otherlv_2= '[' |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2376:6: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2377:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,73,FOLLOW_73_in_ruleXAnnotationElementValueOrCommaList5536); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1()); |
| |
| } |
| otherlv_2=(Token)match(input,74,FOLLOW_74_in_ruleXAnnotationElementValueOrCommaList5548); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2390:3: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? |
| int alt40=2; |
| int LA40_0 = input.LA(1); |
| |
| if ( ((LA40_0>=RULE_INT && LA40_0<=RULE_DECIMAL)||LA40_0==15||LA40_0==46||LA40_0==65||(LA40_0>=68 && LA40_0<=69)||(LA40_0>=73 && LA40_0<=74)||LA40_0==81||(LA40_0>=97 && LA40_0<=98)||LA40_0==102||LA40_0==109||LA40_0==111||(LA40_0>=115 && LA40_0<=116)||(LA40_0>=119 && LA40_0<=130)||LA40_0==132) ) { |
| alt40=1; |
| } |
| switch (alt40) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2390:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2390:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2391:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2391:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2392:3: lv_elements_3_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList5572); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2408:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| loop39: |
| do { |
| int alt39=2; |
| int LA39_0 = input.LA(1); |
| |
| if ( (LA39_0==70) ) { |
| alt39=1; |
| } |
| |
| |
| switch (alt39) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2408:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| { |
| otherlv_4=(Token)match(input,70,FOLLOW_70_in_ruleXAnnotationElementValueOrCommaList5585); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2412:1: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2413:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2413:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2414:3: lv_elements_5_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList5606); |
| 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 loop39; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,75,FOLLOW_75_in_ruleXAnnotationElementValueOrCommaList5622); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2435:6: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2435:6: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2436: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_ruleXAnnotationElementValueOrCommaList5652); |
| this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XAnnotationOrExpression_7; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2444:1: ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? |
| int alt42=2; |
| int LA42_0 = input.LA(1); |
| |
| if ( (LA42_0==70) ) { |
| alt42=1; |
| } |
| switch (alt42) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2444:2: () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2444:2: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2445:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndAdd( |
| grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2450:2: (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ |
| int cnt41=0; |
| loop41: |
| do { |
| int alt41=2; |
| int LA41_0 = input.LA(1); |
| |
| if ( (LA41_0==70) ) { |
| alt41=1; |
| } |
| |
| |
| switch (alt41) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2450:4: otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) |
| { |
| otherlv_9=(Token)match(input,70,FOLLOW_70_in_ruleXAnnotationElementValueOrCommaList5674); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2454:1: ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2455:1: (lv_elements_10_0= ruleXAnnotationOrExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2455:1: (lv_elements_10_0= ruleXAnnotationOrExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2456:3: lv_elements_10_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValueOrCommaList5695); |
| 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 ( cnt41 >= 1 ) break loop41; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(41, input); |
| throw eee; |
| } |
| cnt41++; |
| } 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2480: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2481:2: (iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2482:2: iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueRule()); |
| } |
| pushFollow(FOLLOW_ruleXAnnotationElementValue_in_entryRuleXAnnotationElementValue5736); |
| iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationElementValue; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationElementValue5746); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2489: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2492: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2493: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2493:1: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) |
| int alt46=2; |
| alt46 = dfa46.predict(input); |
| switch (alt46) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2493:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2493:2: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2493:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2493:3: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2493:4: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2496:5: ( () otherlv_1= '#' otherlv_2= '[' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2496:6: () otherlv_1= '#' otherlv_2= '[' |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2496:6: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2497:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,73,FOLLOW_73_in_ruleXAnnotationElementValue5811); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1()); |
| |
| } |
| otherlv_2=(Token)match(input,74,FOLLOW_74_in_ruleXAnnotationElementValue5823); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2510:3: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? |
| int alt45=2; |
| int LA45_0 = input.LA(1); |
| |
| if ( ((LA45_0>=RULE_INT && LA45_0<=RULE_DECIMAL)||LA45_0==15||LA45_0==46||LA45_0==65||(LA45_0>=68 && LA45_0<=69)||(LA45_0>=73 && LA45_0<=74)||LA45_0==81||(LA45_0>=97 && LA45_0<=98)||LA45_0==102||LA45_0==109||LA45_0==111||(LA45_0>=115 && LA45_0<=116)||(LA45_0>=119 && LA45_0<=130)||LA45_0==132) ) { |
| alt45=1; |
| } |
| switch (alt45) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2510:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2510:4: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2511:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2511:1: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2512:3: lv_elements_3_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue5847); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2528:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| loop44: |
| do { |
| int alt44=2; |
| int LA44_0 = input.LA(1); |
| |
| if ( (LA44_0==70) ) { |
| alt44=1; |
| } |
| |
| |
| switch (alt44) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2528:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| { |
| otherlv_4=(Token)match(input,70,FOLLOW_70_in_ruleXAnnotationElementValue5860); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2532:1: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2533:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2533:1: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2534:3: lv_elements_5_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue5881); |
| 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 loop44; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,75,FOLLOW_75_in_ruleXAnnotationElementValue5897); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2556:5: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_ruleXAnnotationElementValue5926); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2572: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2573:2: (iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2574:2: iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXAnnotationOrExpression_in_entryRuleXAnnotationOrExpression5961); |
| iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationOrExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAnnotationOrExpression5971); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2581: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2584:28: ( (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2585:1: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2585:1: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) |
| int alt47=2; |
| int LA47_0 = input.LA(1); |
| |
| if ( (LA47_0==68) ) { |
| alt47=1; |
| } |
| else if ( ((LA47_0>=RULE_INT && LA47_0<=RULE_DECIMAL)||LA47_0==15||LA47_0==46||LA47_0==65||LA47_0==69||(LA47_0>=73 && LA47_0<=74)||LA47_0==81||(LA47_0>=97 && LA47_0<=98)||LA47_0==102||LA47_0==109||LA47_0==111||(LA47_0>=115 && LA47_0<=116)||(LA47_0>=119 && LA47_0<=130)||LA47_0==132) ) { |
| alt47=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 47, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt47) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2586:5: this_XAnnotation_0= ruleXAnnotation |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAnnotation_in_ruleXAnnotationOrExpression6018); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2596:5: this_XExpression_1= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_ruleXExpression_in_ruleXAnnotationOrExpression6045); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2612: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2613:2: (iv_ruleXExpression= ruleXExpression EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2614:2: iv_ruleXExpression= ruleXExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXExpression_in_entryRuleXExpression6080); |
| iv_ruleXExpression=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXExpression6090); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2621: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2624:28: (this_XAssignment_0= ruleXAssignment ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2626:5: this_XAssignment_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAssignment_in_ruleXExpression6136); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2642: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2643:2: (iv_ruleXAssignment= ruleXAssignment EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2644:2: iv_ruleXAssignment= ruleXAssignment EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAssignmentRule()); |
| } |
| pushFollow(FOLLOW_ruleXAssignment_in_entryRuleXAssignment6170); |
| iv_ruleXAssignment=ruleXAssignment(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAssignment; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAssignment6180); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2651: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2654:28: ( ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2655:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2655:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) |
| int alt49=2; |
| switch ( input.LA(1) ) { |
| case RULE_ID: |
| { |
| int LA49_1 = input.LA(2); |
| |
| if ( (LA49_1==EOF||(LA49_1>=RULE_INT && LA49_1<=RULE_DECIMAL)||(LA49_1>=15 && LA49_1<=16)||LA49_1==46||LA49_1==62||(LA49_1>=65 && LA49_1<=67)||(LA49_1>=69 && LA49_1<=71)||(LA49_1>=73 && LA49_1<=106)||(LA49_1>=108 && LA49_1<=133)) ) { |
| alt49=2; |
| } |
| else if ( (LA49_1==72) ) { |
| alt49=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 49, 1, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 119: |
| { |
| int LA49_2 = input.LA(2); |
| |
| if ( (LA49_2==EOF||(LA49_2>=RULE_INT && LA49_2<=RULE_DECIMAL)||(LA49_2>=15 && LA49_2<=16)||LA49_2==46||LA49_2==62||(LA49_2>=65 && LA49_2<=67)||(LA49_2>=69 && LA49_2<=71)||(LA49_2>=73 && LA49_2<=106)||(LA49_2>=108 && LA49_2<=133)) ) { |
| alt49=2; |
| } |
| else if ( (LA49_2==72) ) { |
| alt49=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 49, 2, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 120: |
| { |
| int LA49_3 = input.LA(2); |
| |
| if ( (LA49_3==EOF||(LA49_3>=RULE_INT && LA49_3<=RULE_DECIMAL)||(LA49_3>=15 && LA49_3<=16)||LA49_3==46||LA49_3==62||(LA49_3>=65 && LA49_3<=67)||(LA49_3>=69 && LA49_3<=71)||(LA49_3>=73 && LA49_3<=106)||(LA49_3>=108 && LA49_3<=133)) ) { |
| alt49=2; |
| } |
| else if ( (LA49_3==72) ) { |
| alt49=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 49, 3, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 65: |
| { |
| int LA49_4 = input.LA(2); |
| |
| if ( (LA49_4==EOF||(LA49_4>=RULE_INT && LA49_4<=RULE_DECIMAL)||(LA49_4>=15 && LA49_4<=16)||LA49_4==46||LA49_4==62||(LA49_4>=65 && LA49_4<=67)||(LA49_4>=69 && LA49_4<=71)||(LA49_4>=73 && LA49_4<=106)||(LA49_4>=108 && LA49_4<=133)) ) { |
| alt49=2; |
| } |
| else if ( (LA49_4==72) ) { |
| alt49=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 49, 4, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 121: |
| { |
| int LA49_5 = input.LA(2); |
| |
| if ( (LA49_5==EOF||(LA49_5>=RULE_INT && LA49_5<=RULE_DECIMAL)||(LA49_5>=15 && LA49_5<=16)||LA49_5==46||LA49_5==62||(LA49_5>=65 && LA49_5<=67)||(LA49_5>=69 && LA49_5<=71)||(LA49_5>=73 && LA49_5<=106)||(LA49_5>=108 && LA49_5<=133)) ) { |
| alt49=2; |
| } |
| else if ( (LA49_5==72) ) { |
| alt49=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 49, 5, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case RULE_INT: |
| case RULE_STRING: |
| case RULE_HEX: |
| case RULE_DECIMAL: |
| case 15: |
| case 46: |
| case 69: |
| case 73: |
| case 74: |
| case 81: |
| case 97: |
| case 98: |
| case 102: |
| case 109: |
| case 111: |
| case 115: |
| case 116: |
| case 122: |
| case 123: |
| case 124: |
| case 125: |
| case 126: |
| case 127: |
| case 128: |
| case 129: |
| case 130: |
| case 132: |
| { |
| alt49=2; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 49, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt49) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2655:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2655:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2655:3: () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2655:3: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2656:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2661:2: ( ( ruleFeatureCallID ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2662:1: ( ruleFeatureCallID ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2662:1: ( ruleFeatureCallID ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2663: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_ruleXAssignment6238); |
| 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_ruleXAssignment6254); |
| ruleOpSingleAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2684:1: ( (lv_value_3_0= ruleXAssignment ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2685:1: (lv_value_3_0= ruleXAssignment ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2685:1: (lv_value_3_0= ruleXAssignment ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2686:3: lv_value_3_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment6274); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2703:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2703:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2704: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_ruleXAssignment6304); |
| this_XOrExpression_4=ruleXOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XOrExpression_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2712:1: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? |
| int alt48=2; |
| alt48 = dfa48.predict(input); |
| switch (alt48) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2712:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2712:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2712:3: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2717:6: ( () ( ( ruleOpMultiAssign ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2717:7: () ( ( ruleOpMultiAssign ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2717:7: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2718:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2723:2: ( ( ruleOpMultiAssign ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2724:1: ( ruleOpMultiAssign ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2724:1: ( ruleOpMultiAssign ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2725: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_ruleXAssignment6357); |
| ruleOpMultiAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2738:4: ( (lv_rightOperand_7_0= ruleXAssignment ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2739:1: (lv_rightOperand_7_0= ruleXAssignment ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2739:1: (lv_rightOperand_7_0= ruleXAssignment ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2740:3: lv_rightOperand_7_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment6380); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2764: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2765:2: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2766:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpSingleAssignRule()); |
| } |
| pushFollow(FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign6420); |
| iv_ruleOpSingleAssign=ruleOpSingleAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpSingleAssign.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpSingleAssign6431); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2773: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2776:28: (kw= '=' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2778:2: kw= '=' |
| { |
| kw=(Token)match(input,72,FOLLOW_72_in_ruleOpSingleAssign6468); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2791: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2792:2: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2793:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpMultiAssignRule()); |
| } |
| pushFollow(FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign6508); |
| iv_ruleOpMultiAssign=ruleOpMultiAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpMultiAssign.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpMultiAssign6519); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2800: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2803:28: ( (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2804:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2804:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) |
| int alt51=7; |
| switch ( input.LA(1) ) { |
| case 76: |
| { |
| alt51=1; |
| } |
| break; |
| case 77: |
| { |
| alt51=2; |
| } |
| break; |
| case 78: |
| { |
| alt51=3; |
| } |
| break; |
| case 79: |
| { |
| alt51=4; |
| } |
| break; |
| case 80: |
| { |
| alt51=5; |
| } |
| break; |
| case 81: |
| { |
| alt51=6; |
| } |
| break; |
| case 82: |
| { |
| alt51=7; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 51, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt51) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2805:2: kw= '+=' |
| { |
| kw=(Token)match(input,76,FOLLOW_76_in_ruleOpMultiAssign6557); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2812:2: kw= '-=' |
| { |
| kw=(Token)match(input,77,FOLLOW_77_in_ruleOpMultiAssign6576); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2819:2: kw= '*=' |
| { |
| kw=(Token)match(input,78,FOLLOW_78_in_ruleOpMultiAssign6595); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2826:2: kw= '/=' |
| { |
| kw=(Token)match(input,79,FOLLOW_79_in_ruleOpMultiAssign6614); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2833:2: kw= '%=' |
| { |
| kw=(Token)match(input,80,FOLLOW_80_in_ruleOpMultiAssign6633); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2839:6: (kw= '<' kw= '<' kw= '=' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2839:6: (kw= '<' kw= '<' kw= '=' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2840:2: kw= '<' kw= '<' kw= '=' |
| { |
| kw=(Token)match(input,81,FOLLOW_81_in_ruleOpMultiAssign6653); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0()); |
| |
| } |
| kw=(Token)match(input,81,FOLLOW_81_in_ruleOpMultiAssign6666); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1()); |
| |
| } |
| kw=(Token)match(input,72,FOLLOW_72_in_ruleOpMultiAssign6679); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2858:6: (kw= '>' (kw= '>' )? kw= '>=' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2858:6: (kw= '>' (kw= '>' )? kw= '>=' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2859:2: kw= '>' (kw= '>' )? kw= '>=' |
| { |
| kw=(Token)match(input,82,FOLLOW_82_in_ruleOpMultiAssign6700); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2864:1: (kw= '>' )? |
| int alt50=2; |
| int LA50_0 = input.LA(1); |
| |
| if ( (LA50_0==82) ) { |
| alt50=1; |
| } |
| switch (alt50) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2865:2: kw= '>' |
| { |
| kw=(Token)match(input,82,FOLLOW_82_in_ruleOpMultiAssign6714); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| kw=(Token)match(input,83,FOLLOW_83_in_ruleOpMultiAssign6729); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2884: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2885:2: (iv_ruleXOrExpression= ruleXOrExpression EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2886:2: iv_ruleXOrExpression= ruleXOrExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXOrExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression6770); |
| iv_ruleXOrExpression=ruleXOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXOrExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXOrExpression6780); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2893: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2896:28: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2897:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2897:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2898: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_ruleXOrExpression6827); |
| this_XAndExpression_0=ruleXAndExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XAndExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2906:1: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* |
| loop52: |
| do { |
| int alt52=2; |
| int LA52_0 = input.LA(1); |
| |
| if ( (LA52_0==84) ) { |
| int LA52_2 = input.LA(2); |
| |
| if ( (synpred9_InternalDataDSL()) ) { |
| alt52=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt52) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2906:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2906:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2906:3: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2911:6: ( () ( ( ruleOpOr ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2911:7: () ( ( ruleOpOr ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2911:7: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2912:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2917:2: ( ( ruleOpOr ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2918:1: ( ruleOpOr ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2918:1: ( ruleOpOr ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2919: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_ruleXOrExpression6880); |
| ruleOpOr(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2932:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2933:1: (lv_rightOperand_3_0= ruleXAndExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2933:1: (lv_rightOperand_3_0= ruleXAndExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2934:3: lv_rightOperand_3_0= ruleXAndExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression6903); |
| 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 loop52; |
| } |
| } 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2958: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2959:2: (iv_ruleOpOr= ruleOpOr EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2960:2: iv_ruleOpOr= ruleOpOr EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpOrRule()); |
| } |
| pushFollow(FOLLOW_ruleOpOr_in_entryRuleOpOr6942); |
| iv_ruleOpOr=ruleOpOr(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpOr.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpOr6953); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2967: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2970:28: (kw= '||' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2972:2: kw= '||' |
| { |
| kw=(Token)match(input,84,FOLLOW_84_in_ruleOpOr6990); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2985: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2986:2: (iv_ruleXAndExpression= ruleXAndExpression EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2987:2: iv_ruleXAndExpression= ruleXAndExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAndExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression7029); |
| iv_ruleXAndExpression=ruleXAndExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAndExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXAndExpression7039); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2994: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2997:28: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2998:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2998:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:2999: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_ruleXAndExpression7086); |
| this_XEqualityExpression_0=ruleXEqualityExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XEqualityExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3007:1: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* |
| loop53: |
| do { |
| int alt53=2; |
| int LA53_0 = input.LA(1); |
| |
| if ( (LA53_0==85) ) { |
| int LA53_2 = input.LA(2); |
| |
| if ( (synpred10_InternalDataDSL()) ) { |
| alt53=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt53) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3007:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3007:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3007:3: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3012:6: ( () ( ( ruleOpAnd ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3012:7: () ( ( ruleOpAnd ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3012:7: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3013:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3018:2: ( ( ruleOpAnd ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3019:1: ( ruleOpAnd ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3019:1: ( ruleOpAnd ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3020: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_ruleXAndExpression7139); |
| ruleOpAnd(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3033:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3034:1: (lv_rightOperand_3_0= ruleXEqualityExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3034:1: (lv_rightOperand_3_0= ruleXEqualityExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3035:3: lv_rightOperand_3_0= ruleXEqualityExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression7162); |
| 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 loop53; |
| } |
| } 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3059: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3060:2: (iv_ruleOpAnd= ruleOpAnd EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3061:2: iv_ruleOpAnd= ruleOpAnd EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpAndRule()); |
| } |
| pushFollow(FOLLOW_ruleOpAnd_in_entryRuleOpAnd7201); |
| iv_ruleOpAnd=ruleOpAnd(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpAnd.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpAnd7212); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3068: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3071:28: (kw= '&&' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3073:2: kw= '&&' |
| { |
| kw=(Token)match(input,85,FOLLOW_85_in_ruleOpAnd7249); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3086: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3087:2: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3088:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXEqualityExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression7288); |
| iv_ruleXEqualityExpression=ruleXEqualityExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXEqualityExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXEqualityExpression7298); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3095: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3098:28: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3099:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3099:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3100: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_ruleXEqualityExpression7345); |
| this_XRelationalExpression_0=ruleXRelationalExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XRelationalExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3108:1: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* |
| loop54: |
| do { |
| int alt54=2; |
| switch ( input.LA(1) ) { |
| case 86: |
| { |
| int LA54_2 = input.LA(2); |
| |
| if ( (synpred11_InternalDataDSL()) ) { |
| alt54=1; |
| } |
| |
| |
| } |
| break; |
| case 87: |
| { |
| int LA54_3 = input.LA(2); |
| |
| if ( (synpred11_InternalDataDSL()) ) { |
| alt54=1; |
| } |
| |
| |
| } |
| break; |
| case 88: |
| { |
| int LA54_4 = input.LA(2); |
| |
| if ( (synpred11_InternalDataDSL()) ) { |
| alt54=1; |
| } |
| |
| |
| } |
| break; |
| case 89: |
| { |
| int LA54_5 = input.LA(2); |
| |
| if ( (synpred11_InternalDataDSL()) ) { |
| alt54=1; |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| switch (alt54) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3108:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3108:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3108:3: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3113:6: ( () ( ( ruleOpEquality ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3113:7: () ( ( ruleOpEquality ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3113:7: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3114:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3119:2: ( ( ruleOpEquality ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3120:1: ( ruleOpEquality ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3120:1: ( ruleOpEquality ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3121: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_ruleXEqualityExpression7398); |
| ruleOpEquality(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3134:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3135:1: (lv_rightOperand_3_0= ruleXRelationalExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3135:1: (lv_rightOperand_3_0= ruleXRelationalExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3136:3: lv_rightOperand_3_0= ruleXRelationalExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression7421); |
| 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 loop54; |
| } |
| } 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3160: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3161:2: (iv_ruleOpEquality= ruleOpEquality EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3162:2: iv_ruleOpEquality= ruleOpEquality EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpEqualityRule()); |
| } |
| pushFollow(FOLLOW_ruleOpEquality_in_entryRuleOpEquality7460); |
| iv_ruleOpEquality=ruleOpEquality(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpEquality.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpEquality7471); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3169: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3172:28: ( (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3173:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3173:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) |
| int alt55=4; |
| switch ( input.LA(1) ) { |
| case 86: |
| { |
| alt55=1; |
| } |
| break; |
| case 87: |
| { |
| alt55=2; |
| } |
| break; |
| case 88: |
| { |
| alt55=3; |
| } |
| break; |
| case 89: |
| { |
| alt55=4; |
| } |
| break; |
| default: |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3174:2: kw= '==' |
| { |
| kw=(Token)match(input,86,FOLLOW_86_in_ruleOpEquality7509); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3181:2: kw= '!=' |
| { |
| kw=(Token)match(input,87,FOLLOW_87_in_ruleOpEquality7528); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3188:2: kw= '===' |
| { |
| kw=(Token)match(input,88,FOLLOW_88_in_ruleOpEquality7547); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3195:2: kw= '!==' |
| { |
| kw=(Token)match(input,89,FOLLOW_89_in_ruleOpEquality7566); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3208: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3209:2: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3210:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXRelationalExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression7606); |
| iv_ruleXRelationalExpression=ruleXRelationalExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXRelationalExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationalExpression7616); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3217: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3220: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3221: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3221: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3222: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_ruleXRelationalExpression7663); |
| this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XOtherOperatorExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3230:1: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* |
| loop56: |
| do { |
| int alt56=3; |
| switch ( input.LA(1) ) { |
| case 81: |
| { |
| int LA56_2 = input.LA(2); |
| |
| if ( (synpred13_InternalDataDSL()) ) { |
| alt56=2; |
| } |
| |
| |
| } |
| break; |
| case 82: |
| { |
| int LA56_3 = input.LA(2); |
| |
| if ( (synpred13_InternalDataDSL()) ) { |
| alt56=2; |
| } |
| |
| |
| } |
| break; |
| case 90: |
| { |
| int LA56_4 = input.LA(2); |
| |
| if ( (synpred12_InternalDataDSL()) ) { |
| alt56=1; |
| } |
| |
| |
| } |
| break; |
| case 83: |
| { |
| int LA56_5 = input.LA(2); |
| |
| if ( (synpred13_InternalDataDSL()) ) { |
| alt56=2; |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| switch (alt56) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3230:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3230:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3230:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3230:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3230:4: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3232:5: ( () otherlv_2= 'instanceof' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3232:6: () otherlv_2= 'instanceof' |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3232:6: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3233:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_2=(Token)match(input,90,FOLLOW_90_in_ruleXRelationalExpression7699); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3242:3: ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3243:1: (lv_type_3_0= ruleJvmTypeReference ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3243:1: (lv_type_3_0= ruleJvmTypeReference ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3244:3: lv_type_3_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXRelationalExpression7722); |
| 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3261:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3261:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3261:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3261:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3261:8: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3266:6: ( () ( ( ruleOpCompare ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3266:7: () ( ( ruleOpCompare ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3266:7: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3267:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3272:2: ( ( ruleOpCompare ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3273:1: ( ruleOpCompare ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3273:1: ( ruleOpCompare ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3274: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_ruleXRelationalExpression7783); |
| ruleOpCompare(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3287:4: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3288:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3288:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3289:3: lv_rightOperand_6_0= ruleXOtherOperatorExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression7806); |
| 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 loop56; |
| } |
| } 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3313: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3314:2: (iv_ruleOpCompare= ruleOpCompare EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3315:2: iv_ruleOpCompare= ruleOpCompare EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpCompareRule()); |
| } |
| pushFollow(FOLLOW_ruleOpCompare_in_entryRuleOpCompare7846); |
| iv_ruleOpCompare=ruleOpCompare(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpCompare.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpCompare7857); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3322: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3325:28: ( (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3326:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3326:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) |
| int alt57=4; |
| switch ( input.LA(1) ) { |
| case 83: |
| { |
| alt57=1; |
| } |
| break; |
| case 81: |
| { |
| int LA57_2 = input.LA(2); |
| |
| if ( (LA57_2==EOF||(LA57_2>=RULE_INT && LA57_2<=RULE_DECIMAL)||LA57_2==15||LA57_2==46||LA57_2==65||LA57_2==69||(LA57_2>=73 && LA57_2<=74)||LA57_2==81||(LA57_2>=97 && LA57_2<=98)||LA57_2==102||LA57_2==109||LA57_2==111||(LA57_2>=115 && LA57_2<=116)||(LA57_2>=119 && LA57_2<=130)||LA57_2==132) ) { |
| alt57=4; |
| } |
| else if ( (LA57_2==72) ) { |
| alt57=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 57, 2, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 82: |
| { |
| alt57=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 57, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt57) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3327:2: kw= '>=' |
| { |
| kw=(Token)match(input,83,FOLLOW_83_in_ruleOpCompare7895); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3333:6: (kw= '<' kw= '=' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3333:6: (kw= '<' kw= '=' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3334:2: kw= '<' kw= '=' |
| { |
| kw=(Token)match(input,81,FOLLOW_81_in_ruleOpCompare7915); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0()); |
| |
| } |
| kw=(Token)match(input,72,FOLLOW_72_in_ruleOpCompare7928); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3347:2: kw= '>' |
| { |
| kw=(Token)match(input,82,FOLLOW_82_in_ruleOpCompare7948); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3354:2: kw= '<' |
| { |
| kw=(Token)match(input,81,FOLLOW_81_in_ruleOpCompare7967); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3367: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3368:2: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3369:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule()); |
| } |
| pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression8007); |
| iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXOtherOperatorExpression; |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleXOtherOperatorExpression8017); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3376: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3379:28: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3380:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3380:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3381: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_ruleXOtherOperatorExpression8064); |
| this_XAdditiveExpression_0=ruleXAdditiveExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XAdditiveExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3389:1: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* |
| loop58: |
| do { |
| int alt58=2; |
| alt58 = dfa58.predict(input); |
| switch (alt58) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3389:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3389:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3389:3: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3394:6: ( () ( ( ruleOpOther ) ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3394:7: () ( ( ruleOpOther ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3394:7: () |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3395:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3400:2: ( ( ruleOpOther ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3401:1: ( ruleOpOther ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3401:1: ( ruleOpOther ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3402: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_ruleXOtherOperatorExpression8117); |
| ruleOpOther(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3415:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3416:1: (lv_rightOperand_3_0= ruleXAdditiveExpression ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3416:1: (lv_rightOperand_3_0= ruleXAdditiveExpression ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3417:3: lv_rightOperand_3_0= ruleXAdditiveExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression8140); |
| 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 loop58; |
| } |
| } 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3441: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3442:2: (iv_ruleOpOther= ruleOpOther EOF ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3443:2: iv_ruleOpOther= ruleOpOther EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpOtherRule()); |
| } |
| pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther8179); |
| iv_ruleOpOther=ruleOpOther(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpOther.getText(); |
| } |
| match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther8190); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3450: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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3453:28: ( (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3454:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3454:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) |
| int alt61=9; |
| alt61 = dfa61.predict(input); |
| switch (alt61) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3455:2: kw= '->' |
| { |
| kw=(Token)match(input,91,FOLLOW_91_in_ruleOpOther8228); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3462:2: kw= '..<' |
| { |
| kw=(Token)match(input,92,FOLLOW_92_in_ruleOpOther8247); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3468:6: (kw= '>' kw= '..' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3468:6: (kw= '>' kw= '..' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3469:2: kw= '>' kw= '..' |
| { |
| kw=(Token)match(input,82,FOLLOW_82_in_ruleOpOther8267); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0()); |
| |
| } |
| kw=(Token)match(input,93,FOLLOW_93_in_ruleOpOther8280); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3482:2: kw= '..' |
| { |
| kw=(Token)match(input,93,FOLLOW_93_in_ruleOpOther8300); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3489:2: kw= '=>' |
| { |
| kw=(Token)match(input,94,FOLLOW_94_in_ruleOpOther8319); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3495:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3495:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3496:2: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) |
| { |
| kw=(Token)match(input,82,FOLLOW_82_in_ruleOpOther8339); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0()); |
| |
| } |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3501:1: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) |
| int alt59=2; |
| int LA59_0 = input.LA(1); |
| |
| if ( (LA59_0==82) ) { |
| int LA59_1 = input.LA(2); |
| |
| if ( (LA59_1==82) && (synpred15_InternalDataDSL())) { |
| alt59=1; |
| } |
| else if ( (LA59_1==EOF||(LA59_1>=RULE_INT && LA59_1<=RULE_DECIMAL)||LA59_1==15||LA59_1==46||LA59_1==65||LA59_1==69||(LA59_1>=73 && LA59_1<=74)||LA59_1==81||(LA59_1>=97 && LA59_1<=98)||LA59_1==102||LA59_1==109||LA59_1==111||(LA59_1>=115 && LA59_1<=116)||(LA59_1>=119 && LA59_1<=130)||LA59_1==132) ) { |
| alt59=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 59, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 59, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt59) { |
| case 1 : |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3501:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3501:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3501:3: ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) |
| { |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3505:5: (kw= '>' kw= '>' ) |
| // ../org.eclipse.osbp.xtext.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3506:2: kw= '>' kw= '>' |
| { |
| kw=(Token)match(input,82,FOLLOW_82_in_ruleOpOther8370); 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,82,FOLLOW_82_in_ruleOpOther8383); 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.datainterchange/src-gen/org/eclipse/osbp/xtext/datainterchange/parser/antlr/internal/InternalDataDSL.g:3519:2: kw= '>' |
| { |
| kw=(Token)match(input,82,FOLLOW_82_in_ruleOpOther8404); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1()); |
| |