| package org.eclipse.osbp.dsl.entity.xtext.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.dsl.entity.xtext.services.EntityGrammarGrammarAccess; |
| |
| |
| |
| import org.antlr.runtime.*; |
| import java.util.Stack; |
| import java.util.List; |
| import java.util.ArrayList; |
| import java.util.Map; |
| import java.util.HashMap; |
| /** |
| * Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf), Loetz GmbH&Co.KG (Heidelberg) |
| * All rights reserved. This program and the accompanying materials |
| * are made available under the terms of the Eclipse Public License 2.0 |
| * which accompanies this distribution, and is available at |
| * https://www.eclipse.org/legal/epl-2.0/ |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * Florian Pirchner - Initial implementation |
| * |
| * generated by Xtext 2.11.0 |
| */ |
| @SuppressWarnings("all") |
| public class InternalEntityGrammarParser extends AbstractInternalAntlrParser { |
| public static final String[] tokenNames = new String[] { |
| "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_INT", "RULE_HEX", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'abstract'", "'historized'", "'timedependent'", "'('", "')'", "'cacheable'", "'entity'", "'extends'", "'{'", "'persistenceUnit'", "'stateClass'", "'}'", "'mappedSuperclass'", "'bean'", "'onTab'", "'unique'", "'index'", "','", "'schemaName'", "'tableName'", "'ref'", "'cascadeMergePersist'", "'cascadeRemove'", "'cascadeRefresh'", "'filterDepth'", "'['", "']'", "'opposite'", "'asGrid'", "'asTable'", "'sideKick'", "'hidden'", "'readOnly'", "'group'", "'properties'", "'transient'", "'extraStyle'", "'derived'", "'domainDescription'", "'var'", "'id'", "'uuid'", "'version'", "'domainKey'", "'filter'", "'range'", "'onKanbanCard'", "'asKanbanState'", "'asKanbanOrdering'", "'decentOrder'", "'def'", "'states'", "'='", "'superIndex'", "'.'", "'inheritancePerClass'", "'discriminatorColumn'", "'discriminatorType'", "'discriminatorValue'", "'inheritancePerSubclass'", "'package'", "'datatype'", "'jvmType'", "'asPrimitive'", "'dateType'", "'asBlob'", "'isFalse'", "'msgCode'", "'msgI18nKey'", "'severity'", "'isTrue'", "'maxDecimal'", "'minDecimal'", "'digits'", "'isFuture'", "'isPast'", "'maxNumber'", "'minNumber'", "'isNotNull'", "'isNull'", "'regex'", "'minMaxSize'", "'enum'", "'asDefault'", "'state'", "'key'", "'value'", "'cachable'", "'collection'", "'refers'", "'settings'", "'lazy'", "'notnull'", "'dto'", "'date'", "'mapto'", "'..'", "'+'", "'-'", "'import'", "'static'", "'extension'", "'*'", "'ns'", "';'", "'@'", "'#'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'=>'", "'<>'", "'?:'", "'**'", "'/'", "'%'", "'!'", "'as'", "'++'", "'--'", "'::'", "'?.'", "'|'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'val'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'", "'INHERIT'", "'STRING'", "'CHAR'", "'INT'", "'DATE'", "'TIMESTAMP'", "'info'", "'warn'", "'error'", "'time'", "'timestamp'", "'private'", "'protected'", "'public'", "'<='", "'0'", "'1'" |
| }; |
| 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 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=5; |
| public static final int T__131=131; |
| public static final int T__130=130; |
| public static final int RULE_INT=6; |
| public static final int T__66=66; |
| 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__166=166; |
| public static final int T__165=165; |
| public static final int T__168=168; |
| public static final int T__167=167; |
| public static final int T__162=162; |
| public static final int T__161=161; |
| public static final int T__164=164; |
| public static final int T__163=163; |
| public static final int T__160=160; |
| 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__159=159; |
| public static final int T__30=30; |
| public static final int T__158=158; |
| public static final int T__31=31; |
| public static final int T__32=32; |
| public static final int T__155=155; |
| public static final int T__154=154; |
| public static final int T__157=157; |
| public static final int T__156=156; |
| public static final int T__151=151; |
| public static final int T__150=150; |
| public static final int T__153=153; |
| public static final int T__152=152; |
| 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__148=148; |
| public static final int T__41=41; |
| public static final int T__147=147; |
| public static final int T__42=42; |
| public static final int T__43=43; |
| public static final int T__149=149; |
| public static final int T__100=100; |
| public static final int T__102=102; |
| public static final int T__101=101; |
| public static final int T__19=19; |
| public static final int T__15=15; |
| public static final int T__16=16; |
| public static final int T__17=17; |
| public static final int T__18=18; |
| public static final int T__13=13; |
| public static final int T__14=14; |
| public static final int 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__121=121; |
| public static final int T__124=124; |
| public static final int T__123=123; |
| public static final int T__120=120; |
| public static final int RULE_SL_COMMENT=10; |
| public static final int T__119=119; |
| public static final int T__118=118; |
| public static final int T__115=115; |
| public static final int EOF=-1; |
| public static final int T__114=114; |
| public static final int T__117=117; |
| public static final int T__116=116; |
| public static final int T__111=111; |
| public static final int T__110=110; |
| public static final int T__113=113; |
| public static final int T__112=112; |
| public static final int T__108=108; |
| public static final int T__107=107; |
| public static final int T__109=109; |
| public static final int T__104=104; |
| public static final int T__103=103; |
| public static final int T__106=106; |
| public static final int T__105=105; |
| public static final int RULE_HEX=7; |
| public static final int RULE_ML_COMMENT=9; |
| public static final int T__91=91; |
| public static final int T__188=188; |
| public static final int T__92=92; |
| public static final int T__187=187; |
| public static final int T__93=93; |
| public static final int T__94=94; |
| public static final int T__189=189; |
| public static final int T__184=184; |
| public static final int T__183=183; |
| public static final int T__186=186; |
| public static final int T__90=90; |
| public static final int T__185=185; |
| public static final int T__180=180; |
| public static final int T__182=182; |
| public static final int T__181=181; |
| public static final int T__99=99; |
| 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 T__177=177; |
| public static final int T__176=176; |
| public static final int T__179=179; |
| public static final int T__178=178; |
| public static final int T__173=173; |
| public static final int T__172=172; |
| public static final int T__175=175; |
| public static final int T__174=174; |
| public static final int T__171=171; |
| public static final int T__170=170; |
| public static final int T__169=169; |
| public static final int T__70=70; |
| public static final int T__71=71; |
| public static final int T__72=72; |
| public static final int RULE_STRING=4; |
| public static final int T__77=77; |
| public static final int T__78=78; |
| public static final int T__79=79; |
| public static final int T__73=73; |
| public static final int T__74=74; |
| public static final int T__75=75; |
| public static final int T__76=76; |
| public static final int T__80=80; |
| public static final int T__81=81; |
| public static final int T__82=82; |
| public static final int T__83=83; |
| public static final int RULE_WS=11; |
| public static final int T__190=190; |
| public static final int RULE_ANY_OTHER=12; |
| public static final int T__88=88; |
| public static final int T__89=89; |
| public static final int T__84=84; |
| public static final int T__85=85; |
| public static final int T__86=86; |
| public static final int T__87=87; |
| |
| // delegates |
| // delegators |
| |
| |
| public InternalEntityGrammarParser(TokenStream input) { |
| this(input, new RecognizerSharedState()); |
| } |
| public InternalEntityGrammarParser(TokenStream input, RecognizerSharedState state) { |
| super(input, state); |
| |
| } |
| |
| |
| public String[] getTokenNames() { return InternalEntityGrammarParser.tokenNames; } |
| public String getGrammarFileName() { return "InternalEntityGrammar.g"; } |
| |
| |
| |
| private EntityGrammarGrammarAccess grammarAccess; |
| |
| public InternalEntityGrammarParser(TokenStream input, EntityGrammarGrammarAccess grammarAccess) { |
| this(input); |
| this.grammarAccess = grammarAccess; |
| registerRules(grammarAccess.getGrammar()); |
| } |
| |
| @Override |
| protected String getFirstRuleName() { |
| return "EntityModel"; |
| } |
| |
| @Override |
| protected EntityGrammarGrammarAccess getGrammarAccess() { |
| return grammarAccess; |
| } |
| |
| |
| |
| |
| // $ANTLR start "entryRuleEntityModel" |
| // InternalEntityGrammar.g:76:1: entryRuleEntityModel returns [EObject current=null] : iv_ruleEntityModel= ruleEntityModel EOF ; |
| public final EObject entryRuleEntityModel() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEntityModel = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:76:52: (iv_ruleEntityModel= ruleEntityModel EOF ) |
| // InternalEntityGrammar.g:77:2: iv_ruleEntityModel= ruleEntityModel EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEntityModelRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleEntityModel=ruleEntityModel(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEntityModel; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEntityModel" |
| |
| |
| // $ANTLR start "ruleEntityModel" |
| // InternalEntityGrammar.g:83:1: ruleEntityModel returns [EObject current=null] : ( ( (lv_importSection_0_0= ruleXImportSection ) )? ( (lv_packages_1_0= ruleTypedPackage ) )* ) ; |
| public final EObject ruleEntityModel() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_importSection_0_0 = null; |
| |
| EObject lv_packages_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:89:2: ( ( ( (lv_importSection_0_0= ruleXImportSection ) )? ( (lv_packages_1_0= ruleTypedPackage ) )* ) ) |
| // InternalEntityGrammar.g:90:2: ( ( (lv_importSection_0_0= ruleXImportSection ) )? ( (lv_packages_1_0= ruleTypedPackage ) )* ) |
| { |
| // InternalEntityGrammar.g:90:2: ( ( (lv_importSection_0_0= ruleXImportSection ) )? ( (lv_packages_1_0= ruleTypedPackage ) )* ) |
| // InternalEntityGrammar.g:91:3: ( (lv_importSection_0_0= ruleXImportSection ) )? ( (lv_packages_1_0= ruleTypedPackage ) )* |
| { |
| // InternalEntityGrammar.g:91:3: ( (lv_importSection_0_0= ruleXImportSection ) )? |
| int alt1=2; |
| int LA1_0 = input.LA(1); |
| |
| if ( (LA1_0==112) ) { |
| alt1=1; |
| } |
| switch (alt1) { |
| case 1 : |
| // InternalEntityGrammar.g:92:4: (lv_importSection_0_0= ruleXImportSection ) |
| { |
| // InternalEntityGrammar.g:92:4: (lv_importSection_0_0= ruleXImportSection ) |
| // InternalEntityGrammar.g:93:5: lv_importSection_0_0= ruleXImportSection |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityModelAccess().getImportSectionXImportSectionParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FOLLOW_3); |
| lv_importSection_0_0=ruleXImportSection(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityModelRule()); |
| } |
| set( |
| current, |
| "importSection", |
| lv_importSection_0_0, |
| "org.eclipse.xtext.xbase.Xtype.XImportSection"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:110:3: ( (lv_packages_1_0= ruleTypedPackage ) )* |
| loop2: |
| do { |
| int alt2=2; |
| int LA2_0 = input.LA(1); |
| |
| if ( (LA2_0==73) ) { |
| alt2=1; |
| } |
| |
| |
| switch (alt2) { |
| case 1 : |
| // InternalEntityGrammar.g:111:4: (lv_packages_1_0= ruleTypedPackage ) |
| { |
| // InternalEntityGrammar.g:111:4: (lv_packages_1_0= ruleTypedPackage ) |
| // InternalEntityGrammar.g:112:5: lv_packages_1_0= ruleTypedPackage |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityModelAccess().getPackagesTypedPackageParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_3); |
| lv_packages_1_0=ruleTypedPackage(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityModelRule()); |
| } |
| add( |
| current, |
| "packages", |
| lv_packages_1_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.TypedPackage"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop2; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEntityModel" |
| |
| |
| // $ANTLR start "entryRuleClass" |
| // InternalEntityGrammar.g:133:1: entryRuleClass returns [EObject current=null] : iv_ruleClass= ruleClass EOF ; |
| public final EObject entryRuleClass() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleClass = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:133:46: (iv_ruleClass= ruleClass EOF ) |
| // InternalEntityGrammar.g:134:2: iv_ruleClass= ruleClass EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getClassRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleClass=ruleClass(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleClass; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleClass" |
| |
| |
| // $ANTLR start "ruleClass" |
| // InternalEntityGrammar.g:140:1: ruleClass returns [EObject current=null] : ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () ( (lv_abstract_3_0= 'abstract' ) )? ( ( (lv_historized_4_0= 'historized' ) ) | ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) )? ( (lv_cacheable_9_0= 'cacheable' ) )? otherlv_10= 'entity' ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_14= '{' ( (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) ) ( (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) )? (otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) )? (otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) )? ( (lv_features_21_0= ruleEntityFeature ) )* ( ( (lv_indexes_22_0= ruleIndex ) ) | ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) )* otherlv_24= '}' ) | ( () ( ( (lv_historized_26_0= 'historized' ) ) | ( (lv_timedependent_27_0= 'timedependent' ) ) )? ( (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) ) (otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_name_31_0= ruleValidIDWithKeywords ) ) otherlv_32= '{' (otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) )? ( (lv_features_35_0= ruleEntityFeature ) )* otherlv_36= '}' ) | ( () otherlv_38= 'bean' ( (lv_name_39_0= ruleTRANSLATABLEID ) ) (otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_beanOnTab_42_0= 'onTab' ) )? otherlv_43= '{' ( (lv_features_44_0= ruleBeanFeature ) )* otherlv_45= '}' ) ) ) ; |
| public final EObject ruleClass() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_abstract_3_0=null; |
| Token lv_historized_4_0=null; |
| Token lv_timedependent_5_0=null; |
| Token otherlv_6=null; |
| Token otherlv_8=null; |
| Token lv_cacheable_9_0=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token otherlv_14=null; |
| Token otherlv_17=null; |
| Token lv_persistenceUnit_18_0=null; |
| Token otherlv_19=null; |
| Token otherlv_20=null; |
| Token otherlv_24=null; |
| Token lv_historized_26_0=null; |
| Token lv_timedependent_27_0=null; |
| Token lv_mappedSuperclass_28_0=null; |
| Token otherlv_29=null; |
| Token otherlv_32=null; |
| Token otherlv_33=null; |
| Token lv_persistenceUnit_34_0=null; |
| Token otherlv_36=null; |
| Token otherlv_38=null; |
| Token otherlv_40=null; |
| Token lv_beanOnTab_42_0=null; |
| Token otherlv_43=null; |
| Token otherlv_45=null; |
| EObject lv_annotations_1_0 = null; |
| |
| Enumerator lv_timedependentDateType_7_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_11_0 = null; |
| |
| EObject lv_persistenceInfo_15_0 = null; |
| |
| EObject lv_inheritanceStrategy_16_0 = null; |
| |
| EObject lv_features_21_0 = null; |
| |
| EObject lv_indexes_22_0 = null; |
| |
| EObject lv_superIndex_23_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_31_0 = null; |
| |
| EObject lv_features_35_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_39_0 = null; |
| |
| EObject lv_features_44_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:146:2: ( ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () ( (lv_abstract_3_0= 'abstract' ) )? ( ( (lv_historized_4_0= 'historized' ) ) | ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) )? ( (lv_cacheable_9_0= 'cacheable' ) )? otherlv_10= 'entity' ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_14= '{' ( (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) ) ( (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) )? (otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) )? (otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) )? ( (lv_features_21_0= ruleEntityFeature ) )* ( ( (lv_indexes_22_0= ruleIndex ) ) | ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) )* otherlv_24= '}' ) | ( () ( ( (lv_historized_26_0= 'historized' ) ) | ( (lv_timedependent_27_0= 'timedependent' ) ) )? ( (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) ) (otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_name_31_0= ruleValidIDWithKeywords ) ) otherlv_32= '{' (otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) )? ( (lv_features_35_0= ruleEntityFeature ) )* otherlv_36= '}' ) | ( () otherlv_38= 'bean' ( (lv_name_39_0= ruleTRANSLATABLEID ) ) (otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_beanOnTab_42_0= 'onTab' ) )? otherlv_43= '{' ( (lv_features_44_0= ruleBeanFeature ) )* otherlv_45= '}' ) ) ) ) |
| // InternalEntityGrammar.g:147:2: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () ( (lv_abstract_3_0= 'abstract' ) )? ( ( (lv_historized_4_0= 'historized' ) ) | ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) )? ( (lv_cacheable_9_0= 'cacheable' ) )? otherlv_10= 'entity' ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_14= '{' ( (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) ) ( (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) )? (otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) )? (otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) )? ( (lv_features_21_0= ruleEntityFeature ) )* ( ( (lv_indexes_22_0= ruleIndex ) ) | ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) )* otherlv_24= '}' ) | ( () ( ( (lv_historized_26_0= 'historized' ) ) | ( (lv_timedependent_27_0= 'timedependent' ) ) )? ( (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) ) (otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_name_31_0= ruleValidIDWithKeywords ) ) otherlv_32= '{' (otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) )? ( (lv_features_35_0= ruleEntityFeature ) )* otherlv_36= '}' ) | ( () otherlv_38= 'bean' ( (lv_name_39_0= ruleTRANSLATABLEID ) ) (otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_beanOnTab_42_0= 'onTab' ) )? otherlv_43= '{' ( (lv_features_44_0= ruleBeanFeature ) )* otherlv_45= '}' ) ) ) |
| { |
| // InternalEntityGrammar.g:147:2: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () ( (lv_abstract_3_0= 'abstract' ) )? ( ( (lv_historized_4_0= 'historized' ) ) | ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) )? ( (lv_cacheable_9_0= 'cacheable' ) )? otherlv_10= 'entity' ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_14= '{' ( (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) ) ( (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) )? (otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) )? (otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) )? ( (lv_features_21_0= ruleEntityFeature ) )* ( ( (lv_indexes_22_0= ruleIndex ) ) | ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) )* otherlv_24= '}' ) | ( () ( ( (lv_historized_26_0= 'historized' ) ) | ( (lv_timedependent_27_0= 'timedependent' ) ) )? ( (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) ) (otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_name_31_0= ruleValidIDWithKeywords ) ) otherlv_32= '{' (otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) )? ( (lv_features_35_0= ruleEntityFeature ) )* otherlv_36= '}' ) | ( () otherlv_38= 'bean' ( (lv_name_39_0= ruleTRANSLATABLEID ) ) (otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_beanOnTab_42_0= 'onTab' ) )? otherlv_43= '{' ( (lv_features_44_0= ruleBeanFeature ) )* otherlv_45= '}' ) ) ) |
| // InternalEntityGrammar.g:148:3: () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () ( (lv_abstract_3_0= 'abstract' ) )? ( ( (lv_historized_4_0= 'historized' ) ) | ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) )? ( (lv_cacheable_9_0= 'cacheable' ) )? otherlv_10= 'entity' ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_14= '{' ( (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) ) ( (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) )? (otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) )? (otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) )? ( (lv_features_21_0= ruleEntityFeature ) )* ( ( (lv_indexes_22_0= ruleIndex ) ) | ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) )* otherlv_24= '}' ) | ( () ( ( (lv_historized_26_0= 'historized' ) ) | ( (lv_timedependent_27_0= 'timedependent' ) ) )? ( (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) ) (otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_name_31_0= ruleValidIDWithKeywords ) ) otherlv_32= '{' (otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) )? ( (lv_features_35_0= ruleEntityFeature ) )* otherlv_36= '}' ) | ( () otherlv_38= 'bean' ( (lv_name_39_0= ruleTRANSLATABLEID ) ) (otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_beanOnTab_42_0= 'onTab' ) )? otherlv_43= '{' ( (lv_features_44_0= ruleBeanFeature ) )* otherlv_45= '}' ) ) |
| { |
| // InternalEntityGrammar.g:148:3: () |
| // InternalEntityGrammar.g:149:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getClassAccess().getLClassAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:155:3: ( (lv_annotations_1_0= ruleAnnotationDef ) )* |
| loop3: |
| do { |
| int alt3=2; |
| int LA3_0 = input.LA(1); |
| |
| if ( (LA3_0==118) ) { |
| alt3=1; |
| } |
| |
| |
| switch (alt3) { |
| case 1 : |
| // InternalEntityGrammar.g:156:4: (lv_annotations_1_0= ruleAnnotationDef ) |
| { |
| // InternalEntityGrammar.g:156:4: (lv_annotations_1_0= ruleAnnotationDef ) |
| // InternalEntityGrammar.g:157:5: lv_annotations_1_0= ruleAnnotationDef |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getAnnotationsAnnotationDefParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_4); |
| lv_annotations_1_0=ruleAnnotationDef(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| current, |
| "annotations", |
| lv_annotations_1_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.AnnotationDef"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop3; |
| } |
| } while (true); |
| |
| // InternalEntityGrammar.g:174:3: ( ( () ( (lv_abstract_3_0= 'abstract' ) )? ( ( (lv_historized_4_0= 'historized' ) ) | ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) )? ( (lv_cacheable_9_0= 'cacheable' ) )? otherlv_10= 'entity' ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_14= '{' ( (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) ) ( (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) )? (otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) )? (otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) )? ( (lv_features_21_0= ruleEntityFeature ) )* ( ( (lv_indexes_22_0= ruleIndex ) ) | ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) )* otherlv_24= '}' ) | ( () ( ( (lv_historized_26_0= 'historized' ) ) | ( (lv_timedependent_27_0= 'timedependent' ) ) )? ( (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) ) (otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_name_31_0= ruleValidIDWithKeywords ) ) otherlv_32= '{' (otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) )? ( (lv_features_35_0= ruleEntityFeature ) )* otherlv_36= '}' ) | ( () otherlv_38= 'bean' ( (lv_name_39_0= ruleTRANSLATABLEID ) ) (otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_beanOnTab_42_0= 'onTab' ) )? otherlv_43= '{' ( (lv_features_44_0= ruleBeanFeature ) )* otherlv_45= '}' ) ) |
| int alt21=3; |
| switch ( input.LA(1) ) { |
| case 13: |
| case 18: |
| case 19: |
| { |
| alt21=1; |
| } |
| break; |
| case 14: |
| { |
| int LA21_2 = input.LA(2); |
| |
| if ( (LA21_2==25) ) { |
| alt21=2; |
| } |
| else if ( ((LA21_2>=18 && LA21_2<=19)) ) { |
| alt21=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 21, 2, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 15: |
| { |
| int LA21_3 = input.LA(2); |
| |
| if ( (LA21_3==25) ) { |
| alt21=2; |
| } |
| else if ( (LA21_3==16||(LA21_3>=18 && LA21_3<=19)) ) { |
| alt21=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 21, 3, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 25: |
| { |
| alt21=2; |
| } |
| break; |
| case 26: |
| { |
| alt21=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 21, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt21) { |
| case 1 : |
| // InternalEntityGrammar.g:175:4: ( () ( (lv_abstract_3_0= 'abstract' ) )? ( ( (lv_historized_4_0= 'historized' ) ) | ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) )? ( (lv_cacheable_9_0= 'cacheable' ) )? otherlv_10= 'entity' ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_14= '{' ( (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) ) ( (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) )? (otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) )? (otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) )? ( (lv_features_21_0= ruleEntityFeature ) )* ( ( (lv_indexes_22_0= ruleIndex ) ) | ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) )* otherlv_24= '}' ) |
| { |
| // InternalEntityGrammar.g:175:4: ( () ( (lv_abstract_3_0= 'abstract' ) )? ( ( (lv_historized_4_0= 'historized' ) ) | ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) )? ( (lv_cacheable_9_0= 'cacheable' ) )? otherlv_10= 'entity' ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_14= '{' ( (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) ) ( (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) )? (otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) )? (otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) )? ( (lv_features_21_0= ruleEntityFeature ) )* ( ( (lv_indexes_22_0= ruleIndex ) ) | ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) )* otherlv_24= '}' ) |
| // InternalEntityGrammar.g:176:5: () ( (lv_abstract_3_0= 'abstract' ) )? ( ( (lv_historized_4_0= 'historized' ) ) | ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) )? ( (lv_cacheable_9_0= 'cacheable' ) )? otherlv_10= 'entity' ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_14= '{' ( (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) ) ( (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) )? (otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) )? (otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) )? ( (lv_features_21_0= ruleEntityFeature ) )* ( ( (lv_indexes_22_0= ruleIndex ) ) | ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) )* otherlv_24= '}' |
| { |
| // InternalEntityGrammar.g:176:5: () |
| // InternalEntityGrammar.g:177:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getClassAccess().getLEntityAnnotationInfoAction_2_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:183:5: ( (lv_abstract_3_0= 'abstract' ) )? |
| int alt4=2; |
| int LA4_0 = input.LA(1); |
| |
| if ( (LA4_0==13) ) { |
| alt4=1; |
| } |
| switch (alt4) { |
| case 1 : |
| // InternalEntityGrammar.g:184:6: (lv_abstract_3_0= 'abstract' ) |
| { |
| // InternalEntityGrammar.g:184:6: (lv_abstract_3_0= 'abstract' ) |
| // InternalEntityGrammar.g:185:7: lv_abstract_3_0= 'abstract' |
| { |
| lv_abstract_3_0=(Token)match(input,13,FOLLOW_5); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_abstract_3_0, grammarAccess.getClassAccess().getAbstractAbstractKeyword_2_0_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed(current, "abstract", true, "abstract"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:197:5: ( ( (lv_historized_4_0= 'historized' ) ) | ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) )? |
| int alt6=3; |
| int LA6_0 = input.LA(1); |
| |
| if ( (LA6_0==14) ) { |
| alt6=1; |
| } |
| else if ( (LA6_0==15) ) { |
| alt6=2; |
| } |
| switch (alt6) { |
| case 1 : |
| // InternalEntityGrammar.g:198:6: ( (lv_historized_4_0= 'historized' ) ) |
| { |
| // InternalEntityGrammar.g:198:6: ( (lv_historized_4_0= 'historized' ) ) |
| // InternalEntityGrammar.g:199:7: (lv_historized_4_0= 'historized' ) |
| { |
| // InternalEntityGrammar.g:199:7: (lv_historized_4_0= 'historized' ) |
| // InternalEntityGrammar.g:200:8: lv_historized_4_0= 'historized' |
| { |
| lv_historized_4_0=(Token)match(input,14,FOLLOW_6); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_historized_4_0, grammarAccess.getClassAccess().getHistorizedHistorizedKeyword_2_0_2_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed(current, "historized", true, "historized"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:213:6: ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) |
| { |
| // InternalEntityGrammar.g:213:6: ( ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? ) |
| // InternalEntityGrammar.g:214:7: ( (lv_timedependent_5_0= 'timedependent' ) ) (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? |
| { |
| // InternalEntityGrammar.g:214:7: ( (lv_timedependent_5_0= 'timedependent' ) ) |
| // InternalEntityGrammar.g:215:8: (lv_timedependent_5_0= 'timedependent' ) |
| { |
| // InternalEntityGrammar.g:215:8: (lv_timedependent_5_0= 'timedependent' ) |
| // InternalEntityGrammar.g:216:9: lv_timedependent_5_0= 'timedependent' |
| { |
| lv_timedependent_5_0=(Token)match(input,15,FOLLOW_7); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_timedependent_5_0, grammarAccess.getClassAccess().getTimedependentTimedependentKeyword_2_0_2_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed(current, "timedependent", true, "timedependent"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:228:7: (otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' )? |
| int alt5=2; |
| int LA5_0 = input.LA(1); |
| |
| if ( (LA5_0==16) ) { |
| alt5=1; |
| } |
| switch (alt5) { |
| case 1 : |
| // InternalEntityGrammar.g:229:8: otherlv_6= '(' ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) otherlv_8= ')' |
| { |
| otherlv_6=(Token)match(input,16,FOLLOW_8); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getClassAccess().getLeftParenthesisKeyword_2_0_2_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:233:8: ( (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) ) |
| // InternalEntityGrammar.g:234:9: (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) |
| { |
| // InternalEntityGrammar.g:234:9: (lv_timedependentDateType_7_0= ruleLHistorizedDateType ) |
| // InternalEntityGrammar.g:235:10: lv_timedependentDateType_7_0= ruleLHistorizedDateType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getTimedependentDateTypeLHistorizedDateTypeEnumRuleCall_2_0_2_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_timedependentDateType_7_0=ruleLHistorizedDateType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| current, |
| "timedependentDateType", |
| lv_timedependentDateType_7_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.LHistorizedDateType"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_8=(Token)match(input,17,FOLLOW_6); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getClassAccess().getRightParenthesisKeyword_2_0_2_1_1_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:259:5: ( (lv_cacheable_9_0= 'cacheable' ) )? |
| int alt7=2; |
| int LA7_0 = input.LA(1); |
| |
| if ( (LA7_0==18) ) { |
| alt7=1; |
| } |
| switch (alt7) { |
| case 1 : |
| // InternalEntityGrammar.g:260:6: (lv_cacheable_9_0= 'cacheable' ) |
| { |
| // InternalEntityGrammar.g:260:6: (lv_cacheable_9_0= 'cacheable' ) |
| // InternalEntityGrammar.g:261:7: lv_cacheable_9_0= 'cacheable' |
| { |
| lv_cacheable_9_0=(Token)match(input,18,FOLLOW_10); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_cacheable_9_0, grammarAccess.getClassAccess().getCacheableCacheableKeyword_2_0_3_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed(current, "cacheable", true, "cacheable"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_10=(Token)match(input,19,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getClassAccess().getEntityKeyword_2_0_4()); |
| |
| } |
| // InternalEntityGrammar.g:277:5: ( (lv_name_11_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:278:6: (lv_name_11_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:278:6: (lv_name_11_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:279:7: lv_name_11_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getNameTRANSLATABLEIDParserRuleCall_2_0_5_0()); |
| |
| } |
| pushFollow(FOLLOW_12); |
| lv_name_11_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_11_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:296:5: (otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? |
| int alt8=2; |
| int LA8_0 = input.LA(1); |
| |
| if ( (LA8_0==20) ) { |
| alt8=1; |
| } |
| switch (alt8) { |
| case 1 : |
| // InternalEntityGrammar.g:297:6: otherlv_12= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| { |
| otherlv_12=(Token)match(input,20,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getClassAccess().getExtendsKeyword_2_0_6_0()); |
| |
| } |
| // InternalEntityGrammar.g:301:6: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // InternalEntityGrammar.g:302:7: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // InternalEntityGrammar.g:302:7: ( ruleTYPE_CROSS_REFERENCE ) |
| // InternalEntityGrammar.g:303:8: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getSuperTypeLEntityCrossReference_2_0_6_1_0()); |
| |
| } |
| pushFollow(FOLLOW_14); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_14=(Token)match(input,21,FOLLOW_15); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_14, grammarAccess.getClassAccess().getLeftCurlyBracketKeyword_2_0_7()); |
| |
| } |
| // InternalEntityGrammar.g:322:5: ( (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) ) |
| // InternalEntityGrammar.g:323:6: (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) |
| { |
| // InternalEntityGrammar.g:323:6: (lv_persistenceInfo_15_0= ruleEntityPersistenceInfo ) |
| // InternalEntityGrammar.g:324:7: lv_persistenceInfo_15_0= ruleEntityPersistenceInfo |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getPersistenceInfoEntityPersistenceInfoParserRuleCall_2_0_8_0()); |
| |
| } |
| pushFollow(FOLLOW_16); |
| lv_persistenceInfo_15_0=ruleEntityPersistenceInfo(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| current, |
| "persistenceInfo", |
| lv_persistenceInfo_15_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.EntityPersistenceInfo"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:341:5: ( (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) )? |
| int alt9=2; |
| int LA9_0 = input.LA(1); |
| |
| if ( (LA9_0==68||LA9_0==72) ) { |
| alt9=1; |
| } |
| switch (alt9) { |
| case 1 : |
| // InternalEntityGrammar.g:342:6: (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) |
| { |
| // InternalEntityGrammar.g:342:6: (lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy ) |
| // InternalEntityGrammar.g:343:7: lv_inheritanceStrategy_16_0= ruleEntityInheritanceStrategy |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getInheritanceStrategyEntityInheritanceStrategyParserRuleCall_2_0_9_0()); |
| |
| } |
| pushFollow(FOLLOW_17); |
| lv_inheritanceStrategy_16_0=ruleEntityInheritanceStrategy(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| current, |
| "inheritanceStrategy", |
| lv_inheritanceStrategy_16_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.EntityInheritanceStrategy"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:360:5: (otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) )? |
| int alt10=2; |
| int LA10_0 = input.LA(1); |
| |
| if ( (LA10_0==22) ) { |
| alt10=1; |
| } |
| switch (alt10) { |
| case 1 : |
| // InternalEntityGrammar.g:361:6: otherlv_17= 'persistenceUnit' ( (lv_persistenceUnit_18_0= RULE_STRING ) ) |
| { |
| otherlv_17=(Token)match(input,22,FOLLOW_18); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_17, grammarAccess.getClassAccess().getPersistenceUnitKeyword_2_0_10_0()); |
| |
| } |
| // InternalEntityGrammar.g:365:6: ( (lv_persistenceUnit_18_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:366:7: (lv_persistenceUnit_18_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:366:7: (lv_persistenceUnit_18_0= RULE_STRING ) |
| // InternalEntityGrammar.g:367:8: lv_persistenceUnit_18_0= RULE_STRING |
| { |
| lv_persistenceUnit_18_0=(Token)match(input,RULE_STRING,FOLLOW_19); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_persistenceUnit_18_0, grammarAccess.getClassAccess().getPersistenceUnitSTRINGTerminalRuleCall_2_0_10_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "persistenceUnit", |
| lv_persistenceUnit_18_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:384:5: (otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) )? |
| int alt11=2; |
| int LA11_0 = input.LA(1); |
| |
| if ( (LA11_0==23) ) { |
| alt11=1; |
| } |
| switch (alt11) { |
| case 1 : |
| // InternalEntityGrammar.g:385:6: otherlv_19= 'stateClass' ( (otherlv_20= RULE_ID ) ) |
| { |
| otherlv_19=(Token)match(input,23,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_19, grammarAccess.getClassAccess().getStateClassKeyword_2_0_11_0()); |
| |
| } |
| // InternalEntityGrammar.g:389:6: ( (otherlv_20= RULE_ID ) ) |
| // InternalEntityGrammar.g:390:7: (otherlv_20= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:390:7: (otherlv_20= RULE_ID ) |
| // InternalEntityGrammar.g:391:8: otherlv_20= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| |
| } |
| otherlv_20=(Token)match(input,RULE_ID,FOLLOW_20); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_20, grammarAccess.getClassAccess().getStateClassLStateClassCrossReference_2_0_11_1_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:403:5: ( (lv_features_21_0= ruleEntityFeature ) )* |
| loop12: |
| do { |
| int alt12=2; |
| int LA12_0 = input.LA(1); |
| |
| if ( (LA12_0==33||LA12_0==48||(LA12_0>=50 && LA12_0<=56)||LA12_0==63||LA12_0==118) ) { |
| alt12=1; |
| } |
| |
| |
| switch (alt12) { |
| case 1 : |
| // InternalEntityGrammar.g:404:6: (lv_features_21_0= ruleEntityFeature ) |
| { |
| // InternalEntityGrammar.g:404:6: (lv_features_21_0= ruleEntityFeature ) |
| // InternalEntityGrammar.g:405:7: lv_features_21_0= ruleEntityFeature |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getFeaturesEntityFeatureParserRuleCall_2_0_12_0()); |
| |
| } |
| pushFollow(FOLLOW_20); |
| lv_features_21_0=ruleEntityFeature(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| current, |
| "features", |
| lv_features_21_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.EntityFeature"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop12; |
| } |
| } while (true); |
| |
| // InternalEntityGrammar.g:422:5: ( ( (lv_indexes_22_0= ruleIndex ) ) | ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) )* |
| loop13: |
| do { |
| int alt13=3; |
| int LA13_0 = input.LA(1); |
| |
| if ( ((LA13_0>=28 && LA13_0<=29)) ) { |
| alt13=1; |
| } |
| else if ( (LA13_0==66) ) { |
| alt13=2; |
| } |
| |
| |
| switch (alt13) { |
| case 1 : |
| // InternalEntityGrammar.g:423:6: ( (lv_indexes_22_0= ruleIndex ) ) |
| { |
| // InternalEntityGrammar.g:423:6: ( (lv_indexes_22_0= ruleIndex ) ) |
| // InternalEntityGrammar.g:424:7: (lv_indexes_22_0= ruleIndex ) |
| { |
| // InternalEntityGrammar.g:424:7: (lv_indexes_22_0= ruleIndex ) |
| // InternalEntityGrammar.g:425:8: lv_indexes_22_0= ruleIndex |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getIndexesIndexParserRuleCall_2_0_13_0_0()); |
| |
| } |
| pushFollow(FOLLOW_21); |
| lv_indexes_22_0=ruleIndex(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| current, |
| "indexes", |
| lv_indexes_22_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.Index"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:443:6: ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) |
| { |
| // InternalEntityGrammar.g:443:6: ( (lv_superIndex_23_0= ruleEntitySuperIndex ) ) |
| // InternalEntityGrammar.g:444:7: (lv_superIndex_23_0= ruleEntitySuperIndex ) |
| { |
| // InternalEntityGrammar.g:444:7: (lv_superIndex_23_0= ruleEntitySuperIndex ) |
| // InternalEntityGrammar.g:445:8: lv_superIndex_23_0= ruleEntitySuperIndex |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getSuperIndexEntitySuperIndexParserRuleCall_2_0_13_1_0()); |
| |
| } |
| pushFollow(FOLLOW_21); |
| lv_superIndex_23_0=ruleEntitySuperIndex(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| current, |
| "superIndex", |
| lv_superIndex_23_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.EntitySuperIndex"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop13; |
| } |
| } while (true); |
| |
| otherlv_24=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_24, grammarAccess.getClassAccess().getRightCurlyBracketKeyword_2_0_14()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:469:4: ( () ( ( (lv_historized_26_0= 'historized' ) ) | ( (lv_timedependent_27_0= 'timedependent' ) ) )? ( (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) ) (otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_name_31_0= ruleValidIDWithKeywords ) ) otherlv_32= '{' (otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) )? ( (lv_features_35_0= ruleEntityFeature ) )* otherlv_36= '}' ) |
| { |
| // InternalEntityGrammar.g:469:4: ( () ( ( (lv_historized_26_0= 'historized' ) ) | ( (lv_timedependent_27_0= 'timedependent' ) ) )? ( (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) ) (otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_name_31_0= ruleValidIDWithKeywords ) ) otherlv_32= '{' (otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) )? ( (lv_features_35_0= ruleEntityFeature ) )* otherlv_36= '}' ) |
| // InternalEntityGrammar.g:470:5: () ( ( (lv_historized_26_0= 'historized' ) ) | ( (lv_timedependent_27_0= 'timedependent' ) ) )? ( (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) ) (otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_name_31_0= ruleValidIDWithKeywords ) ) otherlv_32= '{' (otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) )? ( (lv_features_35_0= ruleEntityFeature ) )* otherlv_36= '}' |
| { |
| // InternalEntityGrammar.g:470:5: () |
| // InternalEntityGrammar.g:471:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getClassAccess().getLEntityAnnotationInfoAction_2_1_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:477:5: ( ( (lv_historized_26_0= 'historized' ) ) | ( (lv_timedependent_27_0= 'timedependent' ) ) )? |
| int alt14=3; |
| int LA14_0 = input.LA(1); |
| |
| if ( (LA14_0==14) ) { |
| alt14=1; |
| } |
| else if ( (LA14_0==15) ) { |
| alt14=2; |
| } |
| switch (alt14) { |
| case 1 : |
| // InternalEntityGrammar.g:478:6: ( (lv_historized_26_0= 'historized' ) ) |
| { |
| // InternalEntityGrammar.g:478:6: ( (lv_historized_26_0= 'historized' ) ) |
| // InternalEntityGrammar.g:479:7: (lv_historized_26_0= 'historized' ) |
| { |
| // InternalEntityGrammar.g:479:7: (lv_historized_26_0= 'historized' ) |
| // InternalEntityGrammar.g:480:8: lv_historized_26_0= 'historized' |
| { |
| lv_historized_26_0=(Token)match(input,14,FOLLOW_22); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_historized_26_0, grammarAccess.getClassAccess().getHistorizedHistorizedKeyword_2_1_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed(current, "historized", true, "historized"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:493:6: ( (lv_timedependent_27_0= 'timedependent' ) ) |
| { |
| // InternalEntityGrammar.g:493:6: ( (lv_timedependent_27_0= 'timedependent' ) ) |
| // InternalEntityGrammar.g:494:7: (lv_timedependent_27_0= 'timedependent' ) |
| { |
| // InternalEntityGrammar.g:494:7: (lv_timedependent_27_0= 'timedependent' ) |
| // InternalEntityGrammar.g:495:8: lv_timedependent_27_0= 'timedependent' |
| { |
| lv_timedependent_27_0=(Token)match(input,15,FOLLOW_22); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_timedependent_27_0, grammarAccess.getClassAccess().getTimedependentTimedependentKeyword_2_1_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed(current, "timedependent", true, "timedependent"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:508:5: ( (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) ) |
| // InternalEntityGrammar.g:509:6: (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) |
| { |
| // InternalEntityGrammar.g:509:6: (lv_mappedSuperclass_28_0= 'mappedSuperclass' ) |
| // InternalEntityGrammar.g:510:7: lv_mappedSuperclass_28_0= 'mappedSuperclass' |
| { |
| lv_mappedSuperclass_28_0=(Token)match(input,25,FOLLOW_23); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_mappedSuperclass_28_0, grammarAccess.getClassAccess().getMappedSuperclassMappedSuperclassKeyword_2_1_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed(current, "mappedSuperclass", true, "mappedSuperclass"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:522:5: (otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? |
| int alt15=2; |
| int LA15_0 = input.LA(1); |
| |
| if ( (LA15_0==20) ) { |
| alt15=1; |
| } |
| switch (alt15) { |
| case 1 : |
| // InternalEntityGrammar.g:523:6: otherlv_29= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| { |
| otherlv_29=(Token)match(input,20,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_29, grammarAccess.getClassAccess().getExtendsKeyword_2_1_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:527:6: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // InternalEntityGrammar.g:528:7: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // InternalEntityGrammar.g:528:7: ( ruleTYPE_CROSS_REFERENCE ) |
| // InternalEntityGrammar.g:529:8: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getSuperTypeLEntityCrossReference_2_1_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_11); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:544:5: ( (lv_name_31_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:545:6: (lv_name_31_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:545:6: (lv_name_31_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:546:7: lv_name_31_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getNameValidIDWithKeywordsParserRuleCall_2_1_4_0()); |
| |
| } |
| pushFollow(FOLLOW_14); |
| lv_name_31_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_31_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_32=(Token)match(input,21,FOLLOW_24); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_32, grammarAccess.getClassAccess().getLeftCurlyBracketKeyword_2_1_5()); |
| |
| } |
| // InternalEntityGrammar.g:567:5: (otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) )? |
| int alt16=2; |
| int LA16_0 = input.LA(1); |
| |
| if ( (LA16_0==22) ) { |
| alt16=1; |
| } |
| switch (alt16) { |
| case 1 : |
| // InternalEntityGrammar.g:568:6: otherlv_33= 'persistenceUnit' ( (lv_persistenceUnit_34_0= RULE_STRING ) ) |
| { |
| otherlv_33=(Token)match(input,22,FOLLOW_18); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_33, grammarAccess.getClassAccess().getPersistenceUnitKeyword_2_1_6_0()); |
| |
| } |
| // InternalEntityGrammar.g:572:6: ( (lv_persistenceUnit_34_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:573:7: (lv_persistenceUnit_34_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:573:7: (lv_persistenceUnit_34_0= RULE_STRING ) |
| // InternalEntityGrammar.g:574:8: lv_persistenceUnit_34_0= RULE_STRING |
| { |
| lv_persistenceUnit_34_0=(Token)match(input,RULE_STRING,FOLLOW_25); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_persistenceUnit_34_0, grammarAccess.getClassAccess().getPersistenceUnitSTRINGTerminalRuleCall_2_1_6_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "persistenceUnit", |
| lv_persistenceUnit_34_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:591:5: ( (lv_features_35_0= ruleEntityFeature ) )* |
| loop17: |
| do { |
| int alt17=2; |
| int LA17_0 = input.LA(1); |
| |
| if ( (LA17_0==33||LA17_0==48||(LA17_0>=50 && LA17_0<=56)||LA17_0==63||LA17_0==118) ) { |
| alt17=1; |
| } |
| |
| |
| switch (alt17) { |
| case 1 : |
| // InternalEntityGrammar.g:592:6: (lv_features_35_0= ruleEntityFeature ) |
| { |
| // InternalEntityGrammar.g:592:6: (lv_features_35_0= ruleEntityFeature ) |
| // InternalEntityGrammar.g:593:7: lv_features_35_0= ruleEntityFeature |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getFeaturesEntityFeatureParserRuleCall_2_1_7_0()); |
| |
| } |
| pushFollow(FOLLOW_25); |
| lv_features_35_0=ruleEntityFeature(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| current, |
| "features", |
| lv_features_35_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.EntityFeature"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop17; |
| } |
| } while (true); |
| |
| otherlv_36=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_36, grammarAccess.getClassAccess().getRightCurlyBracketKeyword_2_1_8()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:616:4: ( () otherlv_38= 'bean' ( (lv_name_39_0= ruleTRANSLATABLEID ) ) (otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_beanOnTab_42_0= 'onTab' ) )? otherlv_43= '{' ( (lv_features_44_0= ruleBeanFeature ) )* otherlv_45= '}' ) |
| { |
| // InternalEntityGrammar.g:616:4: ( () otherlv_38= 'bean' ( (lv_name_39_0= ruleTRANSLATABLEID ) ) (otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_beanOnTab_42_0= 'onTab' ) )? otherlv_43= '{' ( (lv_features_44_0= ruleBeanFeature ) )* otherlv_45= '}' ) |
| // InternalEntityGrammar.g:617:5: () otherlv_38= 'bean' ( (lv_name_39_0= ruleTRANSLATABLEID ) ) (otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? ( (lv_beanOnTab_42_0= 'onTab' ) )? otherlv_43= '{' ( (lv_features_44_0= ruleBeanFeature ) )* otherlv_45= '}' |
| { |
| // InternalEntityGrammar.g:617:5: () |
| // InternalEntityGrammar.g:618:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getClassAccess().getLBeanAnnotationInfoAction_2_2_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_38=(Token)match(input,26,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_38, grammarAccess.getClassAccess().getBeanKeyword_2_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:628:5: ( (lv_name_39_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:629:6: (lv_name_39_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:629:6: (lv_name_39_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:630:7: lv_name_39_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getNameTRANSLATABLEIDParserRuleCall_2_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_26); |
| lv_name_39_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_39_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:647:5: (otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? |
| int alt18=2; |
| int LA18_0 = input.LA(1); |
| |
| if ( (LA18_0==20) ) { |
| alt18=1; |
| } |
| switch (alt18) { |
| case 1 : |
| // InternalEntityGrammar.g:648:6: otherlv_40= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| { |
| otherlv_40=(Token)match(input,20,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_40, grammarAccess.getClassAccess().getExtendsKeyword_2_2_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:652:6: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // InternalEntityGrammar.g:653:7: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // InternalEntityGrammar.g:653:7: ( ruleTYPE_CROSS_REFERENCE ) |
| // InternalEntityGrammar.g:654:8: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getSuperTypeLBeanCrossReference_2_2_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_27); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:669:5: ( (lv_beanOnTab_42_0= 'onTab' ) )? |
| int alt19=2; |
| int LA19_0 = input.LA(1); |
| |
| if ( (LA19_0==27) ) { |
| alt19=1; |
| } |
| switch (alt19) { |
| case 1 : |
| // InternalEntityGrammar.g:670:6: (lv_beanOnTab_42_0= 'onTab' ) |
| { |
| // InternalEntityGrammar.g:670:6: (lv_beanOnTab_42_0= 'onTab' ) |
| // InternalEntityGrammar.g:671:7: lv_beanOnTab_42_0= 'onTab' |
| { |
| lv_beanOnTab_42_0=(Token)match(input,27,FOLLOW_14); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_beanOnTab_42_0, grammarAccess.getClassAccess().getBeanOnTabOnTabKeyword_2_2_4_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed(current, "beanOnTab", true, "onTab"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_43=(Token)match(input,21,FOLLOW_28); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_43, grammarAccess.getClassAccess().getLeftCurlyBracketKeyword_2_2_5()); |
| |
| } |
| // InternalEntityGrammar.g:687:5: ( (lv_features_44_0= ruleBeanFeature ) )* |
| loop20: |
| do { |
| int alt20=2; |
| int LA20_0 = input.LA(1); |
| |
| if ( (LA20_0==33||LA20_0==48||(LA20_0>=52 && LA20_0<=53)||LA20_0==55||LA20_0==63||LA20_0==118) ) { |
| alt20=1; |
| } |
| |
| |
| switch (alt20) { |
| case 1 : |
| // InternalEntityGrammar.g:688:6: (lv_features_44_0= ruleBeanFeature ) |
| { |
| // InternalEntityGrammar.g:688:6: (lv_features_44_0= ruleBeanFeature ) |
| // InternalEntityGrammar.g:689:7: lv_features_44_0= ruleBeanFeature |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getFeaturesBeanFeatureParserRuleCall_2_2_6_0()); |
| |
| } |
| pushFollow(FOLLOW_28); |
| lv_features_44_0=ruleBeanFeature(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| current, |
| "features", |
| lv_features_44_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.BeanFeature"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop20; |
| } |
| } while (true); |
| |
| otherlv_45=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_45, grammarAccess.getClassAccess().getRightCurlyBracketKeyword_2_2_7()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleClass" |
| |
| |
| // $ANTLR start "entryRuleIndex" |
| // InternalEntityGrammar.g:716:1: entryRuleIndex returns [EObject current=null] : iv_ruleIndex= ruleIndex EOF ; |
| public final EObject entryRuleIndex() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleIndex = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:716:46: (iv_ruleIndex= ruleIndex EOF ) |
| // InternalEntityGrammar.g:717:2: iv_ruleIndex= ruleIndex EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getIndexRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleIndex=ruleIndex(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleIndex; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleIndex" |
| |
| |
| // $ANTLR start "ruleIndex" |
| // InternalEntityGrammar.g:723:1: ruleIndex returns [EObject current=null] : ( ( (lv_unique_0_0= 'unique' ) )? otherlv_1= 'index' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* otherlv_7= '}' ) ; |
| public final EObject ruleIndex() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_unique_0_0=null; |
| Token otherlv_1=null; |
| Token lv_name_2_0=null; |
| Token otherlv_3=null; |
| Token otherlv_4=null; |
| Token otherlv_5=null; |
| Token otherlv_6=null; |
| Token otherlv_7=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:729:2: ( ( ( (lv_unique_0_0= 'unique' ) )? otherlv_1= 'index' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* otherlv_7= '}' ) ) |
| // InternalEntityGrammar.g:730:2: ( ( (lv_unique_0_0= 'unique' ) )? otherlv_1= 'index' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* otherlv_7= '}' ) |
| { |
| // InternalEntityGrammar.g:730:2: ( ( (lv_unique_0_0= 'unique' ) )? otherlv_1= 'index' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* otherlv_7= '}' ) |
| // InternalEntityGrammar.g:731:3: ( (lv_unique_0_0= 'unique' ) )? otherlv_1= 'index' ( (lv_name_2_0= RULE_ID ) ) otherlv_3= '{' ( (otherlv_4= RULE_ID ) ) (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* otherlv_7= '}' |
| { |
| // InternalEntityGrammar.g:731:3: ( (lv_unique_0_0= 'unique' ) )? |
| int alt22=2; |
| int LA22_0 = input.LA(1); |
| |
| if ( (LA22_0==28) ) { |
| alt22=1; |
| } |
| switch (alt22) { |
| case 1 : |
| // InternalEntityGrammar.g:732:4: (lv_unique_0_0= 'unique' ) |
| { |
| // InternalEntityGrammar.g:732:4: (lv_unique_0_0= 'unique' ) |
| // InternalEntityGrammar.g:733:5: lv_unique_0_0= 'unique' |
| { |
| lv_unique_0_0=(Token)match(input,28,FOLLOW_29); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_unique_0_0, grammarAccess.getIndexAccess().getUniqueUniqueKeyword_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getIndexRule()); |
| } |
| setWithLastConsumed(current, "unique", true, "unique"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_1=(Token)match(input,29,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getIndexAccess().getIndexKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:749:3: ( (lv_name_2_0= RULE_ID ) ) |
| // InternalEntityGrammar.g:750:4: (lv_name_2_0= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:750:4: (lv_name_2_0= RULE_ID ) |
| // InternalEntityGrammar.g:751:5: lv_name_2_0= RULE_ID |
| { |
| lv_name_2_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_name_2_0, grammarAccess.getIndexAccess().getNameIDTerminalRuleCall_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getIndexRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_2_0, |
| "org.eclipse.xtext.xbase.Xtype.ID"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,21,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getIndexAccess().getLeftCurlyBracketKeyword_3()); |
| |
| } |
| // InternalEntityGrammar.g:771:3: ( (otherlv_4= RULE_ID ) ) |
| // InternalEntityGrammar.g:772:4: (otherlv_4= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:772:4: (otherlv_4= RULE_ID ) |
| // InternalEntityGrammar.g:773:5: otherlv_4= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getIndexRule()); |
| } |
| |
| } |
| otherlv_4=(Token)match(input,RULE_ID,FOLLOW_30); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getIndexAccess().getFeaturesLEntityFeatureCrossReference_4_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:784:3: (otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) )* |
| loop23: |
| do { |
| int alt23=2; |
| int LA23_0 = input.LA(1); |
| |
| if ( (LA23_0==30) ) { |
| alt23=1; |
| } |
| |
| |
| switch (alt23) { |
| case 1 : |
| // InternalEntityGrammar.g:785:4: otherlv_5= ',' ( (otherlv_6= RULE_ID ) ) |
| { |
| otherlv_5=(Token)match(input,30,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getIndexAccess().getCommaKeyword_5_0()); |
| |
| } |
| // InternalEntityGrammar.g:789:4: ( (otherlv_6= RULE_ID ) ) |
| // InternalEntityGrammar.g:790:5: (otherlv_6= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:790:5: (otherlv_6= RULE_ID ) |
| // InternalEntityGrammar.g:791:6: otherlv_6= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getIndexRule()); |
| } |
| |
| } |
| otherlv_6=(Token)match(input,RULE_ID,FOLLOW_30); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getIndexAccess().getFeaturesLEntityFeatureCrossReference_5_1_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop23; |
| } |
| } while (true); |
| |
| otherlv_7=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getIndexAccess().getRightCurlyBracketKeyword_6()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleIndex" |
| |
| |
| // $ANTLR start "entryRuleEntityPersistenceInfo" |
| // InternalEntityGrammar.g:811:1: entryRuleEntityPersistenceInfo returns [EObject current=null] : iv_ruleEntityPersistenceInfo= ruleEntityPersistenceInfo EOF ; |
| public final EObject entryRuleEntityPersistenceInfo() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEntityPersistenceInfo = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:811:62: (iv_ruleEntityPersistenceInfo= ruleEntityPersistenceInfo EOF ) |
| // InternalEntityGrammar.g:812:2: iv_ruleEntityPersistenceInfo= ruleEntityPersistenceInfo EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEntityPersistenceInfoRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleEntityPersistenceInfo=ruleEntityPersistenceInfo(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEntityPersistenceInfo; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEntityPersistenceInfo" |
| |
| |
| // $ANTLR start "ruleEntityPersistenceInfo" |
| // InternalEntityGrammar.g:818:1: ruleEntityPersistenceInfo returns [EObject current=null] : ( () (otherlv_1= 'schemaName' ( (lv_schemaName_2_0= ruleValidIDWithKeywords ) ) )? (otherlv_3= 'tableName' ( (lv_tableName_4_0= ruleValidIDWithKeywords ) ) )? ) ; |
| public final EObject ruleEntityPersistenceInfo() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| AntlrDatatypeRuleToken lv_schemaName_2_0 = null; |
| |
| AntlrDatatypeRuleToken lv_tableName_4_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:824:2: ( ( () (otherlv_1= 'schemaName' ( (lv_schemaName_2_0= ruleValidIDWithKeywords ) ) )? (otherlv_3= 'tableName' ( (lv_tableName_4_0= ruleValidIDWithKeywords ) ) )? ) ) |
| // InternalEntityGrammar.g:825:2: ( () (otherlv_1= 'schemaName' ( (lv_schemaName_2_0= ruleValidIDWithKeywords ) ) )? (otherlv_3= 'tableName' ( (lv_tableName_4_0= ruleValidIDWithKeywords ) ) )? ) |
| { |
| // InternalEntityGrammar.g:825:2: ( () (otherlv_1= 'schemaName' ( (lv_schemaName_2_0= ruleValidIDWithKeywords ) ) )? (otherlv_3= 'tableName' ( (lv_tableName_4_0= ruleValidIDWithKeywords ) ) )? ) |
| // InternalEntityGrammar.g:826:3: () (otherlv_1= 'schemaName' ( (lv_schemaName_2_0= ruleValidIDWithKeywords ) ) )? (otherlv_3= 'tableName' ( (lv_tableName_4_0= ruleValidIDWithKeywords ) ) )? |
| { |
| // InternalEntityGrammar.g:826:3: () |
| // InternalEntityGrammar.g:827:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getEntityPersistenceInfoAccess().getLEntityPersistenceInfoAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:833:3: (otherlv_1= 'schemaName' ( (lv_schemaName_2_0= ruleValidIDWithKeywords ) ) )? |
| int alt24=2; |
| int LA24_0 = input.LA(1); |
| |
| if ( (LA24_0==31) ) { |
| alt24=1; |
| } |
| switch (alt24) { |
| case 1 : |
| // InternalEntityGrammar.g:834:4: otherlv_1= 'schemaName' ( (lv_schemaName_2_0= ruleValidIDWithKeywords ) ) |
| { |
| otherlv_1=(Token)match(input,31,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getEntityPersistenceInfoAccess().getSchemaNameKeyword_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:838:4: ( (lv_schemaName_2_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:839:5: (lv_schemaName_2_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:839:5: (lv_schemaName_2_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:840:6: lv_schemaName_2_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityPersistenceInfoAccess().getSchemaNameValidIDWithKeywordsParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_31); |
| lv_schemaName_2_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityPersistenceInfoRule()); |
| } |
| set( |
| current, |
| "schemaName", |
| lv_schemaName_2_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:858:3: (otherlv_3= 'tableName' ( (lv_tableName_4_0= ruleValidIDWithKeywords ) ) )? |
| int alt25=2; |
| int LA25_0 = input.LA(1); |
| |
| if ( (LA25_0==32) ) { |
| alt25=1; |
| } |
| switch (alt25) { |
| case 1 : |
| // InternalEntityGrammar.g:859:4: otherlv_3= 'tableName' ( (lv_tableName_4_0= ruleValidIDWithKeywords ) ) |
| { |
| otherlv_3=(Token)match(input,32,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getEntityPersistenceInfoAccess().getTableNameKeyword_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:863:4: ( (lv_tableName_4_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:864:5: (lv_tableName_4_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:864:5: (lv_tableName_4_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:865:6: lv_tableName_4_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityPersistenceInfoAccess().getTableNameValidIDWithKeywordsParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_tableName_4_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityPersistenceInfoRule()); |
| } |
| set( |
| current, |
| "tableName", |
| lv_tableName_4_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEntityPersistenceInfo" |
| |
| |
| // $ANTLR start "entryRuleColumnPersistenceInfo" |
| // InternalEntityGrammar.g:887:1: entryRuleColumnPersistenceInfo returns [EObject current=null] : iv_ruleColumnPersistenceInfo= ruleColumnPersistenceInfo EOF ; |
| public final EObject entryRuleColumnPersistenceInfo() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleColumnPersistenceInfo = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:887:62: (iv_ruleColumnPersistenceInfo= ruleColumnPersistenceInfo EOF ) |
| // InternalEntityGrammar.g:888:2: iv_ruleColumnPersistenceInfo= ruleColumnPersistenceInfo EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getColumnPersistenceInfoRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleColumnPersistenceInfo=ruleColumnPersistenceInfo(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleColumnPersistenceInfo; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleColumnPersistenceInfo" |
| |
| |
| // $ANTLR start "ruleColumnPersistenceInfo" |
| // InternalEntityGrammar.g:894:1: ruleColumnPersistenceInfo returns [EObject current=null] : ( () otherlv_1= '(' ( (lv_columnName_2_0= ruleValidIDWithKeywords ) ) otherlv_3= ')' ) ; |
| public final EObject ruleColumnPersistenceInfo() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| AntlrDatatypeRuleToken lv_columnName_2_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:900:2: ( ( () otherlv_1= '(' ( (lv_columnName_2_0= ruleValidIDWithKeywords ) ) otherlv_3= ')' ) ) |
| // InternalEntityGrammar.g:901:2: ( () otherlv_1= '(' ( (lv_columnName_2_0= ruleValidIDWithKeywords ) ) otherlv_3= ')' ) |
| { |
| // InternalEntityGrammar.g:901:2: ( () otherlv_1= '(' ( (lv_columnName_2_0= ruleValidIDWithKeywords ) ) otherlv_3= ')' ) |
| // InternalEntityGrammar.g:902:3: () otherlv_1= '(' ( (lv_columnName_2_0= ruleValidIDWithKeywords ) ) otherlv_3= ')' |
| { |
| // InternalEntityGrammar.g:902:3: () |
| // InternalEntityGrammar.g:903:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getColumnPersistenceInfoAccess().getLEntityColumnPersistenceInfoAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,16,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getColumnPersistenceInfoAccess().getLeftParenthesisKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:913:3: ( (lv_columnName_2_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:914:4: (lv_columnName_2_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:914:4: (lv_columnName_2_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:915:5: lv_columnName_2_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getColumnPersistenceInfoAccess().getColumnNameValidIDWithKeywordsParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_columnName_2_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getColumnPersistenceInfoRule()); |
| } |
| set( |
| current, |
| "columnName", |
| lv_columnName_2_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getColumnPersistenceInfoAccess().getRightParenthesisKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleColumnPersistenceInfo" |
| |
| |
| // $ANTLR start "entryRuleEntityFeature" |
| // InternalEntityGrammar.g:940:1: entryRuleEntityFeature returns [EObject current=null] : iv_ruleEntityFeature= ruleEntityFeature EOF ; |
| public final EObject entryRuleEntityFeature() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEntityFeature = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:940:54: (iv_ruleEntityFeature= ruleEntityFeature EOF ) |
| // InternalEntityGrammar.g:941:2: iv_ruleEntityFeature= ruleEntityFeature EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEntityFeatureRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleEntityFeature=ruleEntityFeature(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEntityFeature; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEntityFeature" |
| |
| |
| // $ANTLR start "ruleEntityFeature" |
| // InternalEntityGrammar.g:947:1: ruleEntityFeature returns [EObject current=null] : ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) | ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) | ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ) ) | ( () (otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) ) ) ) ) ; |
| public final EObject ruleEntityFeature() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_3=null; |
| Token lv_cascadeMergePersist_4_0=null; |
| Token lv_cascadeRemove_5_0=null; |
| Token lv_cascadeRefresh_6_0=null; |
| Token otherlv_7=null; |
| Token lv_filterDepth_8_0=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| Token otherlv_16=null; |
| Token lv_asGrid_18_0=null; |
| Token lv_asTable_19_0=null; |
| Token lv_sideKick_20_0=null; |
| Token lv_referenceHidden_21_0=null; |
| Token lv_referenceReadOnly_22_0=null; |
| Token lv_isGrouped_23_0=null; |
| Token otherlv_25=null; |
| Token otherlv_26=null; |
| Token otherlv_28=null; |
| Token otherlv_30=null; |
| Token lv_transient_33_0=null; |
| Token lv_attributeHidden_34_0=null; |
| Token lv_attributeReadOnly_35_0=null; |
| Token otherlv_37=null; |
| Token otherlv_39=null; |
| Token lv_isGrouped_41_0=null; |
| Token otherlv_43=null; |
| Token lv_extraStyle_44_0=null; |
| Token otherlv_45=null; |
| Token otherlv_46=null; |
| Token otherlv_48=null; |
| Token otherlv_50=null; |
| Token lv_derived_51_0=null; |
| Token lv_domainDescription_52_0=null; |
| Token lv_attributeHidden_53_0=null; |
| Token lv_attributeReadOnly_54_0=null; |
| Token lv_isGrouped_57_0=null; |
| Token otherlv_59=null; |
| Token lv_extraStyle_60_0=null; |
| Token otherlv_61=null; |
| Token otherlv_62=null; |
| Token otherlv_64=null; |
| Token otherlv_66=null; |
| Token otherlv_68=null; |
| Token lv_id_69_0=null; |
| Token lv_uuid_70_0=null; |
| Token lv_version_71_0=null; |
| Token lv_domainDescription_72_0=null; |
| Token lv_domainKey_73_0=null; |
| Token lv_uniqueEntry_74_0=null; |
| Token lv_filtering_75_0=null; |
| Token lv_rangeFiltering_76_0=null; |
| Token lv_attributeHidden_77_0=null; |
| Token lv_attributeReadOnly_78_0=null; |
| Token otherlv_81=null; |
| Token otherlv_83=null; |
| Token lv_onKanbanCard_85_0=null; |
| Token lv_asKanbanState_87_0=null; |
| Token lv_asKanbanOrdering_88_0=null; |
| Token lv_decentKanbanOrder_89_0=null; |
| Token otherlv_91=null; |
| Token lv_isGrouped_93_0=null; |
| Token otherlv_95=null; |
| Token lv_extraStyle_96_0=null; |
| Token otherlv_97=null; |
| Token otherlv_98=null; |
| Token otherlv_100=null; |
| Token otherlv_102=null; |
| Token otherlv_104=null; |
| Token otherlv_107=null; |
| Token otherlv_109=null; |
| Token otherlv_111=null; |
| EObject lv_annotations_1_0 = null; |
| |
| EObject lv_multiplicity_10_0 = null; |
| |
| EObject lv_constraints_12_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_14_0 = null; |
| |
| EObject lv_persistenceInfo_15_0 = null; |
| |
| AntlrDatatypeRuleToken lv_groupName_24_0 = null; |
| |
| EObject lv_properties_27_0 = null; |
| |
| EObject lv_properties_29_0 = null; |
| |
| EObject lv_resultFilters_31_0 = null; |
| |
| EObject lv_constraints_38_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_40_0 = null; |
| |
| AntlrDatatypeRuleToken lv_groupName_42_0 = null; |
| |
| EObject lv_properties_47_0 = null; |
| |
| EObject lv_properties_49_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_56_0 = null; |
| |
| AntlrDatatypeRuleToken lv_groupName_58_0 = null; |
| |
| EObject lv_properties_63_0 = null; |
| |
| EObject lv_properties_65_0 = null; |
| |
| EObject lv_derivedGetterExpression_67_0 = null; |
| |
| EObject lv_multiplicity_80_0 = null; |
| |
| EObject lv_constraints_82_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_84_0 = null; |
| |
| EObject lv_onKanbanCardStates_86_0 = null; |
| |
| EObject lv_persistenceInfo_90_0 = null; |
| |
| AntlrDatatypeRuleToken lv_groupName_94_0 = null; |
| |
| EObject lv_properties_99_0 = null; |
| |
| EObject lv_properties_101_0 = null; |
| |
| EObject lv_type_105_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_106_0 = null; |
| |
| EObject lv_params_108_0 = null; |
| |
| EObject lv_params_110_0 = null; |
| |
| EObject lv_body_112_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:953:2: ( ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) | ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) | ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ) ) | ( () (otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) ) ) ) ) ) |
| // InternalEntityGrammar.g:954:2: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) | ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) | ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ) ) | ( () (otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:954:2: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) | ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) | ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ) ) | ( () (otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) ) ) ) ) |
| // InternalEntityGrammar.g:955:3: () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) | ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) | ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ) ) | ( () (otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:955:3: () |
| // InternalEntityGrammar.g:956:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getEntityFeatureAccess().getLEntityFeatureAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:962:3: ( (lv_annotations_1_0= ruleAnnotationDef ) )* |
| loop26: |
| do { |
| int alt26=2; |
| int LA26_0 = input.LA(1); |
| |
| if ( (LA26_0==118) ) { |
| alt26=1; |
| } |
| |
| |
| switch (alt26) { |
| case 1 : |
| // InternalEntityGrammar.g:963:4: (lv_annotations_1_0= ruleAnnotationDef ) |
| { |
| // InternalEntityGrammar.g:963:4: (lv_annotations_1_0= ruleAnnotationDef ) |
| // InternalEntityGrammar.g:964:5: lv_annotations_1_0= ruleAnnotationDef |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getAnnotationsAnnotationDefParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_32); |
| lv_annotations_1_0=ruleAnnotationDef(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "annotations", |
| lv_annotations_1_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.AnnotationDef"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop26; |
| } |
| } while (true); |
| |
| // InternalEntityGrammar.g:981:3: ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) | ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) | ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ) ) | ( () (otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) ) ) ) |
| int alt76=3; |
| switch ( input.LA(1) ) { |
| case 33: |
| { |
| alt76=1; |
| } |
| break; |
| case 48: |
| case 50: |
| case 51: |
| case 52: |
| case 53: |
| case 54: |
| case 55: |
| case 56: |
| { |
| alt76=2; |
| } |
| break; |
| case 63: |
| { |
| alt76=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 76, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt76) { |
| case 1 : |
| // InternalEntityGrammar.g:982:4: ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? ) ) |
| { |
| // InternalEntityGrammar.g:982:4: ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? ) ) |
| // InternalEntityGrammar.g:983:5: () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? ) |
| { |
| // InternalEntityGrammar.g:983:5: () |
| // InternalEntityGrammar.g:984:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getEntityFeatureAccess().getLEntityReferenceAnnotationInfoAction_2_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:990:5: (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? ) |
| // InternalEntityGrammar.g:991:6: otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_10_0= ruleMultiplicity ) )? (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? ( (lv_name_14_0= ruleTRANSLATABLEID ) ) ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? ( (lv_sideKick_20_0= 'sideKick' ) )? ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? ( (lv_resultFilters_31_0= ruleResultFilters ) )? |
| { |
| otherlv_3=(Token)match(input,33,FOLLOW_33); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getEntityFeatureAccess().getRefKeyword_2_0_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:995:6: ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? |
| int alt27=2; |
| int LA27_0 = input.LA(1); |
| |
| if ( (LA27_0==34) ) { |
| alt27=1; |
| } |
| switch (alt27) { |
| case 1 : |
| // InternalEntityGrammar.g:996:7: (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) |
| { |
| // InternalEntityGrammar.g:996:7: (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) |
| // InternalEntityGrammar.g:997:8: lv_cascadeMergePersist_4_0= 'cascadeMergePersist' |
| { |
| lv_cascadeMergePersist_4_0=(Token)match(input,34,FOLLOW_34); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_cascadeMergePersist_4_0, grammarAccess.getEntityFeatureAccess().getCascadeMergePersistCascadeMergePersistKeyword_2_0_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "cascadeMergePersist", true, "cascadeMergePersist"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1009:6: ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? |
| int alt28=2; |
| int LA28_0 = input.LA(1); |
| |
| if ( (LA28_0==35) ) { |
| alt28=1; |
| } |
| switch (alt28) { |
| case 1 : |
| // InternalEntityGrammar.g:1010:7: (lv_cascadeRemove_5_0= 'cascadeRemove' ) |
| { |
| // InternalEntityGrammar.g:1010:7: (lv_cascadeRemove_5_0= 'cascadeRemove' ) |
| // InternalEntityGrammar.g:1011:8: lv_cascadeRemove_5_0= 'cascadeRemove' |
| { |
| lv_cascadeRemove_5_0=(Token)match(input,35,FOLLOW_35); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_cascadeRemove_5_0, grammarAccess.getEntityFeatureAccess().getCascadeRemoveCascadeRemoveKeyword_2_0_1_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "cascadeRemove", true, "cascadeRemove"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1023:6: ( (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) )? |
| int alt29=2; |
| int LA29_0 = input.LA(1); |
| |
| if ( (LA29_0==36) ) { |
| alt29=1; |
| } |
| switch (alt29) { |
| case 1 : |
| // InternalEntityGrammar.g:1024:7: (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) |
| { |
| // InternalEntityGrammar.g:1024:7: (lv_cascadeRefresh_6_0= 'cascadeRefresh' ) |
| // InternalEntityGrammar.g:1025:8: lv_cascadeRefresh_6_0= 'cascadeRefresh' |
| { |
| lv_cascadeRefresh_6_0=(Token)match(input,36,FOLLOW_36); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_cascadeRefresh_6_0, grammarAccess.getEntityFeatureAccess().getCascadeRefreshCascadeRefreshKeyword_2_0_1_3_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "cascadeRefresh", true, "cascadeRefresh"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1037:6: (otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) )? |
| int alt30=2; |
| int LA30_0 = input.LA(1); |
| |
| if ( (LA30_0==37) ) { |
| alt30=1; |
| } |
| switch (alt30) { |
| case 1 : |
| // InternalEntityGrammar.g:1038:7: otherlv_7= 'filterDepth' ( (lv_filterDepth_8_0= RULE_INT ) ) |
| { |
| otherlv_7=(Token)match(input,37,FOLLOW_37); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getEntityFeatureAccess().getFilterDepthKeyword_2_0_1_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:1042:7: ( (lv_filterDepth_8_0= RULE_INT ) ) |
| // InternalEntityGrammar.g:1043:8: (lv_filterDepth_8_0= RULE_INT ) |
| { |
| // InternalEntityGrammar.g:1043:8: (lv_filterDepth_8_0= RULE_INT ) |
| // InternalEntityGrammar.g:1044:9: lv_filterDepth_8_0= RULE_INT |
| { |
| lv_filterDepth_8_0=(Token)match(input,RULE_INT,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_filterDepth_8_0, grammarAccess.getEntityFeatureAccess().getFilterDepthINTTerminalRuleCall_2_0_1_4_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "filterDepth", |
| lv_filterDepth_8_0, |
| "org.eclipse.xtext.xbase.Xbase.INT"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1061:6: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // InternalEntityGrammar.g:1062:7: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // InternalEntityGrammar.g:1062:7: ( ruleTYPE_CROSS_REFERENCE ) |
| // InternalEntityGrammar.g:1063:8: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getTypeLEntityCrossReference_2_0_1_5_0()); |
| |
| } |
| pushFollow(FOLLOW_38); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1077:6: ( (lv_multiplicity_10_0= ruleMultiplicity ) )? |
| int alt31=2; |
| int LA31_0 = input.LA(1); |
| |
| if ( (LA31_0==38) ) { |
| int LA31_1 = input.LA(2); |
| |
| if ( (LA31_1==110||LA31_1==115||LA31_1==172||(LA31_1>=189 && LA31_1<=190)) ) { |
| alt31=1; |
| } |
| } |
| switch (alt31) { |
| case 1 : |
| // InternalEntityGrammar.g:1078:7: (lv_multiplicity_10_0= ruleMultiplicity ) |
| { |
| // InternalEntityGrammar.g:1078:7: (lv_multiplicity_10_0= ruleMultiplicity ) |
| // InternalEntityGrammar.g:1079:8: lv_multiplicity_10_0= ruleMultiplicity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_0_1_6_0()); |
| |
| } |
| pushFollow(FOLLOW_38); |
| lv_multiplicity_10_0=ruleMultiplicity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "multiplicity", |
| lv_multiplicity_10_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1096:6: (otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' )? |
| int alt33=2; |
| int LA33_0 = input.LA(1); |
| |
| if ( (LA33_0==38) ) { |
| alt33=1; |
| } |
| switch (alt33) { |
| case 1 : |
| // InternalEntityGrammar.g:1097:7: otherlv_11= '[' ( (lv_constraints_12_0= ruleAllConstraints ) )* otherlv_13= ']' |
| { |
| otherlv_11=(Token)match(input,38,FOLLOW_39); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getEntityFeatureAccess().getLeftSquareBracketKeyword_2_0_1_7_0()); |
| |
| } |
| // InternalEntityGrammar.g:1101:7: ( (lv_constraints_12_0= ruleAllConstraints ) )* |
| loop32: |
| do { |
| int alt32=2; |
| int LA32_0 = input.LA(1); |
| |
| if ( (LA32_0==79||(LA32_0>=83 && LA32_0<=94)) ) { |
| alt32=1; |
| } |
| |
| |
| switch (alt32) { |
| case 1 : |
| // InternalEntityGrammar.g:1102:8: (lv_constraints_12_0= ruleAllConstraints ) |
| { |
| // InternalEntityGrammar.g:1102:8: (lv_constraints_12_0= ruleAllConstraints ) |
| // InternalEntityGrammar.g:1103:9: lv_constraints_12_0= ruleAllConstraints |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_0_1_7_1_0()); |
| |
| } |
| pushFollow(FOLLOW_39); |
| lv_constraints_12_0=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_12_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop32; |
| } |
| } while (true); |
| |
| otherlv_13=(Token)match(input,39,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getEntityFeatureAccess().getRightSquareBracketKeyword_2_0_1_7_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1125:6: ( (lv_name_14_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:1126:7: (lv_name_14_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:1126:7: (lv_name_14_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:1127:8: lv_name_14_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_0_1_8_0()); |
| |
| } |
| pushFollow(FOLLOW_40); |
| lv_name_14_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_14_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1144:6: ( (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) )? |
| int alt34=2; |
| int LA34_0 = input.LA(1); |
| |
| if ( (LA34_0==16) ) { |
| alt34=1; |
| } |
| switch (alt34) { |
| case 1 : |
| // InternalEntityGrammar.g:1145:7: (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) |
| { |
| // InternalEntityGrammar.g:1145:7: (lv_persistenceInfo_15_0= ruleColumnPersistenceInfo ) |
| // InternalEntityGrammar.g:1146:8: lv_persistenceInfo_15_0= ruleColumnPersistenceInfo |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPersistenceInfoColumnPersistenceInfoParserRuleCall_2_0_1_9_0()); |
| |
| } |
| pushFollow(FOLLOW_41); |
| lv_persistenceInfo_15_0=ruleColumnPersistenceInfo(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "persistenceInfo", |
| lv_persistenceInfo_15_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.ColumnPersistenceInfo"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1163:6: (otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? )? |
| int alt36=2; |
| int LA36_0 = input.LA(1); |
| |
| if ( (LA36_0==40) ) { |
| alt36=1; |
| } |
| switch (alt36) { |
| case 1 : |
| // InternalEntityGrammar.g:1164:7: otherlv_16= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? |
| { |
| otherlv_16=(Token)match(input,40,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getEntityFeatureAccess().getOppositeKeyword_2_0_1_10_0()); |
| |
| } |
| // InternalEntityGrammar.g:1168:7: ( ( ruleLFQN ) ) |
| // InternalEntityGrammar.g:1169:8: ( ruleLFQN ) |
| { |
| // InternalEntityGrammar.g:1169:8: ( ruleLFQN ) |
| // InternalEntityGrammar.g:1170:9: ruleLFQN |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getOppositeLEntityReferenceCrossReference_2_0_1_10_1_0()); |
| |
| } |
| pushFollow(FOLLOW_42); |
| ruleLFQN(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1184:7: ( ( (lv_asGrid_18_0= 'asGrid' ) ) | ( (lv_asTable_19_0= 'asTable' ) ) )? |
| int alt35=3; |
| int LA35_0 = input.LA(1); |
| |
| if ( (LA35_0==41) ) { |
| alt35=1; |
| } |
| else if ( (LA35_0==42) ) { |
| alt35=2; |
| } |
| switch (alt35) { |
| case 1 : |
| // InternalEntityGrammar.g:1185:8: ( (lv_asGrid_18_0= 'asGrid' ) ) |
| { |
| // InternalEntityGrammar.g:1185:8: ( (lv_asGrid_18_0= 'asGrid' ) ) |
| // InternalEntityGrammar.g:1186:9: (lv_asGrid_18_0= 'asGrid' ) |
| { |
| // InternalEntityGrammar.g:1186:9: (lv_asGrid_18_0= 'asGrid' ) |
| // InternalEntityGrammar.g:1187:10: lv_asGrid_18_0= 'asGrid' |
| { |
| lv_asGrid_18_0=(Token)match(input,41,FOLLOW_43); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_asGrid_18_0, grammarAccess.getEntityFeatureAccess().getAsGridAsGridKeyword_2_0_1_10_2_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "asGrid", true, "asGrid"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:1200:8: ( (lv_asTable_19_0= 'asTable' ) ) |
| { |
| // InternalEntityGrammar.g:1200:8: ( (lv_asTable_19_0= 'asTable' ) ) |
| // InternalEntityGrammar.g:1201:9: (lv_asTable_19_0= 'asTable' ) |
| { |
| // InternalEntityGrammar.g:1201:9: (lv_asTable_19_0= 'asTable' ) |
| // InternalEntityGrammar.g:1202:10: lv_asTable_19_0= 'asTable' |
| { |
| lv_asTable_19_0=(Token)match(input,42,FOLLOW_43); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_asTable_19_0, grammarAccess.getEntityFeatureAccess().getAsTableAsTableKeyword_2_0_1_10_2_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "asTable", true, "asTable"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1216:6: ( (lv_sideKick_20_0= 'sideKick' ) )? |
| int alt37=2; |
| int LA37_0 = input.LA(1); |
| |
| if ( (LA37_0==43) ) { |
| alt37=1; |
| } |
| switch (alt37) { |
| case 1 : |
| // InternalEntityGrammar.g:1217:7: (lv_sideKick_20_0= 'sideKick' ) |
| { |
| // InternalEntityGrammar.g:1217:7: (lv_sideKick_20_0= 'sideKick' ) |
| // InternalEntityGrammar.g:1218:8: lv_sideKick_20_0= 'sideKick' |
| { |
| lv_sideKick_20_0=(Token)match(input,43,FOLLOW_44); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_sideKick_20_0, grammarAccess.getEntityFeatureAccess().getSideKickSideKickKeyword_2_0_1_11_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "sideKick", true, "sideKick"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1230:6: ( ( (lv_referenceHidden_21_0= 'hidden' ) ) | ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) )? |
| int alt38=3; |
| int LA38_0 = input.LA(1); |
| |
| if ( (LA38_0==44) ) { |
| alt38=1; |
| } |
| else if ( (LA38_0==45) ) { |
| alt38=2; |
| } |
| switch (alt38) { |
| case 1 : |
| // InternalEntityGrammar.g:1231:7: ( (lv_referenceHidden_21_0= 'hidden' ) ) |
| { |
| // InternalEntityGrammar.g:1231:7: ( (lv_referenceHidden_21_0= 'hidden' ) ) |
| // InternalEntityGrammar.g:1232:8: (lv_referenceHidden_21_0= 'hidden' ) |
| { |
| // InternalEntityGrammar.g:1232:8: (lv_referenceHidden_21_0= 'hidden' ) |
| // InternalEntityGrammar.g:1233:9: lv_referenceHidden_21_0= 'hidden' |
| { |
| lv_referenceHidden_21_0=(Token)match(input,44,FOLLOW_45); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_referenceHidden_21_0, grammarAccess.getEntityFeatureAccess().getReferenceHiddenHiddenKeyword_2_0_1_12_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "referenceHidden", true, "hidden"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:1246:7: ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) |
| { |
| // InternalEntityGrammar.g:1246:7: ( (lv_referenceReadOnly_22_0= 'readOnly' ) ) |
| // InternalEntityGrammar.g:1247:8: (lv_referenceReadOnly_22_0= 'readOnly' ) |
| { |
| // InternalEntityGrammar.g:1247:8: (lv_referenceReadOnly_22_0= 'readOnly' ) |
| // InternalEntityGrammar.g:1248:9: lv_referenceReadOnly_22_0= 'readOnly' |
| { |
| lv_referenceReadOnly_22_0=(Token)match(input,45,FOLLOW_45); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_referenceReadOnly_22_0, grammarAccess.getEntityFeatureAccess().getReferenceReadOnlyReadOnlyKeyword_2_0_1_12_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "referenceReadOnly", true, "readOnly"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1261:6: ( ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) )? |
| int alt39=2; |
| int LA39_0 = input.LA(1); |
| |
| if ( (LA39_0==46) ) { |
| alt39=1; |
| } |
| switch (alt39) { |
| case 1 : |
| // InternalEntityGrammar.g:1262:7: ( (lv_isGrouped_23_0= 'group' ) ) ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) |
| { |
| // InternalEntityGrammar.g:1262:7: ( (lv_isGrouped_23_0= 'group' ) ) |
| // InternalEntityGrammar.g:1263:8: (lv_isGrouped_23_0= 'group' ) |
| { |
| // InternalEntityGrammar.g:1263:8: (lv_isGrouped_23_0= 'group' ) |
| // InternalEntityGrammar.g:1264:9: lv_isGrouped_23_0= 'group' |
| { |
| lv_isGrouped_23_0=(Token)match(input,46,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isGrouped_23_0, grammarAccess.getEntityFeatureAccess().getIsGroupedGroupKeyword_2_0_1_13_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "isGrouped", true, "group"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1276:7: ( (lv_groupName_24_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:1277:8: (lv_groupName_24_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:1277:8: (lv_groupName_24_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:1278:9: lv_groupName_24_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getGroupNameTRANSLATABLEIDParserRuleCall_2_0_1_13_1_0()); |
| |
| } |
| pushFollow(FOLLOW_46); |
| lv_groupName_24_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "groupName", |
| lv_groupName_24_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1296:6: (otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' )? |
| int alt41=2; |
| int LA41_0 = input.LA(1); |
| |
| if ( (LA41_0==47) ) { |
| alt41=1; |
| } |
| switch (alt41) { |
| case 1 : |
| // InternalEntityGrammar.g:1297:7: otherlv_25= 'properties' otherlv_26= '(' ( (lv_properties_27_0= ruleKeyAndValue ) ) (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* otherlv_30= ')' |
| { |
| otherlv_25=(Token)match(input,47,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_25, grammarAccess.getEntityFeatureAccess().getPropertiesKeyword_2_0_1_14_0()); |
| |
| } |
| otherlv_26=(Token)match(input,16,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_26, grammarAccess.getEntityFeatureAccess().getLeftParenthesisKeyword_2_0_1_14_1()); |
| |
| } |
| // InternalEntityGrammar.g:1305:7: ( (lv_properties_27_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:1306:8: (lv_properties_27_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:1306:8: (lv_properties_27_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:1307:9: lv_properties_27_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_0_1_14_2_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_27_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_27_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1324:7: (otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) )* |
| loop40: |
| do { |
| int alt40=2; |
| int LA40_0 = input.LA(1); |
| |
| if ( (LA40_0==30) ) { |
| alt40=1; |
| } |
| |
| |
| switch (alt40) { |
| case 1 : |
| // InternalEntityGrammar.g:1325:8: otherlv_28= ',' ( (lv_properties_29_0= ruleKeyAndValue ) ) |
| { |
| otherlv_28=(Token)match(input,30,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_28, grammarAccess.getEntityFeatureAccess().getCommaKeyword_2_0_1_14_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:1329:8: ( (lv_properties_29_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:1330:9: (lv_properties_29_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:1330:9: (lv_properties_29_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:1331:10: lv_properties_29_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_0_1_14_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_29_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_29_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop40; |
| } |
| } while (true); |
| |
| otherlv_30=(Token)match(input,17,FOLLOW_50); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_30, grammarAccess.getEntityFeatureAccess().getRightParenthesisKeyword_2_0_1_14_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1354:6: ( (lv_resultFilters_31_0= ruleResultFilters ) )? |
| int alt42=2; |
| int LA42_0 = input.LA(1); |
| |
| if ( (LA42_0==57) ) { |
| alt42=1; |
| } |
| switch (alt42) { |
| case 1 : |
| // InternalEntityGrammar.g:1355:7: (lv_resultFilters_31_0= ruleResultFilters ) |
| { |
| // InternalEntityGrammar.g:1355:7: (lv_resultFilters_31_0= ruleResultFilters ) |
| // InternalEntityGrammar.g:1356:8: lv_resultFilters_31_0= ruleResultFilters |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getResultFiltersResultFiltersParserRuleCall_2_0_1_15_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_resultFilters_31_0=ruleResultFilters(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "resultFilters", |
| lv_resultFilters_31_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ResultFilters"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:1376:4: ( () ( ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) | ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) | ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ) ) |
| { |
| // InternalEntityGrammar.g:1376:4: ( () ( ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) | ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) | ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ) ) |
| // InternalEntityGrammar.g:1377:5: () ( ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) | ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) | ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ) |
| { |
| // InternalEntityGrammar.g:1377:5: () |
| // InternalEntityGrammar.g:1378:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getEntityFeatureAccess().getLEntityAttributeAnnotationInfoAction_2_1_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:1384:5: ( ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) | ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) | ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ) |
| int alt73=3; |
| switch ( input.LA(1) ) { |
| case 48: |
| { |
| alt73=1; |
| } |
| break; |
| case 50: |
| { |
| alt73=2; |
| } |
| break; |
| case 51: |
| case 52: |
| case 53: |
| case 54: |
| case 55: |
| case 56: |
| { |
| alt73=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 73, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt73) { |
| case 1 : |
| // InternalEntityGrammar.g:1385:6: ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) |
| { |
| // InternalEntityGrammar.g:1385:6: ( ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) ) |
| // InternalEntityGrammar.g:1386:7: ( (lv_transient_33_0= 'transient' ) ) ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? ( (lv_name_40_0= ruleTRANSLATABLEID ) ) ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) |
| { |
| // InternalEntityGrammar.g:1386:7: ( (lv_transient_33_0= 'transient' ) ) |
| // InternalEntityGrammar.g:1387:8: (lv_transient_33_0= 'transient' ) |
| { |
| // InternalEntityGrammar.g:1387:8: (lv_transient_33_0= 'transient' ) |
| // InternalEntityGrammar.g:1388:9: lv_transient_33_0= 'transient' |
| { |
| lv_transient_33_0=(Token)match(input,48,FOLLOW_51); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_transient_33_0, grammarAccess.getEntityFeatureAccess().getTransientTransientKeyword_2_1_1_0_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "transient", true, "transient"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1400:7: ( ( (lv_attributeHidden_34_0= 'hidden' ) ) | ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) )? |
| int alt43=3; |
| int LA43_0 = input.LA(1); |
| |
| if ( (LA43_0==44) ) { |
| alt43=1; |
| } |
| else if ( (LA43_0==45) ) { |
| alt43=2; |
| } |
| switch (alt43) { |
| case 1 : |
| // InternalEntityGrammar.g:1401:8: ( (lv_attributeHidden_34_0= 'hidden' ) ) |
| { |
| // InternalEntityGrammar.g:1401:8: ( (lv_attributeHidden_34_0= 'hidden' ) ) |
| // InternalEntityGrammar.g:1402:9: (lv_attributeHidden_34_0= 'hidden' ) |
| { |
| // InternalEntityGrammar.g:1402:9: (lv_attributeHidden_34_0= 'hidden' ) |
| // InternalEntityGrammar.g:1403:10: lv_attributeHidden_34_0= 'hidden' |
| { |
| lv_attributeHidden_34_0=(Token)match(input,44,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_attributeHidden_34_0, grammarAccess.getEntityFeatureAccess().getAttributeHiddenHiddenKeyword_2_1_1_0_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "attributeHidden", true, "hidden"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:1416:8: ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) |
| { |
| // InternalEntityGrammar.g:1416:8: ( (lv_attributeReadOnly_35_0= 'readOnly' ) ) |
| // InternalEntityGrammar.g:1417:9: (lv_attributeReadOnly_35_0= 'readOnly' ) |
| { |
| // InternalEntityGrammar.g:1417:9: (lv_attributeReadOnly_35_0= 'readOnly' ) |
| // InternalEntityGrammar.g:1418:10: lv_attributeReadOnly_35_0= 'readOnly' |
| { |
| lv_attributeReadOnly_35_0=(Token)match(input,45,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_attributeReadOnly_35_0, grammarAccess.getEntityFeatureAccess().getAttributeReadOnlyReadOnlyKeyword_2_1_1_0_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "attributeReadOnly", true, "readOnly"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1431:7: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // InternalEntityGrammar.g:1432:8: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // InternalEntityGrammar.g:1432:8: ( ruleTYPE_CROSS_REFERENCE ) |
| // InternalEntityGrammar.g:1433:9: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getTypeLScalarTypeCrossReference_2_1_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_38); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1447:7: (otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' )? |
| int alt45=2; |
| int LA45_0 = input.LA(1); |
| |
| if ( (LA45_0==38) ) { |
| alt45=1; |
| } |
| switch (alt45) { |
| case 1 : |
| // InternalEntityGrammar.g:1448:8: otherlv_37= '[' ( (lv_constraints_38_0= ruleAllConstraints ) )* otherlv_39= ']' |
| { |
| otherlv_37=(Token)match(input,38,FOLLOW_39); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_37, grammarAccess.getEntityFeatureAccess().getLeftSquareBracketKeyword_2_1_1_0_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:1452:8: ( (lv_constraints_38_0= ruleAllConstraints ) )* |
| loop44: |
| do { |
| int alt44=2; |
| int LA44_0 = input.LA(1); |
| |
| if ( (LA44_0==79||(LA44_0>=83 && LA44_0<=94)) ) { |
| alt44=1; |
| } |
| |
| |
| switch (alt44) { |
| case 1 : |
| // InternalEntityGrammar.g:1453:9: (lv_constraints_38_0= ruleAllConstraints ) |
| { |
| // InternalEntityGrammar.g:1453:9: (lv_constraints_38_0= ruleAllConstraints ) |
| // InternalEntityGrammar.g:1454:10: lv_constraints_38_0= ruleAllConstraints |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_1_1_0_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_39); |
| lv_constraints_38_0=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_38_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop44; |
| } |
| } while (true); |
| |
| otherlv_39=(Token)match(input,39,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_39, grammarAccess.getEntityFeatureAccess().getRightSquareBracketKeyword_2_1_1_0_3_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1476:7: ( (lv_name_40_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:1477:8: (lv_name_40_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:1477:8: (lv_name_40_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:1478:9: lv_name_40_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_1_1_0_4_0()); |
| |
| } |
| pushFollow(FOLLOW_52); |
| lv_name_40_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_40_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1495:7: ( ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? ) |
| // InternalEntityGrammar.g:1496:8: ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? |
| { |
| // InternalEntityGrammar.g:1496:8: ( ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) )? |
| int alt46=2; |
| int LA46_0 = input.LA(1); |
| |
| if ( (LA46_0==46) ) { |
| alt46=1; |
| } |
| switch (alt46) { |
| case 1 : |
| // InternalEntityGrammar.g:1497:9: ( (lv_isGrouped_41_0= 'group' ) ) ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) |
| { |
| // InternalEntityGrammar.g:1497:9: ( (lv_isGrouped_41_0= 'group' ) ) |
| // InternalEntityGrammar.g:1498:10: (lv_isGrouped_41_0= 'group' ) |
| { |
| // InternalEntityGrammar.g:1498:10: (lv_isGrouped_41_0= 'group' ) |
| // InternalEntityGrammar.g:1499:11: lv_isGrouped_41_0= 'group' |
| { |
| lv_isGrouped_41_0=(Token)match(input,46,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isGrouped_41_0, grammarAccess.getEntityFeatureAccess().getIsGroupedGroupKeyword_2_1_1_0_5_0_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "isGrouped", true, "group"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1511:9: ( (lv_groupName_42_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:1512:10: (lv_groupName_42_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:1512:10: (lv_groupName_42_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:1513:11: lv_groupName_42_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getGroupNameTRANSLATABLEIDParserRuleCall_2_1_1_0_5_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_53); |
| lv_groupName_42_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "groupName", |
| lv_groupName_42_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1531:8: (otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) )? |
| int alt47=2; |
| int LA47_0 = input.LA(1); |
| |
| if ( (LA47_0==49) ) { |
| alt47=1; |
| } |
| switch (alt47) { |
| case 1 : |
| // InternalEntityGrammar.g:1532:9: otherlv_43= 'extraStyle' ( (lv_extraStyle_44_0= RULE_STRING ) ) |
| { |
| otherlv_43=(Token)match(input,49,FOLLOW_18); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_43, grammarAccess.getEntityFeatureAccess().getExtraStyleKeyword_2_1_1_0_5_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:1536:9: ( (lv_extraStyle_44_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:1537:10: (lv_extraStyle_44_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:1537:10: (lv_extraStyle_44_0= RULE_STRING ) |
| // InternalEntityGrammar.g:1538:11: lv_extraStyle_44_0= RULE_STRING |
| { |
| lv_extraStyle_44_0=(Token)match(input,RULE_STRING,FOLLOW_54); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_extraStyle_44_0, grammarAccess.getEntityFeatureAccess().getExtraStyleSTRINGTerminalRuleCall_2_1_1_0_5_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "extraStyle", |
| lv_extraStyle_44_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1555:8: (otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' )? |
| int alt49=2; |
| int LA49_0 = input.LA(1); |
| |
| if ( (LA49_0==47) ) { |
| alt49=1; |
| } |
| switch (alt49) { |
| case 1 : |
| // InternalEntityGrammar.g:1556:9: otherlv_45= 'properties' otherlv_46= '(' ( (lv_properties_47_0= ruleKeyAndValue ) ) (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* otherlv_50= ')' |
| { |
| otherlv_45=(Token)match(input,47,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_45, grammarAccess.getEntityFeatureAccess().getPropertiesKeyword_2_1_1_0_5_2_0()); |
| |
| } |
| otherlv_46=(Token)match(input,16,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_46, grammarAccess.getEntityFeatureAccess().getLeftParenthesisKeyword_2_1_1_0_5_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:1564:9: ( (lv_properties_47_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:1565:10: (lv_properties_47_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:1565:10: (lv_properties_47_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:1566:11: lv_properties_47_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_0_5_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_47_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_47_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1583:9: (otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) )* |
| loop48: |
| do { |
| int alt48=2; |
| int LA48_0 = input.LA(1); |
| |
| if ( (LA48_0==30) ) { |
| alt48=1; |
| } |
| |
| |
| switch (alt48) { |
| case 1 : |
| // InternalEntityGrammar.g:1584:10: otherlv_48= ',' ( (lv_properties_49_0= ruleKeyAndValue ) ) |
| { |
| otherlv_48=(Token)match(input,30,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_48, grammarAccess.getEntityFeatureAccess().getCommaKeyword_2_1_1_0_5_2_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:1588:10: ( (lv_properties_49_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:1589:11: (lv_properties_49_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:1589:11: (lv_properties_49_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:1590:12: lv_properties_49_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_0_5_2_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_49_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_49_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop48; |
| } |
| } while (true); |
| |
| otherlv_50=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_50, grammarAccess.getEntityFeatureAccess().getRightParenthesisKeyword_2_1_1_0_5_2_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:1616:6: ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:1616:6: ( ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) ) |
| // InternalEntityGrammar.g:1617:7: ( (lv_derived_51_0= 'derived' ) ) ( (lv_domainDescription_52_0= 'domainDescription' ) )? ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_56_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) |
| { |
| // InternalEntityGrammar.g:1617:7: ( (lv_derived_51_0= 'derived' ) ) |
| // InternalEntityGrammar.g:1618:8: (lv_derived_51_0= 'derived' ) |
| { |
| // InternalEntityGrammar.g:1618:8: (lv_derived_51_0= 'derived' ) |
| // InternalEntityGrammar.g:1619:9: lv_derived_51_0= 'derived' |
| { |
| lv_derived_51_0=(Token)match(input,50,FOLLOW_55); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_derived_51_0, grammarAccess.getEntityFeatureAccess().getDerivedDerivedKeyword_2_1_1_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "derived", true, "derived"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1631:7: ( (lv_domainDescription_52_0= 'domainDescription' ) )? |
| int alt50=2; |
| int LA50_0 = input.LA(1); |
| |
| if ( (LA50_0==51) ) { |
| alt50=1; |
| } |
| switch (alt50) { |
| case 1 : |
| // InternalEntityGrammar.g:1632:8: (lv_domainDescription_52_0= 'domainDescription' ) |
| { |
| // InternalEntityGrammar.g:1632:8: (lv_domainDescription_52_0= 'domainDescription' ) |
| // InternalEntityGrammar.g:1633:9: lv_domainDescription_52_0= 'domainDescription' |
| { |
| lv_domainDescription_52_0=(Token)match(input,51,FOLLOW_51); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_domainDescription_52_0, grammarAccess.getEntityFeatureAccess().getDomainDescriptionDomainDescriptionKeyword_2_1_1_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "domainDescription", true, "domainDescription"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1645:7: ( ( (lv_attributeHidden_53_0= 'hidden' ) ) | ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) )? |
| int alt51=3; |
| int LA51_0 = input.LA(1); |
| |
| if ( (LA51_0==44) ) { |
| alt51=1; |
| } |
| else if ( (LA51_0==45) ) { |
| alt51=2; |
| } |
| switch (alt51) { |
| case 1 : |
| // InternalEntityGrammar.g:1646:8: ( (lv_attributeHidden_53_0= 'hidden' ) ) |
| { |
| // InternalEntityGrammar.g:1646:8: ( (lv_attributeHidden_53_0= 'hidden' ) ) |
| // InternalEntityGrammar.g:1647:9: (lv_attributeHidden_53_0= 'hidden' ) |
| { |
| // InternalEntityGrammar.g:1647:9: (lv_attributeHidden_53_0= 'hidden' ) |
| // InternalEntityGrammar.g:1648:10: lv_attributeHidden_53_0= 'hidden' |
| { |
| lv_attributeHidden_53_0=(Token)match(input,44,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_attributeHidden_53_0, grammarAccess.getEntityFeatureAccess().getAttributeHiddenHiddenKeyword_2_1_1_1_2_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "attributeHidden", true, "hidden"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:1661:8: ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) |
| { |
| // InternalEntityGrammar.g:1661:8: ( (lv_attributeReadOnly_54_0= 'readOnly' ) ) |
| // InternalEntityGrammar.g:1662:9: (lv_attributeReadOnly_54_0= 'readOnly' ) |
| { |
| // InternalEntityGrammar.g:1662:9: (lv_attributeReadOnly_54_0= 'readOnly' ) |
| // InternalEntityGrammar.g:1663:10: lv_attributeReadOnly_54_0= 'readOnly' |
| { |
| lv_attributeReadOnly_54_0=(Token)match(input,45,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_attributeReadOnly_54_0, grammarAccess.getEntityFeatureAccess().getAttributeReadOnlyReadOnlyKeyword_2_1_1_1_2_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "attributeReadOnly", true, "readOnly"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1676:7: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // InternalEntityGrammar.g:1677:8: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // InternalEntityGrammar.g:1677:8: ( ruleTYPE_CROSS_REFERENCE ) |
| // InternalEntityGrammar.g:1678:9: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getTypeLScalarTypeCrossReference_2_1_1_1_3_0()); |
| |
| } |
| pushFollow(FOLLOW_11); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1692:7: ( (lv_name_56_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:1693:8: (lv_name_56_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:1693:8: (lv_name_56_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:1694:9: lv_name_56_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_1_1_1_4_0()); |
| |
| } |
| pushFollow(FOLLOW_56); |
| lv_name_56_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_56_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1711:7: ( ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) )? |
| int alt52=2; |
| int LA52_0 = input.LA(1); |
| |
| if ( (LA52_0==46) ) { |
| alt52=1; |
| } |
| switch (alt52) { |
| case 1 : |
| // InternalEntityGrammar.g:1712:8: ( (lv_isGrouped_57_0= 'group' ) ) ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) |
| { |
| // InternalEntityGrammar.g:1712:8: ( (lv_isGrouped_57_0= 'group' ) ) |
| // InternalEntityGrammar.g:1713:9: (lv_isGrouped_57_0= 'group' ) |
| { |
| // InternalEntityGrammar.g:1713:9: (lv_isGrouped_57_0= 'group' ) |
| // InternalEntityGrammar.g:1714:10: lv_isGrouped_57_0= 'group' |
| { |
| lv_isGrouped_57_0=(Token)match(input,46,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isGrouped_57_0, grammarAccess.getEntityFeatureAccess().getIsGroupedGroupKeyword_2_1_1_1_5_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "isGrouped", true, "group"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1726:8: ( (lv_groupName_58_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:1727:9: (lv_groupName_58_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:1727:9: (lv_groupName_58_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:1728:10: lv_groupName_58_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getGroupNameTRANSLATABLEIDParserRuleCall_2_1_1_1_5_1_0()); |
| |
| } |
| pushFollow(FOLLOW_56); |
| lv_groupName_58_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "groupName", |
| lv_groupName_58_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1746:7: (otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) )? |
| int alt53=2; |
| int LA53_0 = input.LA(1); |
| |
| if ( (LA53_0==49) ) { |
| alt53=1; |
| } |
| switch (alt53) { |
| case 1 : |
| // InternalEntityGrammar.g:1747:8: otherlv_59= 'extraStyle' ( (lv_extraStyle_60_0= RULE_STRING ) ) |
| { |
| otherlv_59=(Token)match(input,49,FOLLOW_18); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_59, grammarAccess.getEntityFeatureAccess().getExtraStyleKeyword_2_1_1_1_6_0()); |
| |
| } |
| // InternalEntityGrammar.g:1751:8: ( (lv_extraStyle_60_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:1752:9: (lv_extraStyle_60_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:1752:9: (lv_extraStyle_60_0= RULE_STRING ) |
| // InternalEntityGrammar.g:1753:10: lv_extraStyle_60_0= RULE_STRING |
| { |
| lv_extraStyle_60_0=(Token)match(input,RULE_STRING,FOLLOW_56); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_extraStyle_60_0, grammarAccess.getEntityFeatureAccess().getExtraStyleSTRINGTerminalRuleCall_2_1_1_1_6_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "extraStyle", |
| lv_extraStyle_60_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1770:7: (otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' )? |
| int alt55=2; |
| int LA55_0 = input.LA(1); |
| |
| if ( (LA55_0==47) ) { |
| alt55=1; |
| } |
| switch (alt55) { |
| case 1 : |
| // InternalEntityGrammar.g:1771:8: otherlv_61= 'properties' otherlv_62= '(' ( (lv_properties_63_0= ruleKeyAndValue ) ) (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* otherlv_66= ')' |
| { |
| otherlv_61=(Token)match(input,47,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_61, grammarAccess.getEntityFeatureAccess().getPropertiesKeyword_2_1_1_1_7_0()); |
| |
| } |
| otherlv_62=(Token)match(input,16,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_62, grammarAccess.getEntityFeatureAccess().getLeftParenthesisKeyword_2_1_1_1_7_1()); |
| |
| } |
| // InternalEntityGrammar.g:1779:8: ( (lv_properties_63_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:1780:9: (lv_properties_63_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:1780:9: (lv_properties_63_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:1781:10: lv_properties_63_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_1_7_2_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_63_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_63_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:1798:8: (otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) )* |
| loop54: |
| do { |
| int alt54=2; |
| int LA54_0 = input.LA(1); |
| |
| if ( (LA54_0==30) ) { |
| alt54=1; |
| } |
| |
| |
| switch (alt54) { |
| case 1 : |
| // InternalEntityGrammar.g:1799:9: otherlv_64= ',' ( (lv_properties_65_0= ruleKeyAndValue ) ) |
| { |
| otherlv_64=(Token)match(input,30,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_64, grammarAccess.getEntityFeatureAccess().getCommaKeyword_2_1_1_1_7_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:1803:9: ( (lv_properties_65_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:1804:10: (lv_properties_65_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:1804:10: (lv_properties_65_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:1805:11: lv_properties_65_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_1_7_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_65_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_65_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop54; |
| } |
| } while (true); |
| |
| otherlv_66=(Token)match(input,17,FOLLOW_56); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_66, grammarAccess.getEntityFeatureAccess().getRightParenthesisKeyword_2_1_1_1_7_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1828:7: ( (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) ) |
| // InternalEntityGrammar.g:1829:8: (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) |
| { |
| // InternalEntityGrammar.g:1829:8: (lv_derivedGetterExpression_67_0= ruleXBlockExpression ) |
| // InternalEntityGrammar.g:1830:9: lv_derivedGetterExpression_67_0= ruleXBlockExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getDerivedGetterExpressionXBlockExpressionParserRuleCall_2_1_1_1_8_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_derivedGetterExpression_67_0=ruleXBlockExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "derivedGetterExpression", |
| lv_derivedGetterExpression_67_0, |
| "org.eclipse.xtext.xbase.Xbase.XBlockExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:1849:6: ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) |
| { |
| // InternalEntityGrammar.g:1849:6: ( (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) |
| // InternalEntityGrammar.g:1850:7: (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) ( (lv_uniqueEntry_74_0= 'unique' ) )? ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_80_0= ruleMultiplicity ) )? (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? ( (lv_name_84_0= ruleTRANSLATABLEID ) ) ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? |
| { |
| // InternalEntityGrammar.g:1850:7: (otherlv_68= 'var' | ( (lv_id_69_0= 'id' ) ) | ( (lv_uuid_70_0= 'uuid' ) ) | ( (lv_version_71_0= 'version' ) ) | ( (lv_domainDescription_72_0= 'domainDescription' ) ) | ( (lv_domainKey_73_0= 'domainKey' ) ) ) |
| int alt56=6; |
| switch ( input.LA(1) ) { |
| case 52: |
| { |
| alt56=1; |
| } |
| break; |
| case 53: |
| { |
| alt56=2; |
| } |
| break; |
| case 54: |
| { |
| alt56=3; |
| } |
| break; |
| case 55: |
| { |
| alt56=4; |
| } |
| break; |
| case 51: |
| { |
| alt56=5; |
| } |
| break; |
| case 56: |
| { |
| alt56=6; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 56, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt56) { |
| case 1 : |
| // InternalEntityGrammar.g:1851:8: otherlv_68= 'var' |
| { |
| otherlv_68=(Token)match(input,52,FOLLOW_57); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_68, grammarAccess.getEntityFeatureAccess().getVarKeyword_2_1_1_2_0_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:1856:8: ( (lv_id_69_0= 'id' ) ) |
| { |
| // InternalEntityGrammar.g:1856:8: ( (lv_id_69_0= 'id' ) ) |
| // InternalEntityGrammar.g:1857:9: (lv_id_69_0= 'id' ) |
| { |
| // InternalEntityGrammar.g:1857:9: (lv_id_69_0= 'id' ) |
| // InternalEntityGrammar.g:1858:10: lv_id_69_0= 'id' |
| { |
| lv_id_69_0=(Token)match(input,53,FOLLOW_57); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_id_69_0, grammarAccess.getEntityFeatureAccess().getIdIdKeyword_2_1_1_2_0_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "id", true, "id"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:1871:8: ( (lv_uuid_70_0= 'uuid' ) ) |
| { |
| // InternalEntityGrammar.g:1871:8: ( (lv_uuid_70_0= 'uuid' ) ) |
| // InternalEntityGrammar.g:1872:9: (lv_uuid_70_0= 'uuid' ) |
| { |
| // InternalEntityGrammar.g:1872:9: (lv_uuid_70_0= 'uuid' ) |
| // InternalEntityGrammar.g:1873:10: lv_uuid_70_0= 'uuid' |
| { |
| lv_uuid_70_0=(Token)match(input,54,FOLLOW_57); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_uuid_70_0, grammarAccess.getEntityFeatureAccess().getUuidUuidKeyword_2_1_1_2_0_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "uuid", true, "uuid"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:1886:8: ( (lv_version_71_0= 'version' ) ) |
| { |
| // InternalEntityGrammar.g:1886:8: ( (lv_version_71_0= 'version' ) ) |
| // InternalEntityGrammar.g:1887:9: (lv_version_71_0= 'version' ) |
| { |
| // InternalEntityGrammar.g:1887:9: (lv_version_71_0= 'version' ) |
| // InternalEntityGrammar.g:1888:10: lv_version_71_0= 'version' |
| { |
| lv_version_71_0=(Token)match(input,55,FOLLOW_57); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_version_71_0, grammarAccess.getEntityFeatureAccess().getVersionVersionKeyword_2_1_1_2_0_3_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "version", true, "version"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:1901:8: ( (lv_domainDescription_72_0= 'domainDescription' ) ) |
| { |
| // InternalEntityGrammar.g:1901:8: ( (lv_domainDescription_72_0= 'domainDescription' ) ) |
| // InternalEntityGrammar.g:1902:9: (lv_domainDescription_72_0= 'domainDescription' ) |
| { |
| // InternalEntityGrammar.g:1902:9: (lv_domainDescription_72_0= 'domainDescription' ) |
| // InternalEntityGrammar.g:1903:10: lv_domainDescription_72_0= 'domainDescription' |
| { |
| lv_domainDescription_72_0=(Token)match(input,51,FOLLOW_57); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_domainDescription_72_0, grammarAccess.getEntityFeatureAccess().getDomainDescriptionDomainDescriptionKeyword_2_1_1_2_0_4_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "domainDescription", true, "domainDescription"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 6 : |
| // InternalEntityGrammar.g:1916:8: ( (lv_domainKey_73_0= 'domainKey' ) ) |
| { |
| // InternalEntityGrammar.g:1916:8: ( (lv_domainKey_73_0= 'domainKey' ) ) |
| // InternalEntityGrammar.g:1917:9: (lv_domainKey_73_0= 'domainKey' ) |
| { |
| // InternalEntityGrammar.g:1917:9: (lv_domainKey_73_0= 'domainKey' ) |
| // InternalEntityGrammar.g:1918:10: lv_domainKey_73_0= 'domainKey' |
| { |
| lv_domainKey_73_0=(Token)match(input,56,FOLLOW_57); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_domainKey_73_0, grammarAccess.getEntityFeatureAccess().getDomainKeyDomainKeyKeyword_2_1_1_2_0_5_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "domainKey", true, "domainKey"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1931:7: ( (lv_uniqueEntry_74_0= 'unique' ) )? |
| int alt57=2; |
| int LA57_0 = input.LA(1); |
| |
| if ( (LA57_0==28) ) { |
| alt57=1; |
| } |
| switch (alt57) { |
| case 1 : |
| // InternalEntityGrammar.g:1932:8: (lv_uniqueEntry_74_0= 'unique' ) |
| { |
| // InternalEntityGrammar.g:1932:8: (lv_uniqueEntry_74_0= 'unique' ) |
| // InternalEntityGrammar.g:1933:9: lv_uniqueEntry_74_0= 'unique' |
| { |
| lv_uniqueEntry_74_0=(Token)match(input,28,FOLLOW_58); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_uniqueEntry_74_0, grammarAccess.getEntityFeatureAccess().getUniqueEntryUniqueKeyword_2_1_1_2_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "uniqueEntry", true, "unique"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1945:7: ( ( (lv_filtering_75_0= 'filter' ) ) | ( (lv_rangeFiltering_76_0= 'range' ) ) )? |
| int alt58=3; |
| int LA58_0 = input.LA(1); |
| |
| if ( (LA58_0==57) ) { |
| alt58=1; |
| } |
| else if ( (LA58_0==58) ) { |
| alt58=2; |
| } |
| switch (alt58) { |
| case 1 : |
| // InternalEntityGrammar.g:1946:8: ( (lv_filtering_75_0= 'filter' ) ) |
| { |
| // InternalEntityGrammar.g:1946:8: ( (lv_filtering_75_0= 'filter' ) ) |
| // InternalEntityGrammar.g:1947:9: (lv_filtering_75_0= 'filter' ) |
| { |
| // InternalEntityGrammar.g:1947:9: (lv_filtering_75_0= 'filter' ) |
| // InternalEntityGrammar.g:1948:10: lv_filtering_75_0= 'filter' |
| { |
| lv_filtering_75_0=(Token)match(input,57,FOLLOW_51); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_filtering_75_0, grammarAccess.getEntityFeatureAccess().getFilteringFilterKeyword_2_1_1_2_2_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "filtering", true, "filter"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:1961:8: ( (lv_rangeFiltering_76_0= 'range' ) ) |
| { |
| // InternalEntityGrammar.g:1961:8: ( (lv_rangeFiltering_76_0= 'range' ) ) |
| // InternalEntityGrammar.g:1962:9: (lv_rangeFiltering_76_0= 'range' ) |
| { |
| // InternalEntityGrammar.g:1962:9: (lv_rangeFiltering_76_0= 'range' ) |
| // InternalEntityGrammar.g:1963:10: lv_rangeFiltering_76_0= 'range' |
| { |
| lv_rangeFiltering_76_0=(Token)match(input,58,FOLLOW_51); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_rangeFiltering_76_0, grammarAccess.getEntityFeatureAccess().getRangeFilteringRangeKeyword_2_1_1_2_2_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "rangeFiltering", true, "range"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:1976:7: ( ( (lv_attributeHidden_77_0= 'hidden' ) ) | ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) )? |
| int alt59=3; |
| int LA59_0 = input.LA(1); |
| |
| if ( (LA59_0==44) ) { |
| alt59=1; |
| } |
| else if ( (LA59_0==45) ) { |
| alt59=2; |
| } |
| switch (alt59) { |
| case 1 : |
| // InternalEntityGrammar.g:1977:8: ( (lv_attributeHidden_77_0= 'hidden' ) ) |
| { |
| // InternalEntityGrammar.g:1977:8: ( (lv_attributeHidden_77_0= 'hidden' ) ) |
| // InternalEntityGrammar.g:1978:9: (lv_attributeHidden_77_0= 'hidden' ) |
| { |
| // InternalEntityGrammar.g:1978:9: (lv_attributeHidden_77_0= 'hidden' ) |
| // InternalEntityGrammar.g:1979:10: lv_attributeHidden_77_0= 'hidden' |
| { |
| lv_attributeHidden_77_0=(Token)match(input,44,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_attributeHidden_77_0, grammarAccess.getEntityFeatureAccess().getAttributeHiddenHiddenKeyword_2_1_1_2_3_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "attributeHidden", true, "hidden"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:1992:8: ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) |
| { |
| // InternalEntityGrammar.g:1992:8: ( (lv_attributeReadOnly_78_0= 'readOnly' ) ) |
| // InternalEntityGrammar.g:1993:9: (lv_attributeReadOnly_78_0= 'readOnly' ) |
| { |
| // InternalEntityGrammar.g:1993:9: (lv_attributeReadOnly_78_0= 'readOnly' ) |
| // InternalEntityGrammar.g:1994:10: lv_attributeReadOnly_78_0= 'readOnly' |
| { |
| lv_attributeReadOnly_78_0=(Token)match(input,45,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_attributeReadOnly_78_0, grammarAccess.getEntityFeatureAccess().getAttributeReadOnlyReadOnlyKeyword_2_1_1_2_3_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "attributeReadOnly", true, "readOnly"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2007:7: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // InternalEntityGrammar.g:2008:8: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // InternalEntityGrammar.g:2008:8: ( ruleTYPE_CROSS_REFERENCE ) |
| // InternalEntityGrammar.g:2009:9: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getTypeLScalarTypeCrossReference_2_1_1_2_4_0()); |
| |
| } |
| pushFollow(FOLLOW_38); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2023:7: ( (lv_multiplicity_80_0= ruleMultiplicity ) )? |
| int alt60=2; |
| int LA60_0 = input.LA(1); |
| |
| if ( (LA60_0==38) ) { |
| int LA60_1 = input.LA(2); |
| |
| if ( (LA60_1==110||LA60_1==115||LA60_1==172||(LA60_1>=189 && LA60_1<=190)) ) { |
| alt60=1; |
| } |
| } |
| switch (alt60) { |
| case 1 : |
| // InternalEntityGrammar.g:2024:8: (lv_multiplicity_80_0= ruleMultiplicity ) |
| { |
| // InternalEntityGrammar.g:2024:8: (lv_multiplicity_80_0= ruleMultiplicity ) |
| // InternalEntityGrammar.g:2025:9: lv_multiplicity_80_0= ruleMultiplicity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_1_1_2_5_0()); |
| |
| } |
| pushFollow(FOLLOW_38); |
| lv_multiplicity_80_0=ruleMultiplicity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "multiplicity", |
| lv_multiplicity_80_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2042:7: (otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' )? |
| int alt62=2; |
| int LA62_0 = input.LA(1); |
| |
| if ( (LA62_0==38) ) { |
| alt62=1; |
| } |
| switch (alt62) { |
| case 1 : |
| // InternalEntityGrammar.g:2043:8: otherlv_81= '[' ( (lv_constraints_82_0= ruleAllConstraints ) )* otherlv_83= ']' |
| { |
| otherlv_81=(Token)match(input,38,FOLLOW_39); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_81, grammarAccess.getEntityFeatureAccess().getLeftSquareBracketKeyword_2_1_1_2_6_0()); |
| |
| } |
| // InternalEntityGrammar.g:2047:8: ( (lv_constraints_82_0= ruleAllConstraints ) )* |
| loop61: |
| do { |
| int alt61=2; |
| int LA61_0 = input.LA(1); |
| |
| if ( (LA61_0==79||(LA61_0>=83 && LA61_0<=94)) ) { |
| alt61=1; |
| } |
| |
| |
| switch (alt61) { |
| case 1 : |
| // InternalEntityGrammar.g:2048:9: (lv_constraints_82_0= ruleAllConstraints ) |
| { |
| // InternalEntityGrammar.g:2048:9: (lv_constraints_82_0= ruleAllConstraints ) |
| // InternalEntityGrammar.g:2049:10: lv_constraints_82_0= ruleAllConstraints |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_1_1_2_6_1_0()); |
| |
| } |
| pushFollow(FOLLOW_39); |
| lv_constraints_82_0=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_82_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop61; |
| } |
| } while (true); |
| |
| otherlv_83=(Token)match(input,39,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_83, grammarAccess.getEntityFeatureAccess().getRightSquareBracketKeyword_2_1_1_2_6_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2071:7: ( (lv_name_84_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:2072:8: (lv_name_84_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:2072:8: (lv_name_84_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:2073:9: lv_name_84_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_1_1_2_7_0()); |
| |
| } |
| pushFollow(FOLLOW_59); |
| lv_name_84_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_84_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2090:7: ( ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) )? |
| int alt63=2; |
| int LA63_0 = input.LA(1); |
| |
| if ( (LA63_0==59) ) { |
| alt63=1; |
| } |
| switch (alt63) { |
| case 1 : |
| // InternalEntityGrammar.g:2091:8: ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) |
| { |
| // InternalEntityGrammar.g:2091:8: ( (lv_onKanbanCard_85_0= 'onKanbanCard' ) ) |
| // InternalEntityGrammar.g:2092:9: (lv_onKanbanCard_85_0= 'onKanbanCard' ) |
| { |
| // InternalEntityGrammar.g:2092:9: (lv_onKanbanCard_85_0= 'onKanbanCard' ) |
| // InternalEntityGrammar.g:2093:10: lv_onKanbanCard_85_0= 'onKanbanCard' |
| { |
| lv_onKanbanCard_85_0=(Token)match(input,59,FOLLOW_60); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_onKanbanCard_85_0, grammarAccess.getEntityFeatureAccess().getOnKanbanCardOnKanbanCardKeyword_2_1_1_2_8_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "onKanbanCard", true, "onKanbanCard"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2105:8: ( (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) ) |
| // InternalEntityGrammar.g:2106:9: (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) |
| { |
| // InternalEntityGrammar.g:2106:9: (lv_onKanbanCardStates_86_0= ruleKanbanStateDetail ) |
| // InternalEntityGrammar.g:2107:10: lv_onKanbanCardStates_86_0= ruleKanbanStateDetail |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getOnKanbanCardStatesKanbanStateDetailParserRuleCall_2_1_1_2_8_1_0()); |
| |
| } |
| pushFollow(FOLLOW_61); |
| lv_onKanbanCardStates_86_0=ruleKanbanStateDetail(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "onKanbanCardStates", |
| lv_onKanbanCardStates_86_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.KanbanStateDetail"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2125:7: ( (lv_asKanbanState_87_0= 'asKanbanState' ) )? |
| int alt64=2; |
| int LA64_0 = input.LA(1); |
| |
| if ( (LA64_0==60) ) { |
| alt64=1; |
| } |
| switch (alt64) { |
| case 1 : |
| // InternalEntityGrammar.g:2126:8: (lv_asKanbanState_87_0= 'asKanbanState' ) |
| { |
| // InternalEntityGrammar.g:2126:8: (lv_asKanbanState_87_0= 'asKanbanState' ) |
| // InternalEntityGrammar.g:2127:9: lv_asKanbanState_87_0= 'asKanbanState' |
| { |
| lv_asKanbanState_87_0=(Token)match(input,60,FOLLOW_62); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_asKanbanState_87_0, grammarAccess.getEntityFeatureAccess().getAsKanbanStateAsKanbanStateKeyword_2_1_1_2_9_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "asKanbanState", true, "asKanbanState"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2139:7: ( ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? )? |
| int alt66=2; |
| int LA66_0 = input.LA(1); |
| |
| if ( (LA66_0==61) ) { |
| alt66=1; |
| } |
| switch (alt66) { |
| case 1 : |
| // InternalEntityGrammar.g:2140:8: ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? |
| { |
| // InternalEntityGrammar.g:2140:8: ( (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) ) |
| // InternalEntityGrammar.g:2141:9: (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) |
| { |
| // InternalEntityGrammar.g:2141:9: (lv_asKanbanOrdering_88_0= 'asKanbanOrdering' ) |
| // InternalEntityGrammar.g:2142:10: lv_asKanbanOrdering_88_0= 'asKanbanOrdering' |
| { |
| lv_asKanbanOrdering_88_0=(Token)match(input,61,FOLLOW_63); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_asKanbanOrdering_88_0, grammarAccess.getEntityFeatureAccess().getAsKanbanOrderingAsKanbanOrderingKeyword_2_1_1_2_10_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "asKanbanOrdering", true, "asKanbanOrdering"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2154:8: ( (lv_decentKanbanOrder_89_0= 'decentOrder' ) )? |
| int alt65=2; |
| int LA65_0 = input.LA(1); |
| |
| if ( (LA65_0==62) ) { |
| alt65=1; |
| } |
| switch (alt65) { |
| case 1 : |
| // InternalEntityGrammar.g:2155:9: (lv_decentKanbanOrder_89_0= 'decentOrder' ) |
| { |
| // InternalEntityGrammar.g:2155:9: (lv_decentKanbanOrder_89_0= 'decentOrder' ) |
| // InternalEntityGrammar.g:2156:10: lv_decentKanbanOrder_89_0= 'decentOrder' |
| { |
| lv_decentKanbanOrder_89_0=(Token)match(input,62,FOLLOW_64); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_decentKanbanOrder_89_0, grammarAccess.getEntityFeatureAccess().getDecentKanbanOrderDecentOrderKeyword_2_1_1_2_10_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "decentKanbanOrder", true, "decentOrder"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2169:7: ( (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) )? |
| int alt67=2; |
| int LA67_0 = input.LA(1); |
| |
| if ( (LA67_0==16) ) { |
| alt67=1; |
| } |
| switch (alt67) { |
| case 1 : |
| // InternalEntityGrammar.g:2170:8: (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) |
| { |
| // InternalEntityGrammar.g:2170:8: (lv_persistenceInfo_90_0= ruleColumnPersistenceInfo ) |
| // InternalEntityGrammar.g:2171:9: lv_persistenceInfo_90_0= ruleColumnPersistenceInfo |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPersistenceInfoColumnPersistenceInfoParserRuleCall_2_1_1_2_11_0()); |
| |
| } |
| pushFollow(FOLLOW_65); |
| lv_persistenceInfo_90_0=ruleColumnPersistenceInfo(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "persistenceInfo", |
| lv_persistenceInfo_90_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.ColumnPersistenceInfo"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2188:7: (otherlv_91= 'opposite' ( ( ruleLFQN ) ) )? |
| int alt68=2; |
| int LA68_0 = input.LA(1); |
| |
| if ( (LA68_0==40) ) { |
| alt68=1; |
| } |
| switch (alt68) { |
| case 1 : |
| // InternalEntityGrammar.g:2189:8: otherlv_91= 'opposite' ( ( ruleLFQN ) ) |
| { |
| otherlv_91=(Token)match(input,40,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_91, grammarAccess.getEntityFeatureAccess().getOppositeKeyword_2_1_1_2_12_0()); |
| |
| } |
| // InternalEntityGrammar.g:2193:8: ( ( ruleLFQN ) ) |
| // InternalEntityGrammar.g:2194:9: ( ruleLFQN ) |
| { |
| // InternalEntityGrammar.g:2194:9: ( ruleLFQN ) |
| // InternalEntityGrammar.g:2195:10: ruleLFQN |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getOppositeLBeanReferenceCrossReference_2_1_1_2_12_1_0()); |
| |
| } |
| pushFollow(FOLLOW_52); |
| ruleLFQN(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2210:7: ( ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) )? |
| int alt69=2; |
| int LA69_0 = input.LA(1); |
| |
| if ( (LA69_0==46) ) { |
| alt69=1; |
| } |
| switch (alt69) { |
| case 1 : |
| // InternalEntityGrammar.g:2211:8: ( (lv_isGrouped_93_0= 'group' ) ) ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) |
| { |
| // InternalEntityGrammar.g:2211:8: ( (lv_isGrouped_93_0= 'group' ) ) |
| // InternalEntityGrammar.g:2212:9: (lv_isGrouped_93_0= 'group' ) |
| { |
| // InternalEntityGrammar.g:2212:9: (lv_isGrouped_93_0= 'group' ) |
| // InternalEntityGrammar.g:2213:10: lv_isGrouped_93_0= 'group' |
| { |
| lv_isGrouped_93_0=(Token)match(input,46,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isGrouped_93_0, grammarAccess.getEntityFeatureAccess().getIsGroupedGroupKeyword_2_1_1_2_13_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed(current, "isGrouped", true, "group"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2225:8: ( (lv_groupName_94_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:2226:9: (lv_groupName_94_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:2226:9: (lv_groupName_94_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:2227:10: lv_groupName_94_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getGroupNameTRANSLATABLEIDParserRuleCall_2_1_1_2_13_1_0()); |
| |
| } |
| pushFollow(FOLLOW_53); |
| lv_groupName_94_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "groupName", |
| lv_groupName_94_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2245:7: (otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) )? |
| int alt70=2; |
| int LA70_0 = input.LA(1); |
| |
| if ( (LA70_0==49) ) { |
| alt70=1; |
| } |
| switch (alt70) { |
| case 1 : |
| // InternalEntityGrammar.g:2246:8: otherlv_95= 'extraStyle' ( (lv_extraStyle_96_0= RULE_STRING ) ) |
| { |
| otherlv_95=(Token)match(input,49,FOLLOW_18); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_95, grammarAccess.getEntityFeatureAccess().getExtraStyleKeyword_2_1_1_2_14_0()); |
| |
| } |
| // InternalEntityGrammar.g:2250:8: ( (lv_extraStyle_96_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:2251:9: (lv_extraStyle_96_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:2251:9: (lv_extraStyle_96_0= RULE_STRING ) |
| // InternalEntityGrammar.g:2252:10: lv_extraStyle_96_0= RULE_STRING |
| { |
| lv_extraStyle_96_0=(Token)match(input,RULE_STRING,FOLLOW_54); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_extraStyle_96_0, grammarAccess.getEntityFeatureAccess().getExtraStyleSTRINGTerminalRuleCall_2_1_1_2_14_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeatureRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "extraStyle", |
| lv_extraStyle_96_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2269:7: (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? |
| int alt72=2; |
| int LA72_0 = input.LA(1); |
| |
| if ( (LA72_0==47) ) { |
| alt72=1; |
| } |
| switch (alt72) { |
| case 1 : |
| // InternalEntityGrammar.g:2270:8: otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' |
| { |
| otherlv_97=(Token)match(input,47,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_97, grammarAccess.getEntityFeatureAccess().getPropertiesKeyword_2_1_1_2_15_0()); |
| |
| } |
| otherlv_98=(Token)match(input,16,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_98, grammarAccess.getEntityFeatureAccess().getLeftParenthesisKeyword_2_1_1_2_15_1()); |
| |
| } |
| // InternalEntityGrammar.g:2278:8: ( (lv_properties_99_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:2279:9: (lv_properties_99_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:2279:9: (lv_properties_99_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:2280:10: lv_properties_99_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_2_15_2_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_99_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_99_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2297:8: (otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* |
| loop71: |
| do { |
| int alt71=2; |
| int LA71_0 = input.LA(1); |
| |
| if ( (LA71_0==30) ) { |
| alt71=1; |
| } |
| |
| |
| switch (alt71) { |
| case 1 : |
| // InternalEntityGrammar.g:2298:9: otherlv_100= ',' ( (lv_properties_101_0= ruleKeyAndValue ) ) |
| { |
| otherlv_100=(Token)match(input,30,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_100, grammarAccess.getEntityFeatureAccess().getCommaKeyword_2_1_1_2_15_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:2302:9: ( (lv_properties_101_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:2303:10: (lv_properties_101_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:2303:10: (lv_properties_101_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:2304:11: lv_properties_101_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_2_15_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_101_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_101_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop71; |
| } |
| } while (true); |
| |
| otherlv_102=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_102, grammarAccess.getEntityFeatureAccess().getRightParenthesisKeyword_2_1_1_2_15_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:2331:4: ( () (otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) ) ) |
| { |
| // InternalEntityGrammar.g:2331:4: ( () (otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) ) ) |
| // InternalEntityGrammar.g:2332:5: () (otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:2332:5: () |
| // InternalEntityGrammar.g:2333:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getEntityFeatureAccess().getLOperationAnnotationInfoAction_2_2_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:2339:5: (otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:2340:6: otherlv_104= 'def' ( (lv_type_105_0= ruleJvmTypeReference ) ) ( (lv_name_106_0= ruleValidIDWithKeywords ) ) otherlv_107= '(' ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_111= ')' ( (lv_body_112_0= ruleXExpression ) ) |
| { |
| otherlv_104=(Token)match(input,63,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_104, grammarAccess.getEntityFeatureAccess().getDefKeyword_2_2_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:2344:6: ( (lv_type_105_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:2345:7: (lv_type_105_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:2345:7: (lv_type_105_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:2346:8: lv_type_105_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getTypeJvmTypeReferenceParserRuleCall_2_2_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_11); |
| lv_type_105_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "type", |
| lv_type_105_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2363:6: ( (lv_name_106_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:2364:7: (lv_name_106_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:2364:7: (lv_name_106_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:2365:8: lv_name_106_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getNameValidIDWithKeywordsParserRuleCall_2_2_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_47); |
| lv_name_106_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_106_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_107=(Token)match(input,16,FOLLOW_67); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_107, grammarAccess.getEntityFeatureAccess().getLeftParenthesisKeyword_2_2_1_3()); |
| |
| } |
| // InternalEntityGrammar.g:2386:6: ( ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* )? |
| int alt75=2; |
| int LA75_0 = input.LA(1); |
| |
| if ( (LA75_0==RULE_ID||LA75_0==16||LA75_0==137) ) { |
| alt75=1; |
| } |
| switch (alt75) { |
| case 1 : |
| // InternalEntityGrammar.g:2387:7: ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* |
| { |
| // InternalEntityGrammar.g:2387:7: ( (lv_params_108_0= ruleFullJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:2388:8: (lv_params_108_0= ruleFullJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:2388:8: (lv_params_108_0= ruleFullJvmFormalParameter ) |
| // InternalEntityGrammar.g:2389:9: lv_params_108_0= ruleFullJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_0_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_params_108_0=ruleFullJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "params", |
| lv_params_108_0, |
| "org.eclipse.xtext.xbase.Xbase.FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2406:7: (otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) )* |
| loop74: |
| do { |
| int alt74=2; |
| int LA74_0 = input.LA(1); |
| |
| if ( (LA74_0==30) ) { |
| alt74=1; |
| } |
| |
| |
| switch (alt74) { |
| case 1 : |
| // InternalEntityGrammar.g:2407:8: otherlv_109= ',' ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) |
| { |
| otherlv_109=(Token)match(input,30,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_109, grammarAccess.getEntityFeatureAccess().getCommaKeyword_2_2_1_4_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:2411:8: ( (lv_params_110_0= ruleFullJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:2412:9: (lv_params_110_0= ruleFullJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:2412:9: (lv_params_110_0= ruleFullJvmFormalParameter ) |
| // InternalEntityGrammar.g:2413:10: lv_params_110_0= ruleFullJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_params_110_0=ruleFullJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| add( |
| current, |
| "params", |
| lv_params_110_0, |
| "org.eclipse.xtext.xbase.Xbase.FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop74; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_111=(Token)match(input,17,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_111, grammarAccess.getEntityFeatureAccess().getRightParenthesisKeyword_2_2_1_5()); |
| |
| } |
| // InternalEntityGrammar.g:2436:6: ( (lv_body_112_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:2437:7: (lv_body_112_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:2437:7: (lv_body_112_0= ruleXExpression ) |
| // InternalEntityGrammar.g:2438:8: lv_body_112_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeatureAccess().getBodyXExpressionParserRuleCall_2_2_1_6_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_body_112_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeatureRule()); |
| } |
| set( |
| current, |
| "body", |
| lv_body_112_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEntityFeature" |
| |
| |
| // $ANTLR start "entryRuleKanbanStateDetail" |
| // InternalEntityGrammar.g:2462:1: entryRuleKanbanStateDetail returns [EObject current=null] : iv_ruleKanbanStateDetail= ruleKanbanStateDetail EOF ; |
| public final EObject entryRuleKanbanStateDetail() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleKanbanStateDetail = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:2462:58: (iv_ruleKanbanStateDetail= ruleKanbanStateDetail EOF ) |
| // InternalEntityGrammar.g:2463:2: iv_ruleKanbanStateDetail= ruleKanbanStateDetail EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getKanbanStateDetailRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleKanbanStateDetail=ruleKanbanStateDetail(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleKanbanStateDetail; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleKanbanStateDetail" |
| |
| |
| // $ANTLR start "ruleKanbanStateDetail" |
| // InternalEntityGrammar.g:2469:1: ruleKanbanStateDetail returns [EObject current=null] : ( () otherlv_1= 'states' otherlv_2= '(' ( ( (lv_infos_3_0= ruleKanbanEnumInfo ) ) (otherlv_4= ',' ( (lv_infos_5_0= ruleKanbanEnumInfo ) ) )* )? otherlv_6= ')' ) ; |
| public final EObject ruleKanbanStateDetail() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| EObject lv_infos_3_0 = null; |
| |
| EObject lv_infos_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:2475:2: ( ( () otherlv_1= 'states' otherlv_2= '(' ( ( (lv_infos_3_0= ruleKanbanEnumInfo ) ) (otherlv_4= ',' ( (lv_infos_5_0= ruleKanbanEnumInfo ) ) )* )? otherlv_6= ')' ) ) |
| // InternalEntityGrammar.g:2476:2: ( () otherlv_1= 'states' otherlv_2= '(' ( ( (lv_infos_3_0= ruleKanbanEnumInfo ) ) (otherlv_4= ',' ( (lv_infos_5_0= ruleKanbanEnumInfo ) ) )* )? otherlv_6= ')' ) |
| { |
| // InternalEntityGrammar.g:2476:2: ( () otherlv_1= 'states' otherlv_2= '(' ( ( (lv_infos_3_0= ruleKanbanEnumInfo ) ) (otherlv_4= ',' ( (lv_infos_5_0= ruleKanbanEnumInfo ) ) )* )? otherlv_6= ')' ) |
| // InternalEntityGrammar.g:2477:3: () otherlv_1= 'states' otherlv_2= '(' ( ( (lv_infos_3_0= ruleKanbanEnumInfo ) ) (otherlv_4= ',' ( (lv_infos_5_0= ruleKanbanEnumInfo ) ) )* )? otherlv_6= ')' |
| { |
| // InternalEntityGrammar.g:2477:3: () |
| // InternalEntityGrammar.g:2478:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getKanbanStateDetailAccess().getLKanbanStateDetailAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,64,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getKanbanStateDetailAccess().getStatesKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_69); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getKanbanStateDetailAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:2492:3: ( ( (lv_infos_3_0= ruleKanbanEnumInfo ) ) (otherlv_4= ',' ( (lv_infos_5_0= ruleKanbanEnumInfo ) ) )* )? |
| int alt78=2; |
| int LA78_0 = input.LA(1); |
| |
| if ( (LA78_0==RULE_ID) ) { |
| alt78=1; |
| } |
| switch (alt78) { |
| case 1 : |
| // InternalEntityGrammar.g:2493:4: ( (lv_infos_3_0= ruleKanbanEnumInfo ) ) (otherlv_4= ',' ( (lv_infos_5_0= ruleKanbanEnumInfo ) ) )* |
| { |
| // InternalEntityGrammar.g:2493:4: ( (lv_infos_3_0= ruleKanbanEnumInfo ) ) |
| // InternalEntityGrammar.g:2494:5: (lv_infos_3_0= ruleKanbanEnumInfo ) |
| { |
| // InternalEntityGrammar.g:2494:5: (lv_infos_3_0= ruleKanbanEnumInfo ) |
| // InternalEntityGrammar.g:2495:6: lv_infos_3_0= ruleKanbanEnumInfo |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getKanbanStateDetailAccess().getInfosKanbanEnumInfoParserRuleCall_3_0_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_infos_3_0=ruleKanbanEnumInfo(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getKanbanStateDetailRule()); |
| } |
| add( |
| current, |
| "infos", |
| lv_infos_3_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.KanbanEnumInfo"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2512:4: (otherlv_4= ',' ( (lv_infos_5_0= ruleKanbanEnumInfo ) ) )* |
| loop77: |
| do { |
| int alt77=2; |
| int LA77_0 = input.LA(1); |
| |
| if ( (LA77_0==30) ) { |
| alt77=1; |
| } |
| |
| |
| switch (alt77) { |
| case 1 : |
| // InternalEntityGrammar.g:2513:5: otherlv_4= ',' ( (lv_infos_5_0= ruleKanbanEnumInfo ) ) |
| { |
| otherlv_4=(Token)match(input,30,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getKanbanStateDetailAccess().getCommaKeyword_3_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:2517:5: ( (lv_infos_5_0= ruleKanbanEnumInfo ) ) |
| // InternalEntityGrammar.g:2518:6: (lv_infos_5_0= ruleKanbanEnumInfo ) |
| { |
| // InternalEntityGrammar.g:2518:6: (lv_infos_5_0= ruleKanbanEnumInfo ) |
| // InternalEntityGrammar.g:2519:7: lv_infos_5_0= ruleKanbanEnumInfo |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getKanbanStateDetailAccess().getInfosKanbanEnumInfoParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_infos_5_0=ruleKanbanEnumInfo(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getKanbanStateDetailRule()); |
| } |
| add( |
| current, |
| "infos", |
| lv_infos_5_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.KanbanEnumInfo"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop77; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getKanbanStateDetailAccess().getRightParenthesisKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleKanbanStateDetail" |
| |
| |
| // $ANTLR start "entryRuleKanbanEnumInfo" |
| // InternalEntityGrammar.g:2546:1: entryRuleKanbanEnumInfo returns [EObject current=null] : iv_ruleKanbanEnumInfo= ruleKanbanEnumInfo EOF ; |
| public final EObject entryRuleKanbanEnumInfo() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleKanbanEnumInfo = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:2546:55: (iv_ruleKanbanEnumInfo= ruleKanbanEnumInfo EOF ) |
| // InternalEntityGrammar.g:2547:2: iv_ruleKanbanEnumInfo= ruleKanbanEnumInfo EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getKanbanEnumInfoRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleKanbanEnumInfo=ruleKanbanEnumInfo(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleKanbanEnumInfo; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleKanbanEnumInfo" |
| |
| |
| // $ANTLR start "ruleKanbanEnumInfo" |
| // InternalEntityGrammar.g:2553:1: ruleKanbanEnumInfo returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_i18nKey_2_0= RULE_STRING ) ) )? ) ; |
| public final EObject ruleKanbanEnumInfo() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_1=null; |
| Token lv_i18nKey_2_0=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:2559:2: ( ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_i18nKey_2_0= RULE_STRING ) ) )? ) ) |
| // InternalEntityGrammar.g:2560:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_i18nKey_2_0= RULE_STRING ) ) )? ) |
| { |
| // InternalEntityGrammar.g:2560:2: ( ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_i18nKey_2_0= RULE_STRING ) ) )? ) |
| // InternalEntityGrammar.g:2561:3: ( (otherlv_0= RULE_ID ) ) (otherlv_1= '=' ( (lv_i18nKey_2_0= RULE_STRING ) ) )? |
| { |
| // InternalEntityGrammar.g:2561:3: ( (otherlv_0= RULE_ID ) ) |
| // InternalEntityGrammar.g:2562:4: (otherlv_0= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:2562:4: (otherlv_0= RULE_ID ) |
| // InternalEntityGrammar.g:2563:5: otherlv_0= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getKanbanEnumInfoRule()); |
| } |
| |
| } |
| otherlv_0=(Token)match(input,RULE_ID,FOLLOW_70); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getKanbanEnumInfoAccess().getLiteralLEnumLiteralCrossReference_0_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2574:3: (otherlv_1= '=' ( (lv_i18nKey_2_0= RULE_STRING ) ) )? |
| int alt79=2; |
| int LA79_0 = input.LA(1); |
| |
| if ( (LA79_0==65) ) { |
| alt79=1; |
| } |
| switch (alt79) { |
| case 1 : |
| // InternalEntityGrammar.g:2575:4: otherlv_1= '=' ( (lv_i18nKey_2_0= RULE_STRING ) ) |
| { |
| otherlv_1=(Token)match(input,65,FOLLOW_18); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getKanbanEnumInfoAccess().getEqualsSignKeyword_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:2579:4: ( (lv_i18nKey_2_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:2580:5: (lv_i18nKey_2_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:2580:5: (lv_i18nKey_2_0= RULE_STRING ) |
| // InternalEntityGrammar.g:2581:6: lv_i18nKey_2_0= RULE_STRING |
| { |
| lv_i18nKey_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_i18nKey_2_0, grammarAccess.getKanbanEnumInfoAccess().getI18nKeySTRINGTerminalRuleCall_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getKanbanEnumInfoRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "i18nKey", |
| lv_i18nKey_2_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleKanbanEnumInfo" |
| |
| |
| // $ANTLR start "entryRuleBeanFeature" |
| // InternalEntityGrammar.g:2602:1: entryRuleBeanFeature returns [EObject current=null] : iv_ruleBeanFeature= ruleBeanFeature EOF ; |
| public final EObject entryRuleBeanFeature() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleBeanFeature = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:2602:52: (iv_ruleBeanFeature= ruleBeanFeature EOF ) |
| // InternalEntityGrammar.g:2603:2: iv_ruleBeanFeature= ruleBeanFeature EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getBeanFeatureRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleBeanFeature=ruleBeanFeature(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleBeanFeature; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleBeanFeature" |
| |
| |
| // $ANTLR start "ruleBeanFeature" |
| // InternalEntityGrammar.g:2609:1: ruleBeanFeature returns [EObject current=null] : ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) | ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) ) ) | ( () (otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) ) ) ) ) ; |
| public final EObject ruleBeanFeature() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_3=null; |
| Token lv_cascadeMergePersist_4_0=null; |
| Token lv_cascadeRemove_5_0=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token lv_asGrid_14_0=null; |
| Token lv_asTable_15_0=null; |
| Token lv_sideKick_16_0=null; |
| Token lv_isGrouped_17_0=null; |
| Token otherlv_19=null; |
| Token otherlv_20=null; |
| Token otherlv_22=null; |
| Token otherlv_24=null; |
| Token lv_transient_27_0=null; |
| Token otherlv_29=null; |
| Token otherlv_31=null; |
| Token lv_isGrouped_33_0=null; |
| Token otherlv_35=null; |
| Token otherlv_36=null; |
| Token otherlv_38=null; |
| Token otherlv_40=null; |
| Token otherlv_41=null; |
| Token lv_id_42_0=null; |
| Token lv_version_43_0=null; |
| Token lv_filtering_44_0=null; |
| Token lv_rangeFiltering_45_0=null; |
| Token otherlv_48=null; |
| Token otherlv_50=null; |
| Token lv_isGrouped_52_0=null; |
| Token otherlv_54=null; |
| Token otherlv_55=null; |
| Token otherlv_57=null; |
| Token otherlv_59=null; |
| Token otherlv_61=null; |
| Token otherlv_64=null; |
| Token otherlv_66=null; |
| Token otherlv_68=null; |
| EObject lv_annotations_1_0 = null; |
| |
| EObject lv_multiplicity_7_0 = null; |
| |
| EObject lv_constraints_9_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_11_0 = null; |
| |
| AntlrDatatypeRuleToken lv_groupName_18_0 = null; |
| |
| EObject lv_properties_21_0 = null; |
| |
| EObject lv_properties_23_0 = null; |
| |
| EObject lv_resultFilters_25_0 = null; |
| |
| EObject lv_constraints_30_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_32_0 = null; |
| |
| AntlrDatatypeRuleToken lv_groupName_34_0 = null; |
| |
| EObject lv_properties_37_0 = null; |
| |
| EObject lv_properties_39_0 = null; |
| |
| EObject lv_multiplicity_47_0 = null; |
| |
| EObject lv_constraints_49_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_51_0 = null; |
| |
| AntlrDatatypeRuleToken lv_groupName_53_0 = null; |
| |
| EObject lv_properties_56_0 = null; |
| |
| EObject lv_properties_58_0 = null; |
| |
| EObject lv_type_62_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_63_0 = null; |
| |
| EObject lv_params_65_0 = null; |
| |
| EObject lv_params_67_0 = null; |
| |
| EObject lv_body_69_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:2615:2: ( ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) | ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) ) ) | ( () (otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) ) ) ) ) ) |
| // InternalEntityGrammar.g:2616:2: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) | ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) ) ) | ( () (otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:2616:2: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) | ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) ) ) | ( () (otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) ) ) ) ) |
| // InternalEntityGrammar.g:2617:3: () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) | ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) ) ) | ( () (otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:2617:3: () |
| // InternalEntityGrammar.g:2618:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getBeanFeatureAccess().getLBeanFeatureAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:2624:3: ( (lv_annotations_1_0= ruleAnnotationDef ) )* |
| loop80: |
| do { |
| int alt80=2; |
| int LA80_0 = input.LA(1); |
| |
| if ( (LA80_0==118) ) { |
| alt80=1; |
| } |
| |
| |
| switch (alt80) { |
| case 1 : |
| // InternalEntityGrammar.g:2625:4: (lv_annotations_1_0= ruleAnnotationDef ) |
| { |
| // InternalEntityGrammar.g:2625:4: (lv_annotations_1_0= ruleAnnotationDef ) |
| // InternalEntityGrammar.g:2626:5: lv_annotations_1_0= ruleAnnotationDef |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getAnnotationsAnnotationDefParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_71); |
| lv_annotations_1_0=ruleAnnotationDef(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "annotations", |
| lv_annotations_1_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.AnnotationDef"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop80; |
| } |
| } while (true); |
| |
| // InternalEntityGrammar.g:2643:3: ( ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? ) ) | ( () ( ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) | ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) ) ) | ( () (otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) ) ) ) |
| int alt109=3; |
| switch ( input.LA(1) ) { |
| case 33: |
| { |
| alt109=1; |
| } |
| break; |
| case 48: |
| case 52: |
| case 53: |
| case 55: |
| { |
| alt109=2; |
| } |
| break; |
| case 63: |
| { |
| alt109=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 109, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt109) { |
| case 1 : |
| // InternalEntityGrammar.g:2644:4: ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? ) ) |
| { |
| // InternalEntityGrammar.g:2644:4: ( () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? ) ) |
| // InternalEntityGrammar.g:2645:5: () (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? ) |
| { |
| // InternalEntityGrammar.g:2645:5: () |
| // InternalEntityGrammar.g:2646:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getBeanFeatureAccess().getLBeanReferenceAnnotationInfoAction_2_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:2652:5: (otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? ) |
| // InternalEntityGrammar.g:2653:6: otherlv_3= 'ref' ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_7_0= ruleMultiplicity ) )? (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? ( (lv_name_11_0= ruleTRANSLATABLEID ) ) (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? ( (lv_sideKick_16_0= 'sideKick' ) )? ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? ( (lv_resultFilters_25_0= ruleResultFilters ) )? |
| { |
| otherlv_3=(Token)match(input,33,FOLLOW_72); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getBeanFeatureAccess().getRefKeyword_2_0_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:2657:6: ( (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) )? |
| int alt81=2; |
| int LA81_0 = input.LA(1); |
| |
| if ( (LA81_0==34) ) { |
| alt81=1; |
| } |
| switch (alt81) { |
| case 1 : |
| // InternalEntityGrammar.g:2658:7: (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) |
| { |
| // InternalEntityGrammar.g:2658:7: (lv_cascadeMergePersist_4_0= 'cascadeMergePersist' ) |
| // InternalEntityGrammar.g:2659:8: lv_cascadeMergePersist_4_0= 'cascadeMergePersist' |
| { |
| lv_cascadeMergePersist_4_0=(Token)match(input,34,FOLLOW_73); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_cascadeMergePersist_4_0, grammarAccess.getBeanFeatureAccess().getCascadeMergePersistCascadeMergePersistKeyword_2_0_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "cascadeMergePersist", true, "cascadeMergePersist"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2671:6: ( (lv_cascadeRemove_5_0= 'cascadeRemove' ) )? |
| int alt82=2; |
| int LA82_0 = input.LA(1); |
| |
| if ( (LA82_0==35) ) { |
| alt82=1; |
| } |
| switch (alt82) { |
| case 1 : |
| // InternalEntityGrammar.g:2672:7: (lv_cascadeRemove_5_0= 'cascadeRemove' ) |
| { |
| // InternalEntityGrammar.g:2672:7: (lv_cascadeRemove_5_0= 'cascadeRemove' ) |
| // InternalEntityGrammar.g:2673:8: lv_cascadeRemove_5_0= 'cascadeRemove' |
| { |
| lv_cascadeRemove_5_0=(Token)match(input,35,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_cascadeRemove_5_0, grammarAccess.getBeanFeatureAccess().getCascadeRemoveCascadeRemoveKeyword_2_0_1_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "cascadeRemove", true, "cascadeRemove"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2685:6: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // InternalEntityGrammar.g:2686:7: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // InternalEntityGrammar.g:2686:7: ( ruleTYPE_CROSS_REFERENCE ) |
| // InternalEntityGrammar.g:2687:8: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getTypeLTypeCrossReference_2_0_1_3_0()); |
| |
| } |
| pushFollow(FOLLOW_38); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2701:6: ( (lv_multiplicity_7_0= ruleMultiplicity ) )? |
| int alt83=2; |
| int LA83_0 = input.LA(1); |
| |
| if ( (LA83_0==38) ) { |
| int LA83_1 = input.LA(2); |
| |
| if ( (LA83_1==110||LA83_1==115||LA83_1==172||(LA83_1>=189 && LA83_1<=190)) ) { |
| alt83=1; |
| } |
| } |
| switch (alt83) { |
| case 1 : |
| // InternalEntityGrammar.g:2702:7: (lv_multiplicity_7_0= ruleMultiplicity ) |
| { |
| // InternalEntityGrammar.g:2702:7: (lv_multiplicity_7_0= ruleMultiplicity ) |
| // InternalEntityGrammar.g:2703:8: lv_multiplicity_7_0= ruleMultiplicity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_0_1_4_0()); |
| |
| } |
| pushFollow(FOLLOW_38); |
| lv_multiplicity_7_0=ruleMultiplicity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "multiplicity", |
| lv_multiplicity_7_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2720:6: (otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' )? |
| int alt85=2; |
| int LA85_0 = input.LA(1); |
| |
| if ( (LA85_0==38) ) { |
| alt85=1; |
| } |
| switch (alt85) { |
| case 1 : |
| // InternalEntityGrammar.g:2721:7: otherlv_8= '[' ( (lv_constraints_9_0= ruleAllConstraints ) )* otherlv_10= ']' |
| { |
| otherlv_8=(Token)match(input,38,FOLLOW_39); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getBeanFeatureAccess().getLeftSquareBracketKeyword_2_0_1_5_0()); |
| |
| } |
| // InternalEntityGrammar.g:2725:7: ( (lv_constraints_9_0= ruleAllConstraints ) )* |
| loop84: |
| do { |
| int alt84=2; |
| int LA84_0 = input.LA(1); |
| |
| if ( (LA84_0==79||(LA84_0>=83 && LA84_0<=94)) ) { |
| alt84=1; |
| } |
| |
| |
| switch (alt84) { |
| case 1 : |
| // InternalEntityGrammar.g:2726:8: (lv_constraints_9_0= ruleAllConstraints ) |
| { |
| // InternalEntityGrammar.g:2726:8: (lv_constraints_9_0= ruleAllConstraints ) |
| // InternalEntityGrammar.g:2727:9: lv_constraints_9_0= ruleAllConstraints |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_0_1_5_1_0()); |
| |
| } |
| pushFollow(FOLLOW_39); |
| lv_constraints_9_0=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_9_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop84; |
| } |
| } while (true); |
| |
| otherlv_10=(Token)match(input,39,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getBeanFeatureAccess().getRightSquareBracketKeyword_2_0_1_5_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2749:6: ( (lv_name_11_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:2750:7: (lv_name_11_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:2750:7: (lv_name_11_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:2751:8: lv_name_11_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_0_1_6_0()); |
| |
| } |
| pushFollow(FOLLOW_74); |
| lv_name_11_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_11_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2768:6: (otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? )? |
| int alt87=2; |
| int LA87_0 = input.LA(1); |
| |
| if ( (LA87_0==40) ) { |
| alt87=1; |
| } |
| switch (alt87) { |
| case 1 : |
| // InternalEntityGrammar.g:2769:7: otherlv_12= 'opposite' ( ( ruleLFQN ) ) ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? |
| { |
| otherlv_12=(Token)match(input,40,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getBeanFeatureAccess().getOppositeKeyword_2_0_1_7_0()); |
| |
| } |
| // InternalEntityGrammar.g:2773:7: ( ( ruleLFQN ) ) |
| // InternalEntityGrammar.g:2774:8: ( ruleLFQN ) |
| { |
| // InternalEntityGrammar.g:2774:8: ( ruleLFQN ) |
| // InternalEntityGrammar.g:2775:9: ruleLFQN |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getOppositeLReferenceCrossReference_2_0_1_7_1_0()); |
| |
| } |
| pushFollow(FOLLOW_75); |
| ruleLFQN(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2789:7: ( ( (lv_asGrid_14_0= 'asGrid' ) ) | ( (lv_asTable_15_0= 'asTable' ) ) )? |
| int alt86=3; |
| int LA86_0 = input.LA(1); |
| |
| if ( (LA86_0==41) ) { |
| alt86=1; |
| } |
| else if ( (LA86_0==42) ) { |
| alt86=2; |
| } |
| switch (alt86) { |
| case 1 : |
| // InternalEntityGrammar.g:2790:8: ( (lv_asGrid_14_0= 'asGrid' ) ) |
| { |
| // InternalEntityGrammar.g:2790:8: ( (lv_asGrid_14_0= 'asGrid' ) ) |
| // InternalEntityGrammar.g:2791:9: (lv_asGrid_14_0= 'asGrid' ) |
| { |
| // InternalEntityGrammar.g:2791:9: (lv_asGrid_14_0= 'asGrid' ) |
| // InternalEntityGrammar.g:2792:10: lv_asGrid_14_0= 'asGrid' |
| { |
| lv_asGrid_14_0=(Token)match(input,41,FOLLOW_76); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_asGrid_14_0, grammarAccess.getBeanFeatureAccess().getAsGridAsGridKeyword_2_0_1_7_2_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "asGrid", true, "asGrid"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:2805:8: ( (lv_asTable_15_0= 'asTable' ) ) |
| { |
| // InternalEntityGrammar.g:2805:8: ( (lv_asTable_15_0= 'asTable' ) ) |
| // InternalEntityGrammar.g:2806:9: (lv_asTable_15_0= 'asTable' ) |
| { |
| // InternalEntityGrammar.g:2806:9: (lv_asTable_15_0= 'asTable' ) |
| // InternalEntityGrammar.g:2807:10: lv_asTable_15_0= 'asTable' |
| { |
| lv_asTable_15_0=(Token)match(input,42,FOLLOW_76); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_asTable_15_0, grammarAccess.getBeanFeatureAccess().getAsTableAsTableKeyword_2_0_1_7_2_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "asTable", true, "asTable"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2821:6: ( (lv_sideKick_16_0= 'sideKick' ) )? |
| int alt88=2; |
| int LA88_0 = input.LA(1); |
| |
| if ( (LA88_0==43) ) { |
| alt88=1; |
| } |
| switch (alt88) { |
| case 1 : |
| // InternalEntityGrammar.g:2822:7: (lv_sideKick_16_0= 'sideKick' ) |
| { |
| // InternalEntityGrammar.g:2822:7: (lv_sideKick_16_0= 'sideKick' ) |
| // InternalEntityGrammar.g:2823:8: lv_sideKick_16_0= 'sideKick' |
| { |
| lv_sideKick_16_0=(Token)match(input,43,FOLLOW_45); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_sideKick_16_0, grammarAccess.getBeanFeatureAccess().getSideKickSideKickKeyword_2_0_1_8_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "sideKick", true, "sideKick"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2835:6: ( ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) )? |
| int alt89=2; |
| int LA89_0 = input.LA(1); |
| |
| if ( (LA89_0==46) ) { |
| alt89=1; |
| } |
| switch (alt89) { |
| case 1 : |
| // InternalEntityGrammar.g:2836:7: ( (lv_isGrouped_17_0= 'group' ) ) ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) |
| { |
| // InternalEntityGrammar.g:2836:7: ( (lv_isGrouped_17_0= 'group' ) ) |
| // InternalEntityGrammar.g:2837:8: (lv_isGrouped_17_0= 'group' ) |
| { |
| // InternalEntityGrammar.g:2837:8: (lv_isGrouped_17_0= 'group' ) |
| // InternalEntityGrammar.g:2838:9: lv_isGrouped_17_0= 'group' |
| { |
| lv_isGrouped_17_0=(Token)match(input,46,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isGrouped_17_0, grammarAccess.getBeanFeatureAccess().getIsGroupedGroupKeyword_2_0_1_9_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "isGrouped", true, "group"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2850:7: ( (lv_groupName_18_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:2851:8: (lv_groupName_18_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:2851:8: (lv_groupName_18_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:2852:9: lv_groupName_18_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getGroupNameTRANSLATABLEIDParserRuleCall_2_0_1_9_1_0()); |
| |
| } |
| pushFollow(FOLLOW_46); |
| lv_groupName_18_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "groupName", |
| lv_groupName_18_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2870:6: (otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' )? |
| int alt91=2; |
| int LA91_0 = input.LA(1); |
| |
| if ( (LA91_0==47) ) { |
| alt91=1; |
| } |
| switch (alt91) { |
| case 1 : |
| // InternalEntityGrammar.g:2871:7: otherlv_19= 'properties' otherlv_20= '(' ( (lv_properties_21_0= ruleKeyAndValue ) ) (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* otherlv_24= ')' |
| { |
| otherlv_19=(Token)match(input,47,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_19, grammarAccess.getBeanFeatureAccess().getPropertiesKeyword_2_0_1_10_0()); |
| |
| } |
| otherlv_20=(Token)match(input,16,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_20, grammarAccess.getBeanFeatureAccess().getLeftParenthesisKeyword_2_0_1_10_1()); |
| |
| } |
| // InternalEntityGrammar.g:2879:7: ( (lv_properties_21_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:2880:8: (lv_properties_21_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:2880:8: (lv_properties_21_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:2881:9: lv_properties_21_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_0_1_10_2_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_21_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_21_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2898:7: (otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) )* |
| loop90: |
| do { |
| int alt90=2; |
| int LA90_0 = input.LA(1); |
| |
| if ( (LA90_0==30) ) { |
| alt90=1; |
| } |
| |
| |
| switch (alt90) { |
| case 1 : |
| // InternalEntityGrammar.g:2899:8: otherlv_22= ',' ( (lv_properties_23_0= ruleKeyAndValue ) ) |
| { |
| otherlv_22=(Token)match(input,30,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_22, grammarAccess.getBeanFeatureAccess().getCommaKeyword_2_0_1_10_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:2903:8: ( (lv_properties_23_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:2904:9: (lv_properties_23_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:2904:9: (lv_properties_23_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:2905:10: lv_properties_23_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_0_1_10_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_23_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_23_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop90; |
| } |
| } while (true); |
| |
| otherlv_24=(Token)match(input,17,FOLLOW_50); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_24, grammarAccess.getBeanFeatureAccess().getRightParenthesisKeyword_2_0_1_10_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:2928:6: ( (lv_resultFilters_25_0= ruleResultFilters ) )? |
| int alt92=2; |
| int LA92_0 = input.LA(1); |
| |
| if ( (LA92_0==57) ) { |
| alt92=1; |
| } |
| switch (alt92) { |
| case 1 : |
| // InternalEntityGrammar.g:2929:7: (lv_resultFilters_25_0= ruleResultFilters ) |
| { |
| // InternalEntityGrammar.g:2929:7: (lv_resultFilters_25_0= ruleResultFilters ) |
| // InternalEntityGrammar.g:2930:8: lv_resultFilters_25_0= ruleResultFilters |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getResultFiltersResultFiltersParserRuleCall_2_0_1_11_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_resultFilters_25_0=ruleResultFilters(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "resultFilters", |
| lv_resultFilters_25_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ResultFilters"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:2950:4: ( () ( ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) | ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) ) ) |
| { |
| // InternalEntityGrammar.g:2950:4: ( () ( ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) | ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) ) ) |
| // InternalEntityGrammar.g:2951:5: () ( ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) | ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) ) |
| { |
| // InternalEntityGrammar.g:2951:5: () |
| // InternalEntityGrammar.g:2952:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getBeanFeatureAccess().getLBeanAttributeAnnotationInfoAction_2_1_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:2958:5: ( ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) | ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) ) |
| int alt106=2; |
| int LA106_0 = input.LA(1); |
| |
| if ( (LA106_0==48) ) { |
| alt106=1; |
| } |
| else if ( ((LA106_0>=52 && LA106_0<=53)||LA106_0==55) ) { |
| alt106=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 106, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt106) { |
| case 1 : |
| // InternalEntityGrammar.g:2959:6: ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) |
| { |
| // InternalEntityGrammar.g:2959:6: ( ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? ) |
| // InternalEntityGrammar.g:2960:7: ( (lv_transient_27_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? ( (lv_name_32_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? |
| { |
| // InternalEntityGrammar.g:2960:7: ( (lv_transient_27_0= 'transient' ) ) |
| // InternalEntityGrammar.g:2961:8: (lv_transient_27_0= 'transient' ) |
| { |
| // InternalEntityGrammar.g:2961:8: (lv_transient_27_0= 'transient' ) |
| // InternalEntityGrammar.g:2962:9: lv_transient_27_0= 'transient' |
| { |
| lv_transient_27_0=(Token)match(input,48,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_transient_27_0, grammarAccess.getBeanFeatureAccess().getTransientTransientKeyword_2_1_1_0_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "transient", true, "transient"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2974:7: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // InternalEntityGrammar.g:2975:8: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // InternalEntityGrammar.g:2975:8: ( ruleTYPE_CROSS_REFERENCE ) |
| // InternalEntityGrammar.g:2976:9: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getTypeLScalarTypeCrossReference_2_1_1_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_38); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:2990:7: (otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' )? |
| int alt94=2; |
| int LA94_0 = input.LA(1); |
| |
| if ( (LA94_0==38) ) { |
| alt94=1; |
| } |
| switch (alt94) { |
| case 1 : |
| // InternalEntityGrammar.g:2991:8: otherlv_29= '[' ( (lv_constraints_30_0= ruleAllConstraints ) )* otherlv_31= ']' |
| { |
| otherlv_29=(Token)match(input,38,FOLLOW_39); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_29, grammarAccess.getBeanFeatureAccess().getLeftSquareBracketKeyword_2_1_1_0_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:2995:8: ( (lv_constraints_30_0= ruleAllConstraints ) )* |
| loop93: |
| do { |
| int alt93=2; |
| int LA93_0 = input.LA(1); |
| |
| if ( (LA93_0==79||(LA93_0>=83 && LA93_0<=94)) ) { |
| alt93=1; |
| } |
| |
| |
| switch (alt93) { |
| case 1 : |
| // InternalEntityGrammar.g:2996:9: (lv_constraints_30_0= ruleAllConstraints ) |
| { |
| // InternalEntityGrammar.g:2996:9: (lv_constraints_30_0= ruleAllConstraints ) |
| // InternalEntityGrammar.g:2997:10: lv_constraints_30_0= ruleAllConstraints |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_1_1_0_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_39); |
| lv_constraints_30_0=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_30_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop93; |
| } |
| } while (true); |
| |
| otherlv_31=(Token)match(input,39,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_31, grammarAccess.getBeanFeatureAccess().getRightSquareBracketKeyword_2_1_1_0_2_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3019:7: ( (lv_name_32_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:3020:8: (lv_name_32_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:3020:8: (lv_name_32_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:3021:9: lv_name_32_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_1_1_0_3_0()); |
| |
| } |
| pushFollow(FOLLOW_77); |
| lv_name_32_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_32_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3038:7: ( ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) )? |
| int alt95=2; |
| int LA95_0 = input.LA(1); |
| |
| if ( (LA95_0==46) ) { |
| alt95=1; |
| } |
| switch (alt95) { |
| case 1 : |
| // InternalEntityGrammar.g:3039:8: ( (lv_isGrouped_33_0= 'group' ) ) ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) |
| { |
| // InternalEntityGrammar.g:3039:8: ( (lv_isGrouped_33_0= 'group' ) ) |
| // InternalEntityGrammar.g:3040:9: (lv_isGrouped_33_0= 'group' ) |
| { |
| // InternalEntityGrammar.g:3040:9: (lv_isGrouped_33_0= 'group' ) |
| // InternalEntityGrammar.g:3041:10: lv_isGrouped_33_0= 'group' |
| { |
| lv_isGrouped_33_0=(Token)match(input,46,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isGrouped_33_0, grammarAccess.getBeanFeatureAccess().getIsGroupedGroupKeyword_2_1_1_0_4_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "isGrouped", true, "group"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3053:8: ( (lv_groupName_34_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:3054:9: (lv_groupName_34_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:3054:9: (lv_groupName_34_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:3055:10: lv_groupName_34_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getGroupNameTRANSLATABLEIDParserRuleCall_2_1_1_0_4_1_0()); |
| |
| } |
| pushFollow(FOLLOW_54); |
| lv_groupName_34_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "groupName", |
| lv_groupName_34_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3073:7: (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? |
| int alt97=2; |
| int LA97_0 = input.LA(1); |
| |
| if ( (LA97_0==47) ) { |
| alt97=1; |
| } |
| switch (alt97) { |
| case 1 : |
| // InternalEntityGrammar.g:3074:8: otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' |
| { |
| otherlv_35=(Token)match(input,47,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_35, grammarAccess.getBeanFeatureAccess().getPropertiesKeyword_2_1_1_0_5_0()); |
| |
| } |
| otherlv_36=(Token)match(input,16,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_36, grammarAccess.getBeanFeatureAccess().getLeftParenthesisKeyword_2_1_1_0_5_1()); |
| |
| } |
| // InternalEntityGrammar.g:3082:8: ( (lv_properties_37_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:3083:9: (lv_properties_37_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:3083:9: (lv_properties_37_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:3084:10: lv_properties_37_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_0_5_2_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_37_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_37_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3101:8: (otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* |
| loop96: |
| do { |
| int alt96=2; |
| int LA96_0 = input.LA(1); |
| |
| if ( (LA96_0==30) ) { |
| alt96=1; |
| } |
| |
| |
| switch (alt96) { |
| case 1 : |
| // InternalEntityGrammar.g:3102:9: otherlv_38= ',' ( (lv_properties_39_0= ruleKeyAndValue ) ) |
| { |
| otherlv_38=(Token)match(input,30,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_38, grammarAccess.getBeanFeatureAccess().getCommaKeyword_2_1_1_0_5_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:3106:9: ( (lv_properties_39_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:3107:10: (lv_properties_39_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:3107:10: (lv_properties_39_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:3108:11: lv_properties_39_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_0_5_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_39_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_39_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop96; |
| } |
| } while (true); |
| |
| otherlv_40=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_40, grammarAccess.getBeanFeatureAccess().getRightParenthesisKeyword_2_1_1_0_5_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:3133:6: ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) |
| { |
| // InternalEntityGrammar.g:3133:6: ( (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? ) |
| // InternalEntityGrammar.g:3134:7: (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_47_0= ruleMultiplicity ) )? (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? ( (lv_name_51_0= ruleTRANSLATABLEID ) ) ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? |
| { |
| // InternalEntityGrammar.g:3134:7: (otherlv_41= 'var' | ( (lv_id_42_0= 'id' ) ) | ( (lv_version_43_0= 'version' ) ) ) |
| int alt98=3; |
| switch ( input.LA(1) ) { |
| case 52: |
| { |
| alt98=1; |
| } |
| break; |
| case 53: |
| { |
| alt98=2; |
| } |
| break; |
| case 55: |
| { |
| alt98=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 98, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt98) { |
| case 1 : |
| // InternalEntityGrammar.g:3135:8: otherlv_41= 'var' |
| { |
| otherlv_41=(Token)match(input,52,FOLLOW_78); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_41, grammarAccess.getBeanFeatureAccess().getVarKeyword_2_1_1_1_0_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:3140:8: ( (lv_id_42_0= 'id' ) ) |
| { |
| // InternalEntityGrammar.g:3140:8: ( (lv_id_42_0= 'id' ) ) |
| // InternalEntityGrammar.g:3141:9: (lv_id_42_0= 'id' ) |
| { |
| // InternalEntityGrammar.g:3141:9: (lv_id_42_0= 'id' ) |
| // InternalEntityGrammar.g:3142:10: lv_id_42_0= 'id' |
| { |
| lv_id_42_0=(Token)match(input,53,FOLLOW_78); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_id_42_0, grammarAccess.getBeanFeatureAccess().getIdIdKeyword_2_1_1_1_0_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "id", true, "id"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:3155:8: ( (lv_version_43_0= 'version' ) ) |
| { |
| // InternalEntityGrammar.g:3155:8: ( (lv_version_43_0= 'version' ) ) |
| // InternalEntityGrammar.g:3156:9: (lv_version_43_0= 'version' ) |
| { |
| // InternalEntityGrammar.g:3156:9: (lv_version_43_0= 'version' ) |
| // InternalEntityGrammar.g:3157:10: lv_version_43_0= 'version' |
| { |
| lv_version_43_0=(Token)match(input,55,FOLLOW_78); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_version_43_0, grammarAccess.getBeanFeatureAccess().getVersionVersionKeyword_2_1_1_1_0_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "version", true, "version"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3170:7: ( ( (lv_filtering_44_0= 'filter' ) ) | ( (lv_rangeFiltering_45_0= 'range' ) ) )? |
| int alt99=3; |
| int LA99_0 = input.LA(1); |
| |
| if ( (LA99_0==57) ) { |
| alt99=1; |
| } |
| else if ( (LA99_0==58) ) { |
| alt99=2; |
| } |
| switch (alt99) { |
| case 1 : |
| // InternalEntityGrammar.g:3171:8: ( (lv_filtering_44_0= 'filter' ) ) |
| { |
| // InternalEntityGrammar.g:3171:8: ( (lv_filtering_44_0= 'filter' ) ) |
| // InternalEntityGrammar.g:3172:9: (lv_filtering_44_0= 'filter' ) |
| { |
| // InternalEntityGrammar.g:3172:9: (lv_filtering_44_0= 'filter' ) |
| // InternalEntityGrammar.g:3173:10: lv_filtering_44_0= 'filter' |
| { |
| lv_filtering_44_0=(Token)match(input,57,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_filtering_44_0, grammarAccess.getBeanFeatureAccess().getFilteringFilterKeyword_2_1_1_1_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "filtering", true, "filter"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:3186:8: ( (lv_rangeFiltering_45_0= 'range' ) ) |
| { |
| // InternalEntityGrammar.g:3186:8: ( (lv_rangeFiltering_45_0= 'range' ) ) |
| // InternalEntityGrammar.g:3187:9: (lv_rangeFiltering_45_0= 'range' ) |
| { |
| // InternalEntityGrammar.g:3187:9: (lv_rangeFiltering_45_0= 'range' ) |
| // InternalEntityGrammar.g:3188:10: lv_rangeFiltering_45_0= 'range' |
| { |
| lv_rangeFiltering_45_0=(Token)match(input,58,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_rangeFiltering_45_0, grammarAccess.getBeanFeatureAccess().getRangeFilteringRangeKeyword_2_1_1_1_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "rangeFiltering", true, "range"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3201:7: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // InternalEntityGrammar.g:3202:8: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // InternalEntityGrammar.g:3202:8: ( ruleTYPE_CROSS_REFERENCE ) |
| // InternalEntityGrammar.g:3203:9: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getTypeLScalarTypeCrossReference_2_1_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_38); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3217:7: ( (lv_multiplicity_47_0= ruleMultiplicity ) )? |
| int alt100=2; |
| int LA100_0 = input.LA(1); |
| |
| if ( (LA100_0==38) ) { |
| int LA100_1 = input.LA(2); |
| |
| if ( (LA100_1==110||LA100_1==115||LA100_1==172||(LA100_1>=189 && LA100_1<=190)) ) { |
| alt100=1; |
| } |
| } |
| switch (alt100) { |
| case 1 : |
| // InternalEntityGrammar.g:3218:8: (lv_multiplicity_47_0= ruleMultiplicity ) |
| { |
| // InternalEntityGrammar.g:3218:8: (lv_multiplicity_47_0= ruleMultiplicity ) |
| // InternalEntityGrammar.g:3219:9: lv_multiplicity_47_0= ruleMultiplicity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_1_1_1_3_0()); |
| |
| } |
| pushFollow(FOLLOW_38); |
| lv_multiplicity_47_0=ruleMultiplicity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "multiplicity", |
| lv_multiplicity_47_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3236:7: (otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' )? |
| int alt102=2; |
| int LA102_0 = input.LA(1); |
| |
| if ( (LA102_0==38) ) { |
| alt102=1; |
| } |
| switch (alt102) { |
| case 1 : |
| // InternalEntityGrammar.g:3237:8: otherlv_48= '[' ( (lv_constraints_49_0= ruleAllConstraints ) )* otherlv_50= ']' |
| { |
| otherlv_48=(Token)match(input,38,FOLLOW_39); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_48, grammarAccess.getBeanFeatureAccess().getLeftSquareBracketKeyword_2_1_1_1_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:3241:8: ( (lv_constraints_49_0= ruleAllConstraints ) )* |
| loop101: |
| do { |
| int alt101=2; |
| int LA101_0 = input.LA(1); |
| |
| if ( (LA101_0==79||(LA101_0>=83 && LA101_0<=94)) ) { |
| alt101=1; |
| } |
| |
| |
| switch (alt101) { |
| case 1 : |
| // InternalEntityGrammar.g:3242:9: (lv_constraints_49_0= ruleAllConstraints ) |
| { |
| // InternalEntityGrammar.g:3242:9: (lv_constraints_49_0= ruleAllConstraints ) |
| // InternalEntityGrammar.g:3243:10: lv_constraints_49_0= ruleAllConstraints |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_1_1_1_4_1_0()); |
| |
| } |
| pushFollow(FOLLOW_39); |
| lv_constraints_49_0=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_49_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop101; |
| } |
| } while (true); |
| |
| otherlv_50=(Token)match(input,39,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_50, grammarAccess.getBeanFeatureAccess().getRightSquareBracketKeyword_2_1_1_1_4_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3265:7: ( (lv_name_51_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:3266:8: (lv_name_51_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:3266:8: (lv_name_51_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:3267:9: lv_name_51_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getNameTRANSLATABLEIDParserRuleCall_2_1_1_1_5_0()); |
| |
| } |
| pushFollow(FOLLOW_77); |
| lv_name_51_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_51_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3284:7: ( ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) )? |
| int alt103=2; |
| int LA103_0 = input.LA(1); |
| |
| if ( (LA103_0==46) ) { |
| alt103=1; |
| } |
| switch (alt103) { |
| case 1 : |
| // InternalEntityGrammar.g:3285:8: ( (lv_isGrouped_52_0= 'group' ) ) ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) |
| { |
| // InternalEntityGrammar.g:3285:8: ( (lv_isGrouped_52_0= 'group' ) ) |
| // InternalEntityGrammar.g:3286:9: (lv_isGrouped_52_0= 'group' ) |
| { |
| // InternalEntityGrammar.g:3286:9: (lv_isGrouped_52_0= 'group' ) |
| // InternalEntityGrammar.g:3287:10: lv_isGrouped_52_0= 'group' |
| { |
| lv_isGrouped_52_0=(Token)match(input,46,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isGrouped_52_0, grammarAccess.getBeanFeatureAccess().getIsGroupedGroupKeyword_2_1_1_1_6_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getBeanFeatureRule()); |
| } |
| setWithLastConsumed(current, "isGrouped", true, "group"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3299:8: ( (lv_groupName_53_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:3300:9: (lv_groupName_53_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:3300:9: (lv_groupName_53_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:3301:10: lv_groupName_53_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getGroupNameTRANSLATABLEIDParserRuleCall_2_1_1_1_6_1_0()); |
| |
| } |
| pushFollow(FOLLOW_54); |
| lv_groupName_53_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "groupName", |
| lv_groupName_53_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3319:7: (otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' )? |
| int alt105=2; |
| int LA105_0 = input.LA(1); |
| |
| if ( (LA105_0==47) ) { |
| alt105=1; |
| } |
| switch (alt105) { |
| case 1 : |
| // InternalEntityGrammar.g:3320:8: otherlv_54= 'properties' otherlv_55= '(' ( (lv_properties_56_0= ruleKeyAndValue ) ) (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* otherlv_59= ')' |
| { |
| otherlv_54=(Token)match(input,47,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_54, grammarAccess.getBeanFeatureAccess().getPropertiesKeyword_2_1_1_1_7_0()); |
| |
| } |
| otherlv_55=(Token)match(input,16,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_55, grammarAccess.getBeanFeatureAccess().getLeftParenthesisKeyword_2_1_1_1_7_1()); |
| |
| } |
| // InternalEntityGrammar.g:3328:8: ( (lv_properties_56_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:3329:9: (lv_properties_56_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:3329:9: (lv_properties_56_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:3330:10: lv_properties_56_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_1_7_2_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_56_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_56_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3347:8: (otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) )* |
| loop104: |
| do { |
| int alt104=2; |
| int LA104_0 = input.LA(1); |
| |
| if ( (LA104_0==30) ) { |
| alt104=1; |
| } |
| |
| |
| switch (alt104) { |
| case 1 : |
| // InternalEntityGrammar.g:3348:9: otherlv_57= ',' ( (lv_properties_58_0= ruleKeyAndValue ) ) |
| { |
| otherlv_57=(Token)match(input,30,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_57, grammarAccess.getBeanFeatureAccess().getCommaKeyword_2_1_1_1_7_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:3352:9: ( (lv_properties_58_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:3353:10: (lv_properties_58_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:3353:10: (lv_properties_58_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:3354:11: lv_properties_58_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_1_1_7_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_58_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_58_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop104; |
| } |
| } while (true); |
| |
| otherlv_59=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_59, grammarAccess.getBeanFeatureAccess().getRightParenthesisKeyword_2_1_1_1_7_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:3381:4: ( () (otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) ) ) |
| { |
| // InternalEntityGrammar.g:3381:4: ( () (otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) ) ) |
| // InternalEntityGrammar.g:3382:5: () (otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:3382:5: () |
| // InternalEntityGrammar.g:3383:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getBeanFeatureAccess().getLOperationAnnotationInfoAction_2_2_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:3389:5: (otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:3390:6: otherlv_61= 'def' ( (lv_type_62_0= ruleJvmTypeReference ) ) ( (lv_name_63_0= ruleValidIDWithKeywords ) ) otherlv_64= '(' ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_68= ')' ( (lv_body_69_0= ruleXExpression ) ) |
| { |
| otherlv_61=(Token)match(input,63,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_61, grammarAccess.getBeanFeatureAccess().getDefKeyword_2_2_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:3394:6: ( (lv_type_62_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:3395:7: (lv_type_62_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:3395:7: (lv_type_62_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:3396:8: lv_type_62_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getTypeJvmTypeReferenceParserRuleCall_2_2_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_11); |
| lv_type_62_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "type", |
| lv_type_62_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3413:6: ( (lv_name_63_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:3414:7: (lv_name_63_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:3414:7: (lv_name_63_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:3415:8: lv_name_63_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getNameValidIDWithKeywordsParserRuleCall_2_2_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_47); |
| lv_name_63_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_63_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_64=(Token)match(input,16,FOLLOW_67); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_64, grammarAccess.getBeanFeatureAccess().getLeftParenthesisKeyword_2_2_1_3()); |
| |
| } |
| // InternalEntityGrammar.g:3436:6: ( ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* )? |
| int alt108=2; |
| int LA108_0 = input.LA(1); |
| |
| if ( (LA108_0==RULE_ID||LA108_0==16||LA108_0==137) ) { |
| alt108=1; |
| } |
| switch (alt108) { |
| case 1 : |
| // InternalEntityGrammar.g:3437:7: ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* |
| { |
| // InternalEntityGrammar.g:3437:7: ( (lv_params_65_0= ruleFullJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:3438:8: (lv_params_65_0= ruleFullJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:3438:8: (lv_params_65_0= ruleFullJvmFormalParameter ) |
| // InternalEntityGrammar.g:3439:9: lv_params_65_0= ruleFullJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_0_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_params_65_0=ruleFullJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "params", |
| lv_params_65_0, |
| "org.eclipse.xtext.xbase.Xbase.FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3456:7: (otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) )* |
| loop107: |
| do { |
| int alt107=2; |
| int LA107_0 = input.LA(1); |
| |
| if ( (LA107_0==30) ) { |
| alt107=1; |
| } |
| |
| |
| switch (alt107) { |
| case 1 : |
| // InternalEntityGrammar.g:3457:8: otherlv_66= ',' ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) |
| { |
| otherlv_66=(Token)match(input,30,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_66, grammarAccess.getBeanFeatureAccess().getCommaKeyword_2_2_1_4_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:3461:8: ( (lv_params_67_0= ruleFullJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:3462:9: (lv_params_67_0= ruleFullJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:3462:9: (lv_params_67_0= ruleFullJvmFormalParameter ) |
| // InternalEntityGrammar.g:3463:10: lv_params_67_0= ruleFullJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getParamsFullJvmFormalParameterParserRuleCall_2_2_1_4_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_params_67_0=ruleFullJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| add( |
| current, |
| "params", |
| lv_params_67_0, |
| "org.eclipse.xtext.xbase.Xbase.FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop107; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_68=(Token)match(input,17,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_68, grammarAccess.getBeanFeatureAccess().getRightParenthesisKeyword_2_2_1_5()); |
| |
| } |
| // InternalEntityGrammar.g:3486:6: ( (lv_body_69_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:3487:7: (lv_body_69_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:3487:7: (lv_body_69_0= ruleXExpression ) |
| // InternalEntityGrammar.g:3488:8: lv_body_69_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBeanFeatureAccess().getBodyXExpressionParserRuleCall_2_2_1_6_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_body_69_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getBeanFeatureRule()); |
| } |
| set( |
| current, |
| "body", |
| lv_body_69_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleBeanFeature" |
| |
| |
| // $ANTLR start "entryRuleEntitySuperIndex" |
| // InternalEntityGrammar.g:3512:1: entryRuleEntitySuperIndex returns [EObject current=null] : iv_ruleEntitySuperIndex= ruleEntitySuperIndex EOF ; |
| public final EObject entryRuleEntitySuperIndex() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEntitySuperIndex = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:3512:57: (iv_ruleEntitySuperIndex= ruleEntitySuperIndex EOF ) |
| // InternalEntityGrammar.g:3513:2: iv_ruleEntitySuperIndex= ruleEntitySuperIndex EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEntitySuperIndexRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleEntitySuperIndex=ruleEntitySuperIndex(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEntitySuperIndex; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEntitySuperIndex" |
| |
| |
| // $ANTLR start "ruleEntitySuperIndex" |
| // InternalEntityGrammar.g:3519:1: ruleEntitySuperIndex returns [EObject current=null] : (otherlv_0= 'superIndex' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleEntitySuperIndexAttribute ) )* otherlv_4= '}' ) ; |
| public final EObject ruleEntitySuperIndex() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| AntlrDatatypeRuleToken lv_name_1_0 = null; |
| |
| EObject lv_attributes_3_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:3525:2: ( (otherlv_0= 'superIndex' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleEntitySuperIndexAttribute ) )* otherlv_4= '}' ) ) |
| // InternalEntityGrammar.g:3526:2: (otherlv_0= 'superIndex' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleEntitySuperIndexAttribute ) )* otherlv_4= '}' ) |
| { |
| // InternalEntityGrammar.g:3526:2: (otherlv_0= 'superIndex' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleEntitySuperIndexAttribute ) )* otherlv_4= '}' ) |
| // InternalEntityGrammar.g:3527:3: otherlv_0= 'superIndex' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= '{' ( (lv_attributes_3_0= ruleEntitySuperIndexAttribute ) )* otherlv_4= '}' |
| { |
| otherlv_0=(Token)match(input,66,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getEntitySuperIndexAccess().getSuperIndexKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:3531:3: ( (lv_name_1_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:3532:4: (lv_name_1_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:3532:4: (lv_name_1_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:3533:5: lv_name_1_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntitySuperIndexAccess().getNameTRANSLATABLEIDParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_14); |
| lv_name_1_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntitySuperIndexRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_1_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_2=(Token)match(input,21,FOLLOW_79); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getEntitySuperIndexAccess().getLeftCurlyBracketKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:3554:3: ( (lv_attributes_3_0= ruleEntitySuperIndexAttribute ) )* |
| loop110: |
| do { |
| int alt110=2; |
| int LA110_0 = input.LA(1); |
| |
| if ( (LA110_0==33) ) { |
| alt110=1; |
| } |
| |
| |
| switch (alt110) { |
| case 1 : |
| // InternalEntityGrammar.g:3555:4: (lv_attributes_3_0= ruleEntitySuperIndexAttribute ) |
| { |
| // InternalEntityGrammar.g:3555:4: (lv_attributes_3_0= ruleEntitySuperIndexAttribute ) |
| // InternalEntityGrammar.g:3556:5: lv_attributes_3_0= ruleEntitySuperIndexAttribute |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntitySuperIndexAccess().getAttributesEntitySuperIndexAttributeParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_79); |
| lv_attributes_3_0=ruleEntitySuperIndexAttribute(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntitySuperIndexRule()); |
| } |
| add( |
| current, |
| "attributes", |
| lv_attributes_3_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.EntitySuperIndexAttribute"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop110; |
| } |
| } while (true); |
| |
| otherlv_4=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getEntitySuperIndexAccess().getRightCurlyBracketKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEntitySuperIndex" |
| |
| |
| // $ANTLR start "entryRuleEntitySuperIndexAttribute" |
| // InternalEntityGrammar.g:3581:1: entryRuleEntitySuperIndexAttribute returns [EObject current=null] : iv_ruleEntitySuperIndexAttribute= ruleEntitySuperIndexAttribute EOF ; |
| public final EObject entryRuleEntitySuperIndexAttribute() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEntitySuperIndexAttribute = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:3581:66: (iv_ruleEntitySuperIndexAttribute= ruleEntitySuperIndexAttribute EOF ) |
| // InternalEntityGrammar.g:3582:2: iv_ruleEntitySuperIndexAttribute= ruleEntitySuperIndexAttribute EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEntitySuperIndexAttributeRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleEntitySuperIndexAttribute=ruleEntitySuperIndexAttribute(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEntitySuperIndexAttribute; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEntitySuperIndexAttribute" |
| |
| |
| // $ANTLR start "ruleEntitySuperIndexAttribute" |
| // InternalEntityGrammar.g:3588:1: ruleEntitySuperIndexAttribute returns [EObject current=null] : (otherlv_0= 'ref' ( (otherlv_1= RULE_ID ) ) ( (lv_tail_2_0= ruleEntityFeaturePathSegment ) )? ) ; |
| public final EObject ruleEntitySuperIndexAttribute() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_1=null; |
| EObject lv_tail_2_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:3594:2: ( (otherlv_0= 'ref' ( (otherlv_1= RULE_ID ) ) ( (lv_tail_2_0= ruleEntityFeaturePathSegment ) )? ) ) |
| // InternalEntityGrammar.g:3595:2: (otherlv_0= 'ref' ( (otherlv_1= RULE_ID ) ) ( (lv_tail_2_0= ruleEntityFeaturePathSegment ) )? ) |
| { |
| // InternalEntityGrammar.g:3595:2: (otherlv_0= 'ref' ( (otherlv_1= RULE_ID ) ) ( (lv_tail_2_0= ruleEntityFeaturePathSegment ) )? ) |
| // InternalEntityGrammar.g:3596:3: otherlv_0= 'ref' ( (otherlv_1= RULE_ID ) ) ( (lv_tail_2_0= ruleEntityFeaturePathSegment ) )? |
| { |
| otherlv_0=(Token)match(input,33,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getEntitySuperIndexAttributeAccess().getRefKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:3600:3: ( (otherlv_1= RULE_ID ) ) |
| // InternalEntityGrammar.g:3601:4: (otherlv_1= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:3601:4: (otherlv_1= RULE_ID ) |
| // InternalEntityGrammar.g:3602:5: otherlv_1= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntitySuperIndexAttributeRule()); |
| } |
| |
| } |
| otherlv_1=(Token)match(input,RULE_ID,FOLLOW_80); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getEntitySuperIndexAttributeAccess().getFeatureLFeatureCrossReference_1_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3613:3: ( (lv_tail_2_0= ruleEntityFeaturePathSegment ) )? |
| int alt111=2; |
| int LA111_0 = input.LA(1); |
| |
| if ( (LA111_0==67) ) { |
| alt111=1; |
| } |
| switch (alt111) { |
| case 1 : |
| // InternalEntityGrammar.g:3614:4: (lv_tail_2_0= ruleEntityFeaturePathSegment ) |
| { |
| // InternalEntityGrammar.g:3614:4: (lv_tail_2_0= ruleEntityFeaturePathSegment ) |
| // InternalEntityGrammar.g:3615:5: lv_tail_2_0= ruleEntityFeaturePathSegment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntitySuperIndexAttributeAccess().getTailEntityFeaturePathSegmentParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_tail_2_0=ruleEntityFeaturePathSegment(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntitySuperIndexAttributeRule()); |
| } |
| set( |
| current, |
| "tail", |
| lv_tail_2_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.EntityFeaturePathSegment"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEntitySuperIndexAttribute" |
| |
| |
| // $ANTLR start "entryRuleEntityFeaturePathSegment" |
| // InternalEntityGrammar.g:3636:1: entryRuleEntityFeaturePathSegment returns [EObject current=null] : iv_ruleEntityFeaturePathSegment= ruleEntityFeaturePathSegment EOF ; |
| public final EObject entryRuleEntityFeaturePathSegment() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEntityFeaturePathSegment = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:3636:65: (iv_ruleEntityFeaturePathSegment= ruleEntityFeaturePathSegment EOF ) |
| // InternalEntityGrammar.g:3637:2: iv_ruleEntityFeaturePathSegment= ruleEntityFeaturePathSegment EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEntityFeaturePathSegmentRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleEntityFeaturePathSegment=ruleEntityFeaturePathSegment(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEntityFeaturePathSegment; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEntityFeaturePathSegment" |
| |
| |
| // $ANTLR start "ruleEntityFeaturePathSegment" |
| // InternalEntityGrammar.g:3643:1: ruleEntityFeaturePathSegment returns [EObject current=null] : ( () otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) ( (lv_tail_3_0= ruleEntityFeaturePathSegment ) )? ) ; |
| public final EObject ruleEntityFeaturePathSegment() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| EObject lv_tail_3_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:3649:2: ( ( () otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) ( (lv_tail_3_0= ruleEntityFeaturePathSegment ) )? ) ) |
| // InternalEntityGrammar.g:3650:2: ( () otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) ( (lv_tail_3_0= ruleEntityFeaturePathSegment ) )? ) |
| { |
| // InternalEntityGrammar.g:3650:2: ( () otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) ( (lv_tail_3_0= ruleEntityFeaturePathSegment ) )? ) |
| // InternalEntityGrammar.g:3651:3: () otherlv_1= '.' ( (otherlv_2= RULE_ID ) ) ( (lv_tail_3_0= ruleEntityFeaturePathSegment ) )? |
| { |
| // InternalEntityGrammar.g:3651:3: () |
| // InternalEntityGrammar.g:3652:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getEntityFeaturePathSegmentAccess().getLNestedFeatureAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,67,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getEntityFeaturePathSegmentAccess().getFullStopKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:3662:3: ( (otherlv_2= RULE_ID ) ) |
| // InternalEntityGrammar.g:3663:4: (otherlv_2= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:3663:4: (otherlv_2= RULE_ID ) |
| // InternalEntityGrammar.g:3664:5: otherlv_2= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEntityFeaturePathSegmentRule()); |
| } |
| |
| } |
| otherlv_2=(Token)match(input,RULE_ID,FOLLOW_80); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getEntityFeaturePathSegmentAccess().getFeatureLFeatureCrossReference_2_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:3675:3: ( (lv_tail_3_0= ruleEntityFeaturePathSegment ) )? |
| int alt112=2; |
| int LA112_0 = input.LA(1); |
| |
| if ( (LA112_0==67) ) { |
| alt112=1; |
| } |
| switch (alt112) { |
| case 1 : |
| // InternalEntityGrammar.g:3676:4: (lv_tail_3_0= ruleEntityFeaturePathSegment ) |
| { |
| // InternalEntityGrammar.g:3676:4: (lv_tail_3_0= ruleEntityFeaturePathSegment ) |
| // InternalEntityGrammar.g:3677:5: lv_tail_3_0= ruleEntityFeaturePathSegment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityFeaturePathSegmentAccess().getTailEntityFeaturePathSegmentParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_tail_3_0=ruleEntityFeaturePathSegment(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEntityFeaturePathSegmentRule()); |
| } |
| set( |
| current, |
| "tail", |
| lv_tail_3_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.EntityFeaturePathSegment"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEntityFeaturePathSegment" |
| |
| |
| // $ANTLR start "entryRuleEntityInheritanceStrategy" |
| // InternalEntityGrammar.g:3698:1: entryRuleEntityInheritanceStrategy returns [EObject current=null] : iv_ruleEntityInheritanceStrategy= ruleEntityInheritanceStrategy EOF ; |
| public final EObject entryRuleEntityInheritanceStrategy() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEntityInheritanceStrategy = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:3698:66: (iv_ruleEntityInheritanceStrategy= ruleEntityInheritanceStrategy EOF ) |
| // InternalEntityGrammar.g:3699:2: iv_ruleEntityInheritanceStrategy= ruleEntityInheritanceStrategy EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEntityInheritanceStrategyRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleEntityInheritanceStrategy=ruleEntityInheritanceStrategy(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEntityInheritanceStrategy; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEntityInheritanceStrategy" |
| |
| |
| // $ANTLR start "ruleEntityInheritanceStrategy" |
| // InternalEntityGrammar.g:3705:1: ruleEntityInheritanceStrategy returns [EObject current=null] : (this_TablePerClassStrategy_0= ruleTablePerClassStrategy | this_TablePerSubclassStrategy_1= ruleTablePerSubclassStrategy ) ; |
| public final EObject ruleEntityInheritanceStrategy() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_TablePerClassStrategy_0 = null; |
| |
| EObject this_TablePerSubclassStrategy_1 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:3711:2: ( (this_TablePerClassStrategy_0= ruleTablePerClassStrategy | this_TablePerSubclassStrategy_1= ruleTablePerSubclassStrategy ) ) |
| // InternalEntityGrammar.g:3712:2: (this_TablePerClassStrategy_0= ruleTablePerClassStrategy | this_TablePerSubclassStrategy_1= ruleTablePerSubclassStrategy ) |
| { |
| // InternalEntityGrammar.g:3712:2: (this_TablePerClassStrategy_0= ruleTablePerClassStrategy | this_TablePerSubclassStrategy_1= ruleTablePerSubclassStrategy ) |
| int alt113=2; |
| int LA113_0 = input.LA(1); |
| |
| if ( (LA113_0==68) ) { |
| alt113=1; |
| } |
| else if ( (LA113_0==72) ) { |
| alt113=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 113, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt113) { |
| case 1 : |
| // InternalEntityGrammar.g:3713:3: this_TablePerClassStrategy_0= ruleTablePerClassStrategy |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityInheritanceStrategyAccess().getTablePerClassStrategyParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_TablePerClassStrategy_0=ruleTablePerClassStrategy(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_TablePerClassStrategy_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:3722:3: this_TablePerSubclassStrategy_1= ruleTablePerSubclassStrategy |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEntityInheritanceStrategyAccess().getTablePerSubclassStrategyParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_TablePerSubclassStrategy_1=ruleTablePerSubclassStrategy(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_TablePerSubclassStrategy_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEntityInheritanceStrategy" |
| |
| |
| // $ANTLR start "entryRuleTablePerClassStrategy" |
| // InternalEntityGrammar.g:3734:1: entryRuleTablePerClassStrategy returns [EObject current=null] : iv_ruleTablePerClassStrategy= ruleTablePerClassStrategy EOF ; |
| public final EObject entryRuleTablePerClassStrategy() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTablePerClassStrategy = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:3734:62: (iv_ruleTablePerClassStrategy= ruleTablePerClassStrategy EOF ) |
| // InternalEntityGrammar.g:3735:2: iv_ruleTablePerClassStrategy= ruleTablePerClassStrategy EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTablePerClassStrategyRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleTablePerClassStrategy=ruleTablePerClassStrategy(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTablePerClassStrategy; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTablePerClassStrategy" |
| |
| |
| // $ANTLR start "ruleTablePerClassStrategy" |
| // InternalEntityGrammar.g:3741:1: ruleTablePerClassStrategy returns [EObject current=null] : ( () otherlv_1= 'inheritancePerClass' otherlv_2= '{' (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? otherlv_9= '}' ) ; |
| public final EObject ruleTablePerClassStrategy() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_9=null; |
| AntlrDatatypeRuleToken lv_discriminatorColumn_4_0 = null; |
| |
| Enumerator lv_discriminatorType_6_0 = null; |
| |
| AntlrDatatypeRuleToken lv_discriminatorValue_8_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:3747:2: ( ( () otherlv_1= 'inheritancePerClass' otherlv_2= '{' (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? otherlv_9= '}' ) ) |
| // InternalEntityGrammar.g:3748:2: ( () otherlv_1= 'inheritancePerClass' otherlv_2= '{' (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? otherlv_9= '}' ) |
| { |
| // InternalEntityGrammar.g:3748:2: ( () otherlv_1= 'inheritancePerClass' otherlv_2= '{' (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? otherlv_9= '}' ) |
| // InternalEntityGrammar.g:3749:3: () otherlv_1= 'inheritancePerClass' otherlv_2= '{' (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? otherlv_9= '}' |
| { |
| // InternalEntityGrammar.g:3749:3: () |
| // InternalEntityGrammar.g:3750:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getTablePerClassStrategyAccess().getLTablePerClassStrategyAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,68,FOLLOW_14); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getTablePerClassStrategyAccess().getInheritancePerClassKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,21,FOLLOW_81); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getTablePerClassStrategyAccess().getLeftCurlyBracketKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:3764:3: (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? |
| int alt114=2; |
| int LA114_0 = input.LA(1); |
| |
| if ( (LA114_0==69) ) { |
| alt114=1; |
| } |
| switch (alt114) { |
| case 1 : |
| // InternalEntityGrammar.g:3765:4: otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) |
| { |
| otherlv_3=(Token)match(input,69,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorColumnKeyword_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:3769:4: ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:3770:5: (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:3770:5: (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:3771:6: lv_discriminatorColumn_4_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorColumnValidIDWithKeywordsParserRuleCall_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_82); |
| lv_discriminatorColumn_4_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTablePerClassStrategyRule()); |
| } |
| set( |
| current, |
| "discriminatorColumn", |
| lv_discriminatorColumn_4_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3789:3: (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? |
| int alt115=2; |
| int LA115_0 = input.LA(1); |
| |
| if ( (LA115_0==70) ) { |
| alt115=1; |
| } |
| switch (alt115) { |
| case 1 : |
| // InternalEntityGrammar.g:3790:4: otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) |
| { |
| otherlv_5=(Token)match(input,70,FOLLOW_83); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorTypeKeyword_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:3794:4: ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) |
| // InternalEntityGrammar.g:3795:5: (lv_discriminatorType_6_0= ruleDiscriminatorType ) |
| { |
| // InternalEntityGrammar.g:3795:5: (lv_discriminatorType_6_0= ruleDiscriminatorType ) |
| // InternalEntityGrammar.g:3796:6: lv_discriminatorType_6_0= ruleDiscriminatorType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorTypeDiscriminatorTypeEnumRuleCall_4_1_0()); |
| |
| } |
| pushFollow(FOLLOW_84); |
| lv_discriminatorType_6_0=ruleDiscriminatorType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTablePerClassStrategyRule()); |
| } |
| set( |
| current, |
| "discriminatorType", |
| lv_discriminatorType_6_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.DiscriminatorType"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3814:3: (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? |
| int alt116=2; |
| int LA116_0 = input.LA(1); |
| |
| if ( (LA116_0==71) ) { |
| alt116=1; |
| } |
| switch (alt116) { |
| case 1 : |
| // InternalEntityGrammar.g:3815:4: otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) |
| { |
| otherlv_7=(Token)match(input,71,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorValueKeyword_5_0()); |
| |
| } |
| // InternalEntityGrammar.g:3819:4: ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:3820:5: (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:3820:5: (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:3821:6: lv_discriminatorValue_8_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTablePerClassStrategyAccess().getDiscriminatorValueValidIDWithKeywordsParserRuleCall_5_1_0()); |
| |
| } |
| pushFollow(FOLLOW_85); |
| lv_discriminatorValue_8_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTablePerClassStrategyRule()); |
| } |
| set( |
| current, |
| "discriminatorValue", |
| lv_discriminatorValue_8_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_9=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getTablePerClassStrategyAccess().getRightCurlyBracketKeyword_6()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTablePerClassStrategy" |
| |
| |
| // $ANTLR start "entryRuleTablePerSubclassStrategy" |
| // InternalEntityGrammar.g:3847:1: entryRuleTablePerSubclassStrategy returns [EObject current=null] : iv_ruleTablePerSubclassStrategy= ruleTablePerSubclassStrategy EOF ; |
| public final EObject entryRuleTablePerSubclassStrategy() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTablePerSubclassStrategy = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:3847:65: (iv_ruleTablePerSubclassStrategy= ruleTablePerSubclassStrategy EOF ) |
| // InternalEntityGrammar.g:3848:2: iv_ruleTablePerSubclassStrategy= ruleTablePerSubclassStrategy EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTablePerSubclassStrategyRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleTablePerSubclassStrategy=ruleTablePerSubclassStrategy(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTablePerSubclassStrategy; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTablePerSubclassStrategy" |
| |
| |
| // $ANTLR start "ruleTablePerSubclassStrategy" |
| // InternalEntityGrammar.g:3854:1: ruleTablePerSubclassStrategy returns [EObject current=null] : ( () otherlv_1= 'inheritancePerSubclass' otherlv_2= '{' (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? otherlv_9= '}' ) ; |
| public final EObject ruleTablePerSubclassStrategy() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_9=null; |
| AntlrDatatypeRuleToken lv_discriminatorColumn_4_0 = null; |
| |
| Enumerator lv_discriminatorType_6_0 = null; |
| |
| AntlrDatatypeRuleToken lv_discriminatorValue_8_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:3860:2: ( ( () otherlv_1= 'inheritancePerSubclass' otherlv_2= '{' (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? otherlv_9= '}' ) ) |
| // InternalEntityGrammar.g:3861:2: ( () otherlv_1= 'inheritancePerSubclass' otherlv_2= '{' (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? otherlv_9= '}' ) |
| { |
| // InternalEntityGrammar.g:3861:2: ( () otherlv_1= 'inheritancePerSubclass' otherlv_2= '{' (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? otherlv_9= '}' ) |
| // InternalEntityGrammar.g:3862:3: () otherlv_1= 'inheritancePerSubclass' otherlv_2= '{' (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? otherlv_9= '}' |
| { |
| // InternalEntityGrammar.g:3862:3: () |
| // InternalEntityGrammar.g:3863:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getTablePerSubclassStrategyAccess().getLTablePerSubclassStrategyAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,72,FOLLOW_14); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getTablePerSubclassStrategyAccess().getInheritancePerSubclassKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,21,FOLLOW_81); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getTablePerSubclassStrategyAccess().getLeftCurlyBracketKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:3877:3: (otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) )? |
| int alt117=2; |
| int LA117_0 = input.LA(1); |
| |
| if ( (LA117_0==69) ) { |
| alt117=1; |
| } |
| switch (alt117) { |
| case 1 : |
| // InternalEntityGrammar.g:3878:4: otherlv_3= 'discriminatorColumn' ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) |
| { |
| otherlv_3=(Token)match(input,69,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorColumnKeyword_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:3882:4: ( (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:3883:5: (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:3883:5: (lv_discriminatorColumn_4_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:3884:6: lv_discriminatorColumn_4_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorColumnValidIDWithKeywordsParserRuleCall_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_82); |
| lv_discriminatorColumn_4_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTablePerSubclassStrategyRule()); |
| } |
| set( |
| current, |
| "discriminatorColumn", |
| lv_discriminatorColumn_4_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3902:3: (otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) )? |
| int alt118=2; |
| int LA118_0 = input.LA(1); |
| |
| if ( (LA118_0==70) ) { |
| alt118=1; |
| } |
| switch (alt118) { |
| case 1 : |
| // InternalEntityGrammar.g:3903:4: otherlv_5= 'discriminatorType' ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) |
| { |
| otherlv_5=(Token)match(input,70,FOLLOW_83); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorTypeKeyword_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:3907:4: ( (lv_discriminatorType_6_0= ruleDiscriminatorType ) ) |
| // InternalEntityGrammar.g:3908:5: (lv_discriminatorType_6_0= ruleDiscriminatorType ) |
| { |
| // InternalEntityGrammar.g:3908:5: (lv_discriminatorType_6_0= ruleDiscriminatorType ) |
| // InternalEntityGrammar.g:3909:6: lv_discriminatorType_6_0= ruleDiscriminatorType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorTypeDiscriminatorTypeEnumRuleCall_4_1_0()); |
| |
| } |
| pushFollow(FOLLOW_84); |
| lv_discriminatorType_6_0=ruleDiscriminatorType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTablePerSubclassStrategyRule()); |
| } |
| set( |
| current, |
| "discriminatorType", |
| lv_discriminatorType_6_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.DiscriminatorType"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:3927:3: (otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) )? |
| int alt119=2; |
| int LA119_0 = input.LA(1); |
| |
| if ( (LA119_0==71) ) { |
| alt119=1; |
| } |
| switch (alt119) { |
| case 1 : |
| // InternalEntityGrammar.g:3928:4: otherlv_7= 'discriminatorValue' ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) |
| { |
| otherlv_7=(Token)match(input,71,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorValueKeyword_5_0()); |
| |
| } |
| // InternalEntityGrammar.g:3932:4: ( (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:3933:5: (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:3933:5: (lv_discriminatorValue_8_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:3934:6: lv_discriminatorValue_8_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTablePerSubclassStrategyAccess().getDiscriminatorValueValidIDWithKeywordsParserRuleCall_5_1_0()); |
| |
| } |
| pushFollow(FOLLOW_85); |
| lv_discriminatorValue_8_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTablePerSubclassStrategyRule()); |
| } |
| set( |
| current, |
| "discriminatorValue", |
| lv_discriminatorValue_8_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_9=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getTablePerSubclassStrategyAccess().getRightCurlyBracketKeyword_6()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTablePerSubclassStrategy" |
| |
| |
| // $ANTLR start "entryRuleTRANSLATABLEID" |
| // InternalEntityGrammar.g:3960:1: entryRuleTRANSLATABLEID returns [String current=null] : iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF ; |
| public final String entryRuleTRANSLATABLEID() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleTRANSLATABLEID = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:3960:54: (iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF ) |
| // InternalEntityGrammar.g:3961:2: iv_ruleTRANSLATABLEID= ruleTRANSLATABLEID EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTRANSLATABLEIDRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleTRANSLATABLEID=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTRANSLATABLEID.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTRANSLATABLEID" |
| |
| |
| // $ANTLR start "ruleTRANSLATABLEID" |
| // InternalEntityGrammar.g:3967:1: ruleTRANSLATABLEID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ValidIDWithKeywords_0= ruleValidIDWithKeywords ; |
| public final AntlrDatatypeRuleToken ruleTRANSLATABLEID() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| AntlrDatatypeRuleToken this_ValidIDWithKeywords_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:3973:2: (this_ValidIDWithKeywords_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:3974:2: this_ValidIDWithKeywords_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTRANSLATABLEIDAccess().getValidIDWithKeywordsParserRuleCall()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_ValidIDWithKeywords_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ValidIDWithKeywords_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTRANSLATABLEID" |
| |
| |
| // $ANTLR start "entryRuleTypedPackage" |
| // InternalEntityGrammar.g:3987:1: entryRuleTypedPackage returns [EObject current=null] : iv_ruleTypedPackage= ruleTypedPackage EOF ; |
| public final EObject entryRuleTypedPackage() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTypedPackage = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:3987:53: (iv_ruleTypedPackage= ruleTypedPackage EOF ) |
| // InternalEntityGrammar.g:3988:2: iv_ruleTypedPackage= ruleTypedPackage EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTypedPackageRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleTypedPackage=ruleTypedPackage(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTypedPackage; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTypedPackage" |
| |
| |
| // $ANTLR start "ruleTypedPackage" |
| // InternalEntityGrammar.g:3994:1: ruleTypedPackage returns [EObject current=null] : ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_types_4_0= ruleType ) )* otherlv_5= '}' )? ) ; |
| public final EObject ruleTypedPackage() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| AntlrDatatypeRuleToken lv_name_2_0 = null; |
| |
| EObject lv_types_4_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:4000:2: ( ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_types_4_0= ruleType ) )* otherlv_5= '}' )? ) ) |
| // InternalEntityGrammar.g:4001:2: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_types_4_0= ruleType ) )* otherlv_5= '}' )? ) |
| { |
| // InternalEntityGrammar.g:4001:2: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_types_4_0= ruleType ) )* otherlv_5= '}' )? ) |
| // InternalEntityGrammar.g:4002:3: () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_types_4_0= ruleType ) )* otherlv_5= '}' )? |
| { |
| // InternalEntityGrammar.g:4002:3: () |
| // InternalEntityGrammar.g:4003:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getTypedPackageAccess().getLTypedPackageAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,73,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getTypedPackageAccess().getPackageKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:4013:3: ( (lv_name_2_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:4014:4: (lv_name_2_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:4014:4: (lv_name_2_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:4015:5: lv_name_2_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypedPackageAccess().getNameQualifiedNameParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_86); |
| lv_name_2_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTypedPackageRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_2_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:4032:3: (otherlv_3= '{' ( (lv_types_4_0= ruleType ) )* otherlv_5= '}' )? |
| int alt121=2; |
| int LA121_0 = input.LA(1); |
| |
| if ( (LA121_0==21) ) { |
| alt121=1; |
| } |
| switch (alt121) { |
| case 1 : |
| // InternalEntityGrammar.g:4033:4: otherlv_3= '{' ( (lv_types_4_0= ruleType ) )* otherlv_5= '}' |
| { |
| otherlv_3=(Token)match(input,21,FOLLOW_87); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getTypedPackageAccess().getLeftCurlyBracketKeyword_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:4037:4: ( (lv_types_4_0= ruleType ) )* |
| loop120: |
| do { |
| int alt120=2; |
| int LA120_0 = input.LA(1); |
| |
| if ( ((LA120_0>=13 && LA120_0<=15)||(LA120_0>=18 && LA120_0<=19)||LA120_0==23||(LA120_0>=25 && LA120_0<=26)||LA120_0==74||LA120_0==95||LA120_0==118) ) { |
| alt120=1; |
| } |
| |
| |
| switch (alt120) { |
| case 1 : |
| // InternalEntityGrammar.g:4038:5: (lv_types_4_0= ruleType ) |
| { |
| // InternalEntityGrammar.g:4038:5: (lv_types_4_0= ruleType ) |
| // InternalEntityGrammar.g:4039:6: lv_types_4_0= ruleType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypedPackageAccess().getTypesTypeParserRuleCall_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_87); |
| lv_types_4_0=ruleType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTypedPackageRule()); |
| } |
| add( |
| current, |
| "types", |
| lv_types_4_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.Type"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop120; |
| } |
| } while (true); |
| |
| otherlv_5=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getTypedPackageAccess().getRightCurlyBracketKeyword_3_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTypedPackage" |
| |
| |
| // $ANTLR start "entryRuleType" |
| // InternalEntityGrammar.g:4065:1: entryRuleType returns [EObject current=null] : iv_ruleType= ruleType EOF ; |
| public final EObject entryRuleType() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleType = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:4065:45: (iv_ruleType= ruleType EOF ) |
| // InternalEntityGrammar.g:4066:2: iv_ruleType= ruleType EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTypeRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleType=ruleType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleType; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleType" |
| |
| |
| // $ANTLR start "ruleType" |
| // InternalEntityGrammar.g:4072:1: ruleType returns [EObject current=null] : (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass | this_StateClass_2= ruleStateClass ) ; |
| public final EObject ruleType() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_ScalarType_0 = null; |
| |
| EObject this_Class_1 = null; |
| |
| EObject this_StateClass_2 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:4078:2: ( (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass | this_StateClass_2= ruleStateClass ) ) |
| // InternalEntityGrammar.g:4079:2: (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass | this_StateClass_2= ruleStateClass ) |
| { |
| // InternalEntityGrammar.g:4079:2: (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass | this_StateClass_2= ruleStateClass ) |
| int alt122=3; |
| switch ( input.LA(1) ) { |
| case 74: |
| case 95: |
| { |
| alt122=1; |
| } |
| break; |
| case 13: |
| case 14: |
| case 15: |
| case 18: |
| case 19: |
| case 25: |
| case 26: |
| case 118: |
| { |
| alt122=2; |
| } |
| break; |
| case 23: |
| { |
| alt122=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 122, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt122) { |
| case 1 : |
| // InternalEntityGrammar.g:4080:3: this_ScalarType_0= ruleScalarType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeAccess().getScalarTypeParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_ScalarType_0=ruleScalarType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_ScalarType_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:4089:3: this_Class_1= ruleClass |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeAccess().getClassParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_Class_1=ruleClass(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_Class_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:4098:3: this_StateClass_2= ruleStateClass |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeAccess().getStateClassParserRuleCall_2()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_StateClass_2=ruleStateClass(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_StateClass_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleType" |
| |
| |
| // $ANTLR start "entryRuleDataType" |
| // InternalEntityGrammar.g:4110:1: entryRuleDataType returns [EObject current=null] : iv_ruleDataType= ruleDataType EOF ; |
| public final EObject entryRuleDataType() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataType = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:4110:49: (iv_ruleDataType= ruleDataType EOF ) |
| // InternalEntityGrammar.g:4111:2: iv_ruleDataType= ruleDataType EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataTypeRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDataType=ruleDataType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataType; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataType" |
| |
| |
| // $ANTLR start "ruleDataType" |
| // InternalEntityGrammar.g:4117:1: ruleDataType returns [EObject current=null] : (otherlv_0= 'datatype' ( (lv_name_1_0= ruleValidIDWithKeywords ) ) ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'asPrimitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? ) | ( ( (lv_date_12_0= 'dateType' ) ) ( (lv_dateType_13_0= ruleDateType ) ) ( (lv_constraints_14_0= ruleDateConstraint ) )* (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? ) | ( ( (lv_asBlob_21_0= 'asBlob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? ) ) ) ; |
| public final EObject ruleDataType() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token lv_asPrimitive_4_0=null; |
| Token otherlv_6=null; |
| Token otherlv_7=null; |
| Token otherlv_9=null; |
| Token otherlv_11=null; |
| Token lv_date_12_0=null; |
| Token otherlv_15=null; |
| Token otherlv_16=null; |
| Token otherlv_18=null; |
| Token otherlv_20=null; |
| Token lv_asBlob_21_0=null; |
| Token otherlv_23=null; |
| Token otherlv_24=null; |
| Token otherlv_26=null; |
| Token otherlv_28=null; |
| AntlrDatatypeRuleToken lv_name_1_0 = null; |
| |
| EObject lv_jvmTypeReference_3_0 = null; |
| |
| EObject lv_constraints_5_0 = null; |
| |
| EObject lv_properties_8_0 = null; |
| |
| EObject lv_properties_10_0 = null; |
| |
| Enumerator lv_dateType_13_0 = null; |
| |
| EObject lv_constraints_14_0 = null; |
| |
| EObject lv_properties_17_0 = null; |
| |
| EObject lv_properties_19_0 = null; |
| |
| EObject lv_constraints_22_0 = null; |
| |
| EObject lv_properties_25_0 = null; |
| |
| EObject lv_properties_27_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:4123:2: ( (otherlv_0= 'datatype' ( (lv_name_1_0= ruleValidIDWithKeywords ) ) ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'asPrimitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? ) | ( ( (lv_date_12_0= 'dateType' ) ) ( (lv_dateType_13_0= ruleDateType ) ) ( (lv_constraints_14_0= ruleDateConstraint ) )* (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? ) | ( ( (lv_asBlob_21_0= 'asBlob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? ) ) ) ) |
| // InternalEntityGrammar.g:4124:2: (otherlv_0= 'datatype' ( (lv_name_1_0= ruleValidIDWithKeywords ) ) ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'asPrimitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? ) | ( ( (lv_date_12_0= 'dateType' ) ) ( (lv_dateType_13_0= ruleDateType ) ) ( (lv_constraints_14_0= ruleDateConstraint ) )* (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? ) | ( ( (lv_asBlob_21_0= 'asBlob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? ) ) ) |
| { |
| // InternalEntityGrammar.g:4124:2: (otherlv_0= 'datatype' ( (lv_name_1_0= ruleValidIDWithKeywords ) ) ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'asPrimitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? ) | ( ( (lv_date_12_0= 'dateType' ) ) ( (lv_dateType_13_0= ruleDateType ) ) ( (lv_constraints_14_0= ruleDateConstraint ) )* (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? ) | ( ( (lv_asBlob_21_0= 'asBlob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? ) ) ) |
| // InternalEntityGrammar.g:4125:3: otherlv_0= 'datatype' ( (lv_name_1_0= ruleValidIDWithKeywords ) ) ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'asPrimitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? ) | ( ( (lv_date_12_0= 'dateType' ) ) ( (lv_dateType_13_0= ruleDateType ) ) ( (lv_constraints_14_0= ruleDateConstraint ) )* (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? ) | ( ( (lv_asBlob_21_0= 'asBlob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? ) ) |
| { |
| otherlv_0=(Token)match(input,74,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getDataTypeAccess().getDatatypeKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:4129:3: ( (lv_name_1_0= ruleValidIDWithKeywords ) ) |
| // InternalEntityGrammar.g:4130:4: (lv_name_1_0= ruleValidIDWithKeywords ) |
| { |
| // InternalEntityGrammar.g:4130:4: (lv_name_1_0= ruleValidIDWithKeywords ) |
| // InternalEntityGrammar.g:4131:5: lv_name_1_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getNameValidIDWithKeywordsParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_88); |
| lv_name_1_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_1_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:4148:3: ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'asPrimitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? ) | ( ( (lv_date_12_0= 'dateType' ) ) ( (lv_dateType_13_0= ruleDateType ) ) ( (lv_constraints_14_0= ruleDateConstraint ) )* (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? ) | ( ( (lv_asBlob_21_0= 'asBlob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? ) ) |
| int alt133=3; |
| switch ( input.LA(1) ) { |
| case 75: |
| { |
| alt133=1; |
| } |
| break; |
| case 77: |
| { |
| alt133=2; |
| } |
| break; |
| case 78: |
| { |
| alt133=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 133, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt133) { |
| case 1 : |
| // InternalEntityGrammar.g:4149:4: (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'asPrimitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? ) |
| { |
| // InternalEntityGrammar.g:4149:4: (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'asPrimitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? ) |
| // InternalEntityGrammar.g:4150:5: otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'asPrimitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? |
| { |
| otherlv_2=(Token)match(input,75,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDataTypeAccess().getJvmTypeKeyword_2_0_0()); |
| |
| } |
| // InternalEntityGrammar.g:4154:5: ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:4155:6: (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:4155:6: (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:4156:7: lv_jvmTypeReference_3_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getJvmTypeReferenceJvmTypeReferenceParserRuleCall_2_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_89); |
| lv_jvmTypeReference_3_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| set( |
| current, |
| "jvmTypeReference", |
| lv_jvmTypeReference_3_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:4173:5: ( (lv_asPrimitive_4_0= 'asPrimitive' ) )? |
| int alt123=2; |
| int LA123_0 = input.LA(1); |
| |
| if ( (LA123_0==76) ) { |
| alt123=1; |
| } |
| switch (alt123) { |
| case 1 : |
| // InternalEntityGrammar.g:4174:6: (lv_asPrimitive_4_0= 'asPrimitive' ) |
| { |
| // InternalEntityGrammar.g:4174:6: (lv_asPrimitive_4_0= 'asPrimitive' ) |
| // InternalEntityGrammar.g:4175:7: lv_asPrimitive_4_0= 'asPrimitive' |
| { |
| lv_asPrimitive_4_0=(Token)match(input,76,FOLLOW_90); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_asPrimitive_4_0, grammarAccess.getDataTypeAccess().getAsPrimitiveAsPrimitiveKeyword_2_0_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataTypeRule()); |
| } |
| setWithLastConsumed(current, "asPrimitive", true, "asPrimitive"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:4187:5: ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* |
| loop124: |
| do { |
| int alt124=2; |
| int LA124_0 = input.LA(1); |
| |
| if ( (LA124_0==79||(LA124_0>=83 && LA124_0<=86)||(LA124_0>=89 && LA124_0<=94)) ) { |
| alt124=1; |
| } |
| |
| |
| switch (alt124) { |
| case 1 : |
| // InternalEntityGrammar.g:4188:6: (lv_constraints_5_0= ruleDataTypeConstraint ) |
| { |
| // InternalEntityGrammar.g:4188:6: (lv_constraints_5_0= ruleDataTypeConstraint ) |
| // InternalEntityGrammar.g:4189:7: lv_constraints_5_0= ruleDataTypeConstraint |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsDataTypeConstraintParserRuleCall_2_0_3_0()); |
| |
| } |
| pushFollow(FOLLOW_90); |
| lv_constraints_5_0=ruleDataTypeConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_5_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.DataTypeConstraint"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop124; |
| } |
| } while (true); |
| |
| // InternalEntityGrammar.g:4206:5: (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? |
| int alt126=2; |
| int LA126_0 = input.LA(1); |
| |
| if ( (LA126_0==47) ) { |
| alt126=1; |
| } |
| switch (alt126) { |
| case 1 : |
| // InternalEntityGrammar.g:4207:6: otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' |
| { |
| otherlv_6=(Token)match(input,47,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDataTypeAccess().getPropertiesKeyword_2_0_4_0()); |
| |
| } |
| otherlv_7=(Token)match(input,16,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_0_4_1()); |
| |
| } |
| // InternalEntityGrammar.g:4215:6: ( (lv_properties_8_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:4216:7: (lv_properties_8_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:4216:7: (lv_properties_8_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:4217:8: lv_properties_8_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_0_4_2_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_8_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_8_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:4234:6: (otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* |
| loop125: |
| do { |
| int alt125=2; |
| int LA125_0 = input.LA(1); |
| |
| if ( (LA125_0==30) ) { |
| alt125=1; |
| } |
| |
| |
| switch (alt125) { |
| case 1 : |
| // InternalEntityGrammar.g:4235:7: otherlv_9= ',' ( (lv_properties_10_0= ruleKeyAndValue ) ) |
| { |
| otherlv_9=(Token)match(input,30,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDataTypeAccess().getCommaKeyword_2_0_4_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:4239:7: ( (lv_properties_10_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:4240:8: (lv_properties_10_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:4240:8: (lv_properties_10_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:4241:9: lv_properties_10_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_0_4_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_10_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_10_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop125; |
| } |
| } while (true); |
| |
| otherlv_11=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDataTypeAccess().getRightParenthesisKeyword_2_0_4_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:4266:4: ( ( (lv_date_12_0= 'dateType' ) ) ( (lv_dateType_13_0= ruleDateType ) ) ( (lv_constraints_14_0= ruleDateConstraint ) )* (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? ) |
| { |
| // InternalEntityGrammar.g:4266:4: ( ( (lv_date_12_0= 'dateType' ) ) ( (lv_dateType_13_0= ruleDateType ) ) ( (lv_constraints_14_0= ruleDateConstraint ) )* (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? ) |
| // InternalEntityGrammar.g:4267:5: ( (lv_date_12_0= 'dateType' ) ) ( (lv_dateType_13_0= ruleDateType ) ) ( (lv_constraints_14_0= ruleDateConstraint ) )* (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? |
| { |
| // InternalEntityGrammar.g:4267:5: ( (lv_date_12_0= 'dateType' ) ) |
| // InternalEntityGrammar.g:4268:6: (lv_date_12_0= 'dateType' ) |
| { |
| // InternalEntityGrammar.g:4268:6: (lv_date_12_0= 'dateType' ) |
| // InternalEntityGrammar.g:4269:7: lv_date_12_0= 'dateType' |
| { |
| lv_date_12_0=(Token)match(input,77,FOLLOW_91); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_date_12_0, grammarAccess.getDataTypeAccess().getDateDateTypeKeyword_2_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataTypeRule()); |
| } |
| setWithLastConsumed(current, "date", true, "dateType"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:4281:5: ( (lv_dateType_13_0= ruleDateType ) ) |
| // InternalEntityGrammar.g:4282:6: (lv_dateType_13_0= ruleDateType ) |
| { |
| // InternalEntityGrammar.g:4282:6: (lv_dateType_13_0= ruleDateType ) |
| // InternalEntityGrammar.g:4283:7: lv_dateType_13_0= ruleDateType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getDateTypeDateTypeEnumRuleCall_2_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_92); |
| lv_dateType_13_0=ruleDateType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| set( |
| current, |
| "dateType", |
| lv_dateType_13_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.DateType"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:4300:5: ( (lv_constraints_14_0= ruleDateConstraint ) )* |
| loop127: |
| do { |
| int alt127=2; |
| int LA127_0 = input.LA(1); |
| |
| if ( ((LA127_0>=87 && LA127_0<=88)||(LA127_0>=91 && LA127_0<=92)) ) { |
| alt127=1; |
| } |
| |
| |
| switch (alt127) { |
| case 1 : |
| // InternalEntityGrammar.g:4301:6: (lv_constraints_14_0= ruleDateConstraint ) |
| { |
| // InternalEntityGrammar.g:4301:6: (lv_constraints_14_0= ruleDateConstraint ) |
| // InternalEntityGrammar.g:4302:7: lv_constraints_14_0= ruleDateConstraint |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsDateConstraintParserRuleCall_2_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_92); |
| lv_constraints_14_0=ruleDateConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_14_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.DateConstraint"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop127; |
| } |
| } while (true); |
| |
| // InternalEntityGrammar.g:4319:5: (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? |
| int alt129=2; |
| int LA129_0 = input.LA(1); |
| |
| if ( (LA129_0==47) ) { |
| alt129=1; |
| } |
| switch (alt129) { |
| case 1 : |
| // InternalEntityGrammar.g:4320:6: otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' |
| { |
| otherlv_15=(Token)match(input,47,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDataTypeAccess().getPropertiesKeyword_2_1_3_0()); |
| |
| } |
| otherlv_16=(Token)match(input,16,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_1_3_1()); |
| |
| } |
| // InternalEntityGrammar.g:4328:6: ( (lv_properties_17_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:4329:7: (lv_properties_17_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:4329:7: (lv_properties_17_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:4330:8: lv_properties_17_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_1_3_2_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_17_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_17_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:4347:6: (otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* |
| loop128: |
| do { |
| int alt128=2; |
| int LA128_0 = input.LA(1); |
| |
| if ( (LA128_0==30) ) { |
| alt128=1; |
| } |
| |
| |
| switch (alt128) { |
| case 1 : |
| // InternalEntityGrammar.g:4348:7: otherlv_18= ',' ( (lv_properties_19_0= ruleKeyAndValue ) ) |
| { |
| otherlv_18=(Token)match(input,30,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_18, grammarAccess.getDataTypeAccess().getCommaKeyword_2_1_3_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:4352:7: ( (lv_properties_19_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:4353:8: (lv_properties_19_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:4353:8: (lv_properties_19_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:4354:9: lv_properties_19_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_1_3_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_19_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_19_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop128; |
| } |
| } while (true); |
| |
| otherlv_20=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_20, grammarAccess.getDataTypeAccess().getRightParenthesisKeyword_2_1_3_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:4379:4: ( ( (lv_asBlob_21_0= 'asBlob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? ) |
| { |
| // InternalEntityGrammar.g:4379:4: ( ( (lv_asBlob_21_0= 'asBlob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? ) |
| // InternalEntityGrammar.g:4380:5: ( (lv_asBlob_21_0= 'asBlob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? |
| { |
| // InternalEntityGrammar.g:4380:5: ( (lv_asBlob_21_0= 'asBlob' ) ) |
| // InternalEntityGrammar.g:4381:6: (lv_asBlob_21_0= 'asBlob' ) |
| { |
| // InternalEntityGrammar.g:4381:6: (lv_asBlob_21_0= 'asBlob' ) |
| // InternalEntityGrammar.g:4382:7: lv_asBlob_21_0= 'asBlob' |
| { |
| lv_asBlob_21_0=(Token)match(input,78,FOLLOW_93); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_asBlob_21_0, grammarAccess.getDataTypeAccess().getAsBlobAsBlobKeyword_2_2_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDataTypeRule()); |
| } |
| setWithLastConsumed(current, "asBlob", true, "asBlob"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:4394:5: ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* |
| loop130: |
| do { |
| int alt130=2; |
| int LA130_0 = input.LA(1); |
| |
| if ( ((LA130_0>=91 && LA130_0<=92)) ) { |
| alt130=1; |
| } |
| |
| |
| switch (alt130) { |
| case 1 : |
| // InternalEntityGrammar.g:4395:6: (lv_constraints_22_0= ruleBlobTypeConstraint ) |
| { |
| // InternalEntityGrammar.g:4395:6: (lv_constraints_22_0= ruleBlobTypeConstraint ) |
| // InternalEntityGrammar.g:4396:7: lv_constraints_22_0= ruleBlobTypeConstraint |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsBlobTypeConstraintParserRuleCall_2_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_93); |
| lv_constraints_22_0=ruleBlobTypeConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_22_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.BlobTypeConstraint"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop130; |
| } |
| } while (true); |
| |
| // InternalEntityGrammar.g:4413:5: (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? |
| int alt132=2; |
| int LA132_0 = input.LA(1); |
| |
| if ( (LA132_0==47) ) { |
| alt132=1; |
| } |
| switch (alt132) { |
| case 1 : |
| // InternalEntityGrammar.g:4414:6: otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' |
| { |
| otherlv_23=(Token)match(input,47,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_23, grammarAccess.getDataTypeAccess().getPropertiesKeyword_2_2_2_0()); |
| |
| } |
| otherlv_24=(Token)match(input,16,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_24, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_2_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:4422:6: ( (lv_properties_25_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:4423:7: (lv_properties_25_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:4423:7: (lv_properties_25_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:4424:8: lv_properties_25_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_2_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_25_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_25_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:4441:6: (otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* |
| loop131: |
| do { |
| int alt131=2; |
| int LA131_0 = input.LA(1); |
| |
| if ( (LA131_0==30) ) { |
| alt131=1; |
| } |
| |
| |
| switch (alt131) { |
| case 1 : |
| // InternalEntityGrammar.g:4442:7: otherlv_26= ',' ( (lv_properties_27_0= ruleKeyAndValue ) ) |
| { |
| otherlv_26=(Token)match(input,30,FOLLOW_48); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_26, grammarAccess.getDataTypeAccess().getCommaKeyword_2_2_2_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:4446:7: ( (lv_properties_27_0= ruleKeyAndValue ) ) |
| // InternalEntityGrammar.g:4447:8: (lv_properties_27_0= ruleKeyAndValue ) |
| { |
| // InternalEntityGrammar.g:4447:8: (lv_properties_27_0= ruleKeyAndValue ) |
| // InternalEntityGrammar.g:4448:9: lv_properties_27_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_2_2_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_properties_27_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDataTypeRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_27_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop131; |
| } |
| } while (true); |
| |
| otherlv_28=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_28, grammarAccess.getDataTypeAccess().getRightParenthesisKeyword_2_2_2_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataType" |
| |
| |
| // $ANTLR start "entryRuleAllConstraints" |
| // InternalEntityGrammar.g:4477:1: entryRuleAllConstraints returns [EObject current=null] : iv_ruleAllConstraints= ruleAllConstraints EOF ; |
| public final EObject entryRuleAllConstraints() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAllConstraints = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:4477:55: (iv_ruleAllConstraints= ruleAllConstraints EOF ) |
| // InternalEntityGrammar.g:4478:2: iv_ruleAllConstraints= ruleAllConstraints EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getAllConstraintsRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleAllConstraints=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleAllConstraints; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleAllConstraints" |
| |
| |
| // $ANTLR start "ruleAllConstraints" |
| // InternalEntityGrammar.g:4484:1: ruleAllConstraints returns [EObject current=null] : (this_DtCAssertFalse_0= ruleDtCAssertFalse | this_DtCAssertTrue_1= ruleDtCAssertTrue | this_DtCDecimalMax_2= ruleDtCDecimalMax | this_DtCDecimalMin_3= ruleDtCDecimalMin | this_DtCDigits_4= ruleDtCDigits | this_DtCNumericMax_5= ruleDtCNumericMax | this_DtCNumericMin_6= ruleDtCNumericMin | this_DtCNotNull_7= ruleDtCNotNull | this_DtCNull_8= ruleDtCNull | this_DtCRegEx_9= ruleDtCRegEx | this_DtCSize_10= ruleDtCSize | this_DtCFuture_11= ruleDtCFuture | this_DtCPast_12= ruleDtCPast ) ; |
| public final EObject ruleAllConstraints() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_DtCAssertFalse_0 = null; |
| |
| EObject this_DtCAssertTrue_1 = null; |
| |
| EObject this_DtCDecimalMax_2 = null; |
| |
| EObject this_DtCDecimalMin_3 = null; |
| |
| EObject this_DtCDigits_4 = null; |
| |
| EObject this_DtCNumericMax_5 = null; |
| |
| EObject this_DtCNumericMin_6 = null; |
| |
| EObject this_DtCNotNull_7 = null; |
| |
| EObject this_DtCNull_8 = null; |
| |
| EObject this_DtCRegEx_9 = null; |
| |
| EObject this_DtCSize_10 = null; |
| |
| EObject this_DtCFuture_11 = null; |
| |
| EObject this_DtCPast_12 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:4490:2: ( (this_DtCAssertFalse_0= ruleDtCAssertFalse | this_DtCAssertTrue_1= ruleDtCAssertTrue | this_DtCDecimalMax_2= ruleDtCDecimalMax | this_DtCDecimalMin_3= ruleDtCDecimalMin | this_DtCDigits_4= ruleDtCDigits | this_DtCNumericMax_5= ruleDtCNumericMax | this_DtCNumericMin_6= ruleDtCNumericMin | this_DtCNotNull_7= ruleDtCNotNull | this_DtCNull_8= ruleDtCNull | this_DtCRegEx_9= ruleDtCRegEx | this_DtCSize_10= ruleDtCSize | this_DtCFuture_11= ruleDtCFuture | this_DtCPast_12= ruleDtCPast ) ) |
| // InternalEntityGrammar.g:4491:2: (this_DtCAssertFalse_0= ruleDtCAssertFalse | this_DtCAssertTrue_1= ruleDtCAssertTrue | this_DtCDecimalMax_2= ruleDtCDecimalMax | this_DtCDecimalMin_3= ruleDtCDecimalMin | this_DtCDigits_4= ruleDtCDigits | this_DtCNumericMax_5= ruleDtCNumericMax | this_DtCNumericMin_6= ruleDtCNumericMin | this_DtCNotNull_7= ruleDtCNotNull | this_DtCNull_8= ruleDtCNull | this_DtCRegEx_9= ruleDtCRegEx | this_DtCSize_10= ruleDtCSize | this_DtCFuture_11= ruleDtCFuture | this_DtCPast_12= ruleDtCPast ) |
| { |
| // InternalEntityGrammar.g:4491:2: (this_DtCAssertFalse_0= ruleDtCAssertFalse | this_DtCAssertTrue_1= ruleDtCAssertTrue | this_DtCDecimalMax_2= ruleDtCDecimalMax | this_DtCDecimalMin_3= ruleDtCDecimalMin | this_DtCDigits_4= ruleDtCDigits | this_DtCNumericMax_5= ruleDtCNumericMax | this_DtCNumericMin_6= ruleDtCNumericMin | this_DtCNotNull_7= ruleDtCNotNull | this_DtCNull_8= ruleDtCNull | this_DtCRegEx_9= ruleDtCRegEx | this_DtCSize_10= ruleDtCSize | this_DtCFuture_11= ruleDtCFuture | this_DtCPast_12= ruleDtCPast ) |
| int alt134=13; |
| switch ( input.LA(1) ) { |
| case 79: |
| { |
| alt134=1; |
| } |
| break; |
| case 83: |
| { |
| alt134=2; |
| } |
| break; |
| case 84: |
| { |
| alt134=3; |
| } |
| break; |
| case 85: |
| { |
| alt134=4; |
| } |
| break; |
| case 86: |
| { |
| alt134=5; |
| } |
| break; |
| case 89: |
| { |
| alt134=6; |
| } |
| break; |
| case 90: |
| { |
| alt134=7; |
| } |
| break; |
| case 91: |
| { |
| alt134=8; |
| } |
| break; |
| case 92: |
| { |
| alt134=9; |
| } |
| break; |
| case 93: |
| { |
| alt134=10; |
| } |
| break; |
| case 94: |
| { |
| alt134=11; |
| } |
| break; |
| case 87: |
| { |
| alt134=12; |
| } |
| break; |
| case 88: |
| { |
| alt134=13; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 134, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt134) { |
| case 1 : |
| // InternalEntityGrammar.g:4492:3: this_DtCAssertFalse_0= ruleDtCAssertFalse |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCAssertFalseParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCAssertFalse_0=ruleDtCAssertFalse(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCAssertFalse_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:4501:3: this_DtCAssertTrue_1= ruleDtCAssertTrue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCAssertTrueParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCAssertTrue_1=ruleDtCAssertTrue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCAssertTrue_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:4510:3: this_DtCDecimalMax_2= ruleDtCDecimalMax |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCDecimalMaxParserRuleCall_2()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCDecimalMax_2=ruleDtCDecimalMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDecimalMax_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:4519:3: this_DtCDecimalMin_3= ruleDtCDecimalMin |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCDecimalMinParserRuleCall_3()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCDecimalMin_3=ruleDtCDecimalMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDecimalMin_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:4528:3: this_DtCDigits_4= ruleDtCDigits |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCDigitsParserRuleCall_4()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCDigits_4=ruleDtCDigits(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDigits_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // InternalEntityGrammar.g:4537:3: this_DtCNumericMax_5= ruleDtCNumericMax |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNumericMaxParserRuleCall_5()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNumericMax_5=ruleDtCNumericMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNumericMax_5; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // InternalEntityGrammar.g:4546:3: this_DtCNumericMin_6= ruleDtCNumericMin |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNumericMinParserRuleCall_6()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNumericMin_6=ruleDtCNumericMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNumericMin_6; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 8 : |
| // InternalEntityGrammar.g:4555:3: this_DtCNotNull_7= ruleDtCNotNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNotNullParserRuleCall_7()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNotNull_7=ruleDtCNotNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNotNull_7; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 9 : |
| // InternalEntityGrammar.g:4564:3: this_DtCNull_8= ruleDtCNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNullParserRuleCall_8()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNull_8=ruleDtCNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNull_8; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 10 : |
| // InternalEntityGrammar.g:4573:3: this_DtCRegEx_9= ruleDtCRegEx |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCRegExParserRuleCall_9()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCRegEx_9=ruleDtCRegEx(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCRegEx_9; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 11 : |
| // InternalEntityGrammar.g:4582:3: this_DtCSize_10= ruleDtCSize |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCSizeParserRuleCall_10()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCSize_10=ruleDtCSize(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCSize_10; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 12 : |
| // InternalEntityGrammar.g:4591:3: this_DtCFuture_11= ruleDtCFuture |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCFutureParserRuleCall_11()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCFuture_11=ruleDtCFuture(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCFuture_11; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 13 : |
| // InternalEntityGrammar.g:4600:3: this_DtCPast_12= ruleDtCPast |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCPastParserRuleCall_12()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCPast_12=ruleDtCPast(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCPast_12; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleAllConstraints" |
| |
| |
| // $ANTLR start "entryRuleDataTypeConstraint" |
| // InternalEntityGrammar.g:4612:1: entryRuleDataTypeConstraint returns [EObject current=null] : iv_ruleDataTypeConstraint= ruleDataTypeConstraint EOF ; |
| public final EObject entryRuleDataTypeConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataTypeConstraint = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:4612:59: (iv_ruleDataTypeConstraint= ruleDataTypeConstraint EOF ) |
| // InternalEntityGrammar.g:4613:2: iv_ruleDataTypeConstraint= ruleDataTypeConstraint EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataTypeConstraintRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDataTypeConstraint=ruleDataTypeConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataTypeConstraint; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataTypeConstraint" |
| |
| |
| // $ANTLR start "ruleDataTypeConstraint" |
| // InternalEntityGrammar.g:4619:1: ruleDataTypeConstraint returns [EObject current=null] : (this_DtCAssertFalse_0= ruleDtCAssertFalse | this_DtCAssertTrue_1= ruleDtCAssertTrue | this_DtCDecimalMax_2= ruleDtCDecimalMax | this_DtCDecimalMin_3= ruleDtCDecimalMin | this_DtCDigits_4= ruleDtCDigits | this_DtCNumericMax_5= ruleDtCNumericMax | this_DtCNumericMin_6= ruleDtCNumericMin | this_DtCNotNull_7= ruleDtCNotNull | this_DtCNull_8= ruleDtCNull | this_DtCRegEx_9= ruleDtCRegEx | this_DtCSize_10= ruleDtCSize ) ; |
| public final EObject ruleDataTypeConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_DtCAssertFalse_0 = null; |
| |
| EObject this_DtCAssertTrue_1 = null; |
| |
| EObject this_DtCDecimalMax_2 = null; |
| |
| EObject this_DtCDecimalMin_3 = null; |
| |
| EObject this_DtCDigits_4 = null; |
| |
| EObject this_DtCNumericMax_5 = null; |
| |
| EObject this_DtCNumericMin_6 = null; |
| |
| EObject this_DtCNotNull_7 = null; |
| |
| EObject this_DtCNull_8 = null; |
| |
| EObject this_DtCRegEx_9 = null; |
| |
| EObject this_DtCSize_10 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:4625:2: ( (this_DtCAssertFalse_0= ruleDtCAssertFalse | this_DtCAssertTrue_1= ruleDtCAssertTrue | this_DtCDecimalMax_2= ruleDtCDecimalMax | this_DtCDecimalMin_3= ruleDtCDecimalMin | this_DtCDigits_4= ruleDtCDigits | this_DtCNumericMax_5= ruleDtCNumericMax | this_DtCNumericMin_6= ruleDtCNumericMin | this_DtCNotNull_7= ruleDtCNotNull | this_DtCNull_8= ruleDtCNull | this_DtCRegEx_9= ruleDtCRegEx | this_DtCSize_10= ruleDtCSize ) ) |
| // InternalEntityGrammar.g:4626:2: (this_DtCAssertFalse_0= ruleDtCAssertFalse | this_DtCAssertTrue_1= ruleDtCAssertTrue | this_DtCDecimalMax_2= ruleDtCDecimalMax | this_DtCDecimalMin_3= ruleDtCDecimalMin | this_DtCDigits_4= ruleDtCDigits | this_DtCNumericMax_5= ruleDtCNumericMax | this_DtCNumericMin_6= ruleDtCNumericMin | this_DtCNotNull_7= ruleDtCNotNull | this_DtCNull_8= ruleDtCNull | this_DtCRegEx_9= ruleDtCRegEx | this_DtCSize_10= ruleDtCSize ) |
| { |
| // InternalEntityGrammar.g:4626:2: (this_DtCAssertFalse_0= ruleDtCAssertFalse | this_DtCAssertTrue_1= ruleDtCAssertTrue | this_DtCDecimalMax_2= ruleDtCDecimalMax | this_DtCDecimalMin_3= ruleDtCDecimalMin | this_DtCDigits_4= ruleDtCDigits | this_DtCNumericMax_5= ruleDtCNumericMax | this_DtCNumericMin_6= ruleDtCNumericMin | this_DtCNotNull_7= ruleDtCNotNull | this_DtCNull_8= ruleDtCNull | this_DtCRegEx_9= ruleDtCRegEx | this_DtCSize_10= ruleDtCSize ) |
| int alt135=11; |
| switch ( input.LA(1) ) { |
| case 79: |
| { |
| alt135=1; |
| } |
| break; |
| case 83: |
| { |
| alt135=2; |
| } |
| break; |
| case 84: |
| { |
| alt135=3; |
| } |
| break; |
| case 85: |
| { |
| alt135=4; |
| } |
| break; |
| case 86: |
| { |
| alt135=5; |
| } |
| break; |
| case 89: |
| { |
| alt135=6; |
| } |
| break; |
| case 90: |
| { |
| alt135=7; |
| } |
| break; |
| case 91: |
| { |
| alt135=8; |
| } |
| break; |
| case 92: |
| { |
| alt135=9; |
| } |
| break; |
| case 93: |
| { |
| alt135=10; |
| } |
| break; |
| case 94: |
| { |
| alt135=11; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 135, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt135) { |
| case 1 : |
| // InternalEntityGrammar.g:4627:3: this_DtCAssertFalse_0= ruleDtCAssertFalse |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCAssertFalseParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCAssertFalse_0=ruleDtCAssertFalse(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCAssertFalse_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:4636:3: this_DtCAssertTrue_1= ruleDtCAssertTrue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCAssertTrueParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCAssertTrue_1=ruleDtCAssertTrue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCAssertTrue_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:4645:3: this_DtCDecimalMax_2= ruleDtCDecimalMax |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDecimalMaxParserRuleCall_2()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCDecimalMax_2=ruleDtCDecimalMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDecimalMax_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:4654:3: this_DtCDecimalMin_3= ruleDtCDecimalMin |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDecimalMinParserRuleCall_3()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCDecimalMin_3=ruleDtCDecimalMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDecimalMin_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:4663:3: this_DtCDigits_4= ruleDtCDigits |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDigitsParserRuleCall_4()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCDigits_4=ruleDtCDigits(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDigits_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // InternalEntityGrammar.g:4672:3: this_DtCNumericMax_5= ruleDtCNumericMax |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNumericMaxParserRuleCall_5()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNumericMax_5=ruleDtCNumericMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNumericMax_5; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // InternalEntityGrammar.g:4681:3: this_DtCNumericMin_6= ruleDtCNumericMin |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNumericMinParserRuleCall_6()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNumericMin_6=ruleDtCNumericMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNumericMin_6; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 8 : |
| // InternalEntityGrammar.g:4690:3: this_DtCNotNull_7= ruleDtCNotNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNotNullParserRuleCall_7()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNotNull_7=ruleDtCNotNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNotNull_7; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 9 : |
| // InternalEntityGrammar.g:4699:3: this_DtCNull_8= ruleDtCNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNullParserRuleCall_8()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNull_8=ruleDtCNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNull_8; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 10 : |
| // InternalEntityGrammar.g:4708:3: this_DtCRegEx_9= ruleDtCRegEx |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCRegExParserRuleCall_9()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCRegEx_9=ruleDtCRegEx(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCRegEx_9; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 11 : |
| // InternalEntityGrammar.g:4717:3: this_DtCSize_10= ruleDtCSize |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCSizeParserRuleCall_10()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCSize_10=ruleDtCSize(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCSize_10; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataTypeConstraint" |
| |
| |
| // $ANTLR start "entryRuleDateConstraint" |
| // InternalEntityGrammar.g:4729:1: entryRuleDateConstraint returns [EObject current=null] : iv_ruleDateConstraint= ruleDateConstraint EOF ; |
| public final EObject entryRuleDateConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDateConstraint = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:4729:55: (iv_ruleDateConstraint= ruleDateConstraint EOF ) |
| // InternalEntityGrammar.g:4730:2: iv_ruleDateConstraint= ruleDateConstraint EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDateConstraintRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDateConstraint=ruleDateConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDateConstraint; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDateConstraint" |
| |
| |
| // $ANTLR start "ruleDateConstraint" |
| // InternalEntityGrammar.g:4736:1: ruleDateConstraint returns [EObject current=null] : (this_DtCFuture_0= ruleDtCFuture | this_DtCPast_1= ruleDtCPast | this_DtCNotNull_2= ruleDtCNotNull | this_DtCNull_3= ruleDtCNull ) ; |
| public final EObject ruleDateConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_DtCFuture_0 = null; |
| |
| EObject this_DtCPast_1 = null; |
| |
| EObject this_DtCNotNull_2 = null; |
| |
| EObject this_DtCNull_3 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:4742:2: ( (this_DtCFuture_0= ruleDtCFuture | this_DtCPast_1= ruleDtCPast | this_DtCNotNull_2= ruleDtCNotNull | this_DtCNull_3= ruleDtCNull ) ) |
| // InternalEntityGrammar.g:4743:2: (this_DtCFuture_0= ruleDtCFuture | this_DtCPast_1= ruleDtCPast | this_DtCNotNull_2= ruleDtCNotNull | this_DtCNull_3= ruleDtCNull ) |
| { |
| // InternalEntityGrammar.g:4743:2: (this_DtCFuture_0= ruleDtCFuture | this_DtCPast_1= ruleDtCPast | this_DtCNotNull_2= ruleDtCNotNull | this_DtCNull_3= ruleDtCNull ) |
| int alt136=4; |
| switch ( input.LA(1) ) { |
| case 87: |
| { |
| alt136=1; |
| } |
| break; |
| case 88: |
| { |
| alt136=2; |
| } |
| break; |
| case 91: |
| { |
| alt136=3; |
| } |
| break; |
| case 92: |
| { |
| alt136=4; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 136, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt136) { |
| case 1 : |
| // InternalEntityGrammar.g:4744:3: this_DtCFuture_0= ruleDtCFuture |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCFutureParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCFuture_0=ruleDtCFuture(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCFuture_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:4753:3: this_DtCPast_1= ruleDtCPast |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCPastParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCPast_1=ruleDtCPast(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCPast_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:4762:3: this_DtCNotNull_2= ruleDtCNotNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCNotNullParserRuleCall_2()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNotNull_2=ruleDtCNotNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNotNull_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:4771:3: this_DtCNull_3= ruleDtCNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCNullParserRuleCall_3()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNull_3=ruleDtCNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNull_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDateConstraint" |
| |
| |
| // $ANTLR start "entryRuleBlobTypeConstraint" |
| // InternalEntityGrammar.g:4783:1: entryRuleBlobTypeConstraint returns [EObject current=null] : iv_ruleBlobTypeConstraint= ruleBlobTypeConstraint EOF ; |
| public final EObject entryRuleBlobTypeConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleBlobTypeConstraint = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:4783:59: (iv_ruleBlobTypeConstraint= ruleBlobTypeConstraint EOF ) |
| // InternalEntityGrammar.g:4784:2: iv_ruleBlobTypeConstraint= ruleBlobTypeConstraint EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getBlobTypeConstraintRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleBlobTypeConstraint=ruleBlobTypeConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleBlobTypeConstraint; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleBlobTypeConstraint" |
| |
| |
| // $ANTLR start "ruleBlobTypeConstraint" |
| // InternalEntityGrammar.g:4790:1: ruleBlobTypeConstraint returns [EObject current=null] : (this_DtCNotNull_0= ruleDtCNotNull | this_DtCNull_1= ruleDtCNull ) ; |
| public final EObject ruleBlobTypeConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_DtCNotNull_0 = null; |
| |
| EObject this_DtCNull_1 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:4796:2: ( (this_DtCNotNull_0= ruleDtCNotNull | this_DtCNull_1= ruleDtCNull ) ) |
| // InternalEntityGrammar.g:4797:2: (this_DtCNotNull_0= ruleDtCNotNull | this_DtCNull_1= ruleDtCNull ) |
| { |
| // InternalEntityGrammar.g:4797:2: (this_DtCNotNull_0= ruleDtCNotNull | this_DtCNull_1= ruleDtCNull ) |
| int alt137=2; |
| int LA137_0 = input.LA(1); |
| |
| if ( (LA137_0==91) ) { |
| alt137=1; |
| } |
| else if ( (LA137_0==92) ) { |
| alt137=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 137, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt137) { |
| case 1 : |
| // InternalEntityGrammar.g:4798:3: this_DtCNotNull_0= ruleDtCNotNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBlobTypeConstraintAccess().getDtCNotNullParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNotNull_0=ruleDtCNotNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNotNull_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:4807:3: this_DtCNull_1= ruleDtCNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBlobTypeConstraintAccess().getDtCNullParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DtCNull_1=ruleDtCNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNull_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleBlobTypeConstraint" |
| |
| |
| // $ANTLR start "entryRuleDtCAssertFalse" |
| // InternalEntityGrammar.g:4819:1: entryRuleDtCAssertFalse returns [EObject current=null] : iv_ruleDtCAssertFalse= ruleDtCAssertFalse EOF ; |
| public final EObject entryRuleDtCAssertFalse() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCAssertFalse = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:4819:55: (iv_ruleDtCAssertFalse= ruleDtCAssertFalse EOF ) |
| // InternalEntityGrammar.g:4820:2: iv_ruleDtCAssertFalse= ruleDtCAssertFalse EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCAssertFalseRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCAssertFalse=ruleDtCAssertFalse(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCAssertFalse; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCAssertFalse" |
| |
| |
| // $ANTLR start "ruleDtCAssertFalse" |
| // InternalEntityGrammar.g:4826:1: ruleDtCAssertFalse returns [EObject current=null] : ( () otherlv_1= 'isFalse' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ; |
| public final EObject ruleDtCAssertFalse() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| AntlrDatatypeRuleToken lv_msgCode_6_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_9_0 = null; |
| |
| Enumerator lv_severity_12_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:4832:2: ( ( () otherlv_1= 'isFalse' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ) |
| // InternalEntityGrammar.g:4833:2: ( () otherlv_1= 'isFalse' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| { |
| // InternalEntityGrammar.g:4833:2: ( () otherlv_1= 'isFalse' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| // InternalEntityGrammar.g:4834:3: () otherlv_1= 'isFalse' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| { |
| // InternalEntityGrammar.g:4834:3: () |
| // InternalEntityGrammar.g:4835:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCAssertFalseAccess().getLDtCAssertFalseAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,79,FOLLOW_94); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCAssertFalseAccess().getIsFalseKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:4845:3: (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| int alt139=2; |
| int LA139_0 = input.LA(1); |
| |
| if ( (LA139_0==38) ) { |
| alt139=1; |
| } |
| switch (alt139) { |
| case 1 : |
| // InternalEntityGrammar.g:4846:4: otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' |
| { |
| otherlv_2=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCAssertFalseAccess().getLeftSquareBracketKeyword_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:4850:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:4851:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:4851:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:4852:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1()); |
| // InternalEntityGrammar.g:4855:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:4856:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:4856:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop138: |
| do { |
| int alt138=4; |
| int LA138_0 = input.LA(1); |
| |
| if ( LA138_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 0) ) { |
| alt138=1; |
| } |
| else if ( LA138_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 1) ) { |
| alt138=2; |
| } |
| else if ( LA138_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 2) ) { |
| alt138=3; |
| } |
| |
| |
| switch (alt138) { |
| case 1 : |
| // InternalEntityGrammar.g:4857:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:4857:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:4858:6: {...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:4858:114: ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:4859:7: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 0); |
| // InternalEntityGrammar.g:4862:10: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:4862:11: {...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "true"); |
| } |
| // InternalEntityGrammar.g:4862:20: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:4862:21: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| { |
| otherlv_4=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCAssertFalseAccess().getMsgCodeKeyword_2_1_0_0()); |
| |
| } |
| otherlv_5=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:4870:10: ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:4871:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:4871:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:4872:12: lv_msgCode_6_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getMsgCodeQualifiedNameParserRuleCall_2_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_6_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCAssertFalseRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:4895:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:4895:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:4896:6: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:4896:114: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:4897:7: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 1); |
| // InternalEntityGrammar.g:4900:10: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:4900:11: {...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "true"); |
| } |
| // InternalEntityGrammar.g:4900:20: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:4900:21: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| { |
| otherlv_7=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCAssertFalseAccess().getMsgI18nKeyKeyword_2_1_1_0()); |
| |
| } |
| otherlv_8=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:4908:10: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:4909:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:4909:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:4910:12: lv_msgI18nKey_9_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_9_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCAssertFalseRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:4933:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:4933:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:4934:6: {...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:4934:114: ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:4935:7: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1(), 2); |
| // InternalEntityGrammar.g:4938:10: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:4938:11: {...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "true"); |
| } |
| // InternalEntityGrammar.g:4938:20: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:4938:21: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_10=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCAssertFalseAccess().getSeverityKeyword_2_1_2_0()); |
| |
| } |
| otherlv_11=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:4946:10: ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:4947:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:4947:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:4948:12: lv_severity_12_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getSeverityConstraintSeverityEnumRuleCall_2_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_12_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCAssertFalseRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_12_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop138; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| otherlv_13=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCAssertFalseAccess().getRightSquareBracketKeyword_2_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCAssertFalse" |
| |
| |
| // $ANTLR start "entryRuleDtCAssertTrue" |
| // InternalEntityGrammar.g:4987:1: entryRuleDtCAssertTrue returns [EObject current=null] : iv_ruleDtCAssertTrue= ruleDtCAssertTrue EOF ; |
| public final EObject entryRuleDtCAssertTrue() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCAssertTrue = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:4987:54: (iv_ruleDtCAssertTrue= ruleDtCAssertTrue EOF ) |
| // InternalEntityGrammar.g:4988:2: iv_ruleDtCAssertTrue= ruleDtCAssertTrue EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCAssertTrueRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCAssertTrue=ruleDtCAssertTrue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCAssertTrue; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCAssertTrue" |
| |
| |
| // $ANTLR start "ruleDtCAssertTrue" |
| // InternalEntityGrammar.g:4994:1: ruleDtCAssertTrue returns [EObject current=null] : ( () otherlv_1= 'isTrue' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ; |
| public final EObject ruleDtCAssertTrue() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| AntlrDatatypeRuleToken lv_msgCode_6_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_9_0 = null; |
| |
| Enumerator lv_severity_12_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:5000:2: ( ( () otherlv_1= 'isTrue' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ) |
| // InternalEntityGrammar.g:5001:2: ( () otherlv_1= 'isTrue' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| { |
| // InternalEntityGrammar.g:5001:2: ( () otherlv_1= 'isTrue' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| // InternalEntityGrammar.g:5002:3: () otherlv_1= 'isTrue' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| { |
| // InternalEntityGrammar.g:5002:3: () |
| // InternalEntityGrammar.g:5003:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCAssertTrueAccess().getLDtCAssertTrueAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,83,FOLLOW_94); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCAssertTrueAccess().getIsTrueKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:5013:3: (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| int alt141=2; |
| int LA141_0 = input.LA(1); |
| |
| if ( (LA141_0==38) ) { |
| alt141=1; |
| } |
| switch (alt141) { |
| case 1 : |
| // InternalEntityGrammar.g:5014:4: otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' |
| { |
| otherlv_2=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCAssertTrueAccess().getLeftSquareBracketKeyword_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:5018:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:5019:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:5019:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:5020:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1()); |
| // InternalEntityGrammar.g:5023:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:5024:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:5024:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop140: |
| do { |
| int alt140=4; |
| int LA140_0 = input.LA(1); |
| |
| if ( LA140_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 0) ) { |
| alt140=1; |
| } |
| else if ( LA140_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 1) ) { |
| alt140=2; |
| } |
| else if ( LA140_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 2) ) { |
| alt140=3; |
| } |
| |
| |
| switch (alt140) { |
| case 1 : |
| // InternalEntityGrammar.g:5025:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5025:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5026:6: {...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:5026:113: ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5027:7: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 0); |
| // InternalEntityGrammar.g:5030:10: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5030:11: {...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "true"); |
| } |
| // InternalEntityGrammar.g:5030:20: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5030:21: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| { |
| otherlv_4=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCAssertTrueAccess().getMsgCodeKeyword_2_1_0_0()); |
| |
| } |
| otherlv_5=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:5038:10: ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5039:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5039:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5040:12: lv_msgCode_6_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getMsgCodeQualifiedNameParserRuleCall_2_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_6_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCAssertTrueRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:5063:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5063:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5064:6: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:5064:113: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5065:7: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 1); |
| // InternalEntityGrammar.g:5068:10: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5068:11: {...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "true"); |
| } |
| // InternalEntityGrammar.g:5068:20: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5068:21: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| { |
| otherlv_7=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCAssertTrueAccess().getMsgI18nKeyKeyword_2_1_1_0()); |
| |
| } |
| otherlv_8=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:5076:10: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5077:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5077:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5078:12: lv_msgI18nKey_9_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_9_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCAssertTrueRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:5101:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5101:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5102:6: {...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:5102:113: ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:5103:7: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1(), 2); |
| // InternalEntityGrammar.g:5106:10: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:5106:11: {...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "true"); |
| } |
| // InternalEntityGrammar.g:5106:20: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:5106:21: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_10=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCAssertTrueAccess().getSeverityKeyword_2_1_2_0()); |
| |
| } |
| otherlv_11=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:5114:10: ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:5115:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:5115:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:5116:12: lv_severity_12_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getSeverityConstraintSeverityEnumRuleCall_2_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_12_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCAssertTrueRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_12_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop140; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| otherlv_13=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCAssertTrueAccess().getRightSquareBracketKeyword_2_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCAssertTrue" |
| |
| |
| // $ANTLR start "entryRuleDtCDecimalMax" |
| // InternalEntityGrammar.g:5155:1: entryRuleDtCDecimalMax returns [EObject current=null] : iv_ruleDtCDecimalMax= ruleDtCDecimalMax EOF ; |
| public final EObject entryRuleDtCDecimalMax() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCDecimalMax = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:5155:54: (iv_ruleDtCDecimalMax= ruleDtCDecimalMax EOF ) |
| // InternalEntityGrammar.g:5156:2: iv_ruleDtCDecimalMax= ruleDtCDecimalMax EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCDecimalMaxRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCDecimalMax=ruleDtCDecimalMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCDecimalMax; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCDecimalMax" |
| |
| |
| // $ANTLR start "ruleDtCDecimalMax" |
| // InternalEntityGrammar.g:5162:1: ruleDtCDecimalMax returns [EObject current=null] : ( () otherlv_1= 'maxDecimal' otherlv_2= '(' ( (lv_max_3_0= ruleLDecimal ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) ; |
| public final EObject ruleDtCDecimalMax() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| Token otherlv_7=null; |
| Token otherlv_9=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token otherlv_13=null; |
| Token otherlv_15=null; |
| Token otherlv_16=null; |
| AntlrDatatypeRuleToken lv_max_3_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgCode_8_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_11_0 = null; |
| |
| Enumerator lv_severity_14_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:5168:2: ( ( () otherlv_1= 'maxDecimal' otherlv_2= '(' ( (lv_max_3_0= ruleLDecimal ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) ) |
| // InternalEntityGrammar.g:5169:2: ( () otherlv_1= 'maxDecimal' otherlv_2= '(' ( (lv_max_3_0= ruleLDecimal ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) |
| { |
| // InternalEntityGrammar.g:5169:2: ( () otherlv_1= 'maxDecimal' otherlv_2= '(' ( (lv_max_3_0= ruleLDecimal ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) |
| // InternalEntityGrammar.g:5170:3: () otherlv_1= 'maxDecimal' otherlv_2= '(' ( (lv_max_3_0= ruleLDecimal ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' |
| { |
| // InternalEntityGrammar.g:5170:3: () |
| // InternalEntityGrammar.g:5171:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCDecimalMaxAccess().getLDtCDecimalMaxAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,84,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCDecimalMaxAccess().getMaxDecimalKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_98); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCDecimalMaxAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:5185:3: ( (lv_max_3_0= ruleLDecimal ) ) |
| // InternalEntityGrammar.g:5186:4: (lv_max_3_0= ruleLDecimal ) |
| { |
| // InternalEntityGrammar.g:5186:4: (lv_max_3_0= ruleLDecimal ) |
| // InternalEntityGrammar.g:5187:5: lv_max_3_0= ruleLDecimal |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMaxLDecimalParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_99); |
| lv_max_3_0=ruleLDecimal(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDecimalMaxRule()); |
| } |
| set( |
| current, |
| "max", |
| lv_max_3_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.LDecimal"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:5204:3: (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? |
| int alt143=2; |
| int LA143_0 = input.LA(1); |
| |
| if ( (LA143_0==38) ) { |
| alt143=1; |
| } |
| switch (alt143) { |
| case 1 : |
| // InternalEntityGrammar.g:5205:4: otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' |
| { |
| otherlv_4=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCDecimalMaxAccess().getLeftSquareBracketKeyword_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:5209:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:5210:5: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:5210:5: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:5211:6: ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1()); |
| // InternalEntityGrammar.g:5214:6: ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:5215:7: ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:5215:7: ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop142: |
| do { |
| int alt142=4; |
| int LA142_0 = input.LA(1); |
| |
| if ( LA142_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 0) ) { |
| alt142=1; |
| } |
| else if ( LA142_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 1) ) { |
| alt142=2; |
| } |
| else if ( LA142_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 2) ) { |
| alt142=3; |
| } |
| |
| |
| switch (alt142) { |
| case 1 : |
| // InternalEntityGrammar.g:5216:5: ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5216:5: ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5217:6: {...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:5217:113: ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5218:7: ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 0); |
| // InternalEntityGrammar.g:5221:10: ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5221:11: {...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "true"); |
| } |
| // InternalEntityGrammar.g:5221:20: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5221:21: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| { |
| otherlv_6=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDtCDecimalMaxAccess().getMsgCodeKeyword_4_1_0_0()); |
| |
| } |
| otherlv_7=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:5229:10: ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5230:11: (lv_msgCode_8_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5230:11: (lv_msgCode_8_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5231:12: lv_msgCode_8_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMsgCodeQualifiedNameParserRuleCall_4_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_8_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDecimalMaxRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_8_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:5254:5: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5254:5: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5255:6: {...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:5255:113: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5256:7: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 1); |
| // InternalEntityGrammar.g:5259:10: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5259:11: {...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "true"); |
| } |
| // InternalEntityGrammar.g:5259:20: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5259:21: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| { |
| otherlv_9=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDtCDecimalMaxAccess().getMsgI18nKeyKeyword_4_1_1_0()); |
| |
| } |
| otherlv_10=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:5267:10: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5268:11: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5268:11: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5269:12: lv_msgI18nKey_11_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_11_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDecimalMaxRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_11_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:5292:5: ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5292:5: ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5293:6: {...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:5293:113: ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:5294:7: ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1(), 2); |
| // InternalEntityGrammar.g:5297:10: ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:5297:11: {...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "true"); |
| } |
| // InternalEntityGrammar.g:5297:20: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:5297:21: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_12=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDtCDecimalMaxAccess().getSeverityKeyword_4_1_2_0()); |
| |
| } |
| otherlv_13=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:5305:10: ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:5306:11: (lv_severity_14_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:5306:11: (lv_severity_14_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:5307:12: lv_severity_14_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getSeverityConstraintSeverityEnumRuleCall_4_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_14_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDecimalMaxRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_14_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop142; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| otherlv_15=(Token)match(input,39,FOLLOW_9); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDtCDecimalMaxAccess().getRightSquareBracketKeyword_4_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_16=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getDtCDecimalMaxAccess().getRightParenthesisKeyword_5()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCDecimalMax" |
| |
| |
| // $ANTLR start "entryRuleDtCDecimalMin" |
| // InternalEntityGrammar.g:5350:1: entryRuleDtCDecimalMin returns [EObject current=null] : iv_ruleDtCDecimalMin= ruleDtCDecimalMin EOF ; |
| public final EObject entryRuleDtCDecimalMin() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCDecimalMin = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:5350:54: (iv_ruleDtCDecimalMin= ruleDtCDecimalMin EOF ) |
| // InternalEntityGrammar.g:5351:2: iv_ruleDtCDecimalMin= ruleDtCDecimalMin EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCDecimalMinRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCDecimalMin=ruleDtCDecimalMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCDecimalMin; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCDecimalMin" |
| |
| |
| // $ANTLR start "ruleDtCDecimalMin" |
| // InternalEntityGrammar.g:5357:1: ruleDtCDecimalMin returns [EObject current=null] : ( () otherlv_1= 'minDecimal' otherlv_2= '(' ( (lv_min_3_0= ruleLDecimal ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) ; |
| public final EObject ruleDtCDecimalMin() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| Token otherlv_7=null; |
| Token otherlv_9=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token otherlv_13=null; |
| Token otherlv_15=null; |
| Token otherlv_16=null; |
| AntlrDatatypeRuleToken lv_min_3_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgCode_8_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_11_0 = null; |
| |
| Enumerator lv_severity_14_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:5363:2: ( ( () otherlv_1= 'minDecimal' otherlv_2= '(' ( (lv_min_3_0= ruleLDecimal ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) ) |
| // InternalEntityGrammar.g:5364:2: ( () otherlv_1= 'minDecimal' otherlv_2= '(' ( (lv_min_3_0= ruleLDecimal ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) |
| { |
| // InternalEntityGrammar.g:5364:2: ( () otherlv_1= 'minDecimal' otherlv_2= '(' ( (lv_min_3_0= ruleLDecimal ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) |
| // InternalEntityGrammar.g:5365:3: () otherlv_1= 'minDecimal' otherlv_2= '(' ( (lv_min_3_0= ruleLDecimal ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' |
| { |
| // InternalEntityGrammar.g:5365:3: () |
| // InternalEntityGrammar.g:5366:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCDecimalMinAccess().getLDtCDecimalMinAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,85,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCDecimalMinAccess().getMinDecimalKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_98); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCDecimalMinAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:5380:3: ( (lv_min_3_0= ruleLDecimal ) ) |
| // InternalEntityGrammar.g:5381:4: (lv_min_3_0= ruleLDecimal ) |
| { |
| // InternalEntityGrammar.g:5381:4: (lv_min_3_0= ruleLDecimal ) |
| // InternalEntityGrammar.g:5382:5: lv_min_3_0= ruleLDecimal |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMinLDecimalParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_99); |
| lv_min_3_0=ruleLDecimal(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDecimalMinRule()); |
| } |
| set( |
| current, |
| "min", |
| lv_min_3_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.LDecimal"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:5399:3: (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? |
| int alt145=2; |
| int LA145_0 = input.LA(1); |
| |
| if ( (LA145_0==38) ) { |
| alt145=1; |
| } |
| switch (alt145) { |
| case 1 : |
| // InternalEntityGrammar.g:5400:4: otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' |
| { |
| otherlv_4=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCDecimalMinAccess().getLeftSquareBracketKeyword_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:5404:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:5405:5: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:5405:5: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:5406:6: ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1()); |
| // InternalEntityGrammar.g:5409:6: ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:5410:7: ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:5410:7: ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop144: |
| do { |
| int alt144=4; |
| int LA144_0 = input.LA(1); |
| |
| if ( LA144_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 0) ) { |
| alt144=1; |
| } |
| else if ( LA144_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 1) ) { |
| alt144=2; |
| } |
| else if ( LA144_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 2) ) { |
| alt144=3; |
| } |
| |
| |
| switch (alt144) { |
| case 1 : |
| // InternalEntityGrammar.g:5411:5: ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5411:5: ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5412:6: {...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:5412:113: ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5413:7: ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 0); |
| // InternalEntityGrammar.g:5416:10: ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5416:11: {...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMin", "true"); |
| } |
| // InternalEntityGrammar.g:5416:20: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5416:21: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| { |
| otherlv_6=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDtCDecimalMinAccess().getMsgCodeKeyword_4_1_0_0()); |
| |
| } |
| otherlv_7=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:5424:10: ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5425:11: (lv_msgCode_8_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5425:11: (lv_msgCode_8_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5426:12: lv_msgCode_8_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMsgCodeQualifiedNameParserRuleCall_4_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_8_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDecimalMinRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_8_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:5449:5: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5449:5: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5450:6: {...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:5450:113: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5451:7: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 1); |
| // InternalEntityGrammar.g:5454:10: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5454:11: {...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMin", "true"); |
| } |
| // InternalEntityGrammar.g:5454:20: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5454:21: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| { |
| otherlv_9=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDtCDecimalMinAccess().getMsgI18nKeyKeyword_4_1_1_0()); |
| |
| } |
| otherlv_10=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:5462:10: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5463:11: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5463:11: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5464:12: lv_msgI18nKey_11_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_11_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDecimalMinRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_11_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:5487:5: ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5487:5: ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5488:6: {...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:5488:113: ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:5489:7: ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1(), 2); |
| // InternalEntityGrammar.g:5492:10: ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:5492:11: {...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMin", "true"); |
| } |
| // InternalEntityGrammar.g:5492:20: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:5492:21: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_12=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDtCDecimalMinAccess().getSeverityKeyword_4_1_2_0()); |
| |
| } |
| otherlv_13=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:5500:10: ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:5501:11: (lv_severity_14_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:5501:11: (lv_severity_14_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:5502:12: lv_severity_14_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getSeverityConstraintSeverityEnumRuleCall_4_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_14_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDecimalMinRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_14_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop144; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| otherlv_15=(Token)match(input,39,FOLLOW_9); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDtCDecimalMinAccess().getRightSquareBracketKeyword_4_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_16=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getDtCDecimalMinAccess().getRightParenthesisKeyword_5()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCDecimalMin" |
| |
| |
| // $ANTLR start "entryRuleDtCDigits" |
| // InternalEntityGrammar.g:5545:1: entryRuleDtCDigits returns [EObject current=null] : iv_ruleDtCDigits= ruleDtCDigits EOF ; |
| public final EObject entryRuleDtCDigits() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCDigits = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:5545:50: (iv_ruleDtCDigits= ruleDtCDigits EOF ) |
| // InternalEntityGrammar.g:5546:2: iv_ruleDtCDigits= ruleDtCDigits EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCDigitsRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCDigits=ruleDtCDigits(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCDigits; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCDigits" |
| |
| |
| // $ANTLR start "ruleDtCDigits" |
| // InternalEntityGrammar.g:5552:1: ruleDtCDigits returns [EObject current=null] : ( () otherlv_1= 'digits' otherlv_2= '(' ( (lv_intDigits_3_0= RULE_INT ) ) otherlv_4= ',' ( (lv_fractionDigits_5_0= RULE_INT ) ) (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? otherlv_18= ')' ) ; |
| public final EObject ruleDtCDigits() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token lv_intDigits_3_0=null; |
| Token otherlv_4=null; |
| Token lv_fractionDigits_5_0=null; |
| Token otherlv_6=null; |
| Token otherlv_8=null; |
| Token otherlv_9=null; |
| Token otherlv_11=null; |
| Token otherlv_12=null; |
| Token otherlv_14=null; |
| Token otherlv_15=null; |
| Token otherlv_17=null; |
| Token otherlv_18=null; |
| AntlrDatatypeRuleToken lv_msgCode_10_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_13_0 = null; |
| |
| Enumerator lv_severity_16_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:5558:2: ( ( () otherlv_1= 'digits' otherlv_2= '(' ( (lv_intDigits_3_0= RULE_INT ) ) otherlv_4= ',' ( (lv_fractionDigits_5_0= RULE_INT ) ) (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? otherlv_18= ')' ) ) |
| // InternalEntityGrammar.g:5559:2: ( () otherlv_1= 'digits' otherlv_2= '(' ( (lv_intDigits_3_0= RULE_INT ) ) otherlv_4= ',' ( (lv_fractionDigits_5_0= RULE_INT ) ) (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? otherlv_18= ')' ) |
| { |
| // InternalEntityGrammar.g:5559:2: ( () otherlv_1= 'digits' otherlv_2= '(' ( (lv_intDigits_3_0= RULE_INT ) ) otherlv_4= ',' ( (lv_fractionDigits_5_0= RULE_INT ) ) (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? otherlv_18= ')' ) |
| // InternalEntityGrammar.g:5560:3: () otherlv_1= 'digits' otherlv_2= '(' ( (lv_intDigits_3_0= RULE_INT ) ) otherlv_4= ',' ( (lv_fractionDigits_5_0= RULE_INT ) ) (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? otherlv_18= ')' |
| { |
| // InternalEntityGrammar.g:5560:3: () |
| // InternalEntityGrammar.g:5561:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCDigitsAccess().getLDtCDigitsAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,86,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCDigitsAccess().getDigitsKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_37); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCDigitsAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:5575:3: ( (lv_intDigits_3_0= RULE_INT ) ) |
| // InternalEntityGrammar.g:5576:4: (lv_intDigits_3_0= RULE_INT ) |
| { |
| // InternalEntityGrammar.g:5576:4: (lv_intDigits_3_0= RULE_INT ) |
| // InternalEntityGrammar.g:5577:5: lv_intDigits_3_0= RULE_INT |
| { |
| lv_intDigits_3_0=(Token)match(input,RULE_INT,FOLLOW_100); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_intDigits_3_0, grammarAccess.getDtCDigitsAccess().getIntDigitsINTTerminalRuleCall_3_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtCDigitsRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "intDigits", |
| lv_intDigits_3_0, |
| "org.eclipse.xtext.xbase.Xbase.INT"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_4=(Token)match(input,30,FOLLOW_37); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCDigitsAccess().getCommaKeyword_4()); |
| |
| } |
| // InternalEntityGrammar.g:5597:3: ( (lv_fractionDigits_5_0= RULE_INT ) ) |
| // InternalEntityGrammar.g:5598:4: (lv_fractionDigits_5_0= RULE_INT ) |
| { |
| // InternalEntityGrammar.g:5598:4: (lv_fractionDigits_5_0= RULE_INT ) |
| // InternalEntityGrammar.g:5599:5: lv_fractionDigits_5_0= RULE_INT |
| { |
| lv_fractionDigits_5_0=(Token)match(input,RULE_INT,FOLLOW_99); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_fractionDigits_5_0, grammarAccess.getDtCDigitsAccess().getFractionDigitsINTTerminalRuleCall_5_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtCDigitsRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "fractionDigits", |
| lv_fractionDigits_5_0, |
| "org.eclipse.xtext.xbase.Xbase.INT"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:5615:3: (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? |
| int alt147=2; |
| int LA147_0 = input.LA(1); |
| |
| if ( (LA147_0==38) ) { |
| alt147=1; |
| } |
| switch (alt147) { |
| case 1 : |
| // InternalEntityGrammar.g:5616:4: otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' |
| { |
| otherlv_6=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDtCDigitsAccess().getLeftSquareBracketKeyword_6_0()); |
| |
| } |
| // InternalEntityGrammar.g:5620:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:5621:5: ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:5621:5: ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:5622:6: ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1()); |
| // InternalEntityGrammar.g:5625:6: ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:5626:7: ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:5626:7: ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop146: |
| do { |
| int alt146=4; |
| int LA146_0 = input.LA(1); |
| |
| if ( LA146_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 0) ) { |
| alt146=1; |
| } |
| else if ( LA146_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 1) ) { |
| alt146=2; |
| } |
| else if ( LA146_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 2) ) { |
| alt146=3; |
| } |
| |
| |
| switch (alt146) { |
| case 1 : |
| // InternalEntityGrammar.g:5627:5: ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5627:5: ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5628:6: {...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDigits", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:5628:109: ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5629:7: ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 0); |
| // InternalEntityGrammar.g:5632:10: ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5632:11: {...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDigits", "true"); |
| } |
| // InternalEntityGrammar.g:5632:20: (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5632:21: otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) |
| { |
| otherlv_8=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtCDigitsAccess().getMsgCodeKeyword_6_1_0_0()); |
| |
| } |
| otherlv_9=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDtCDigitsAccess().getEqualsSignKeyword_6_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:5640:10: ( (lv_msgCode_10_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5641:11: (lv_msgCode_10_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5641:11: (lv_msgCode_10_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5642:12: lv_msgCode_10_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDigitsAccess().getMsgCodeQualifiedNameParserRuleCall_6_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_10_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDigitsRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_10_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:5665:5: ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5665:5: ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5666:6: {...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDigits", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:5666:109: ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5667:7: ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 1); |
| // InternalEntityGrammar.g:5670:10: ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5670:11: {...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDigits", "true"); |
| } |
| // InternalEntityGrammar.g:5670:20: (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5670:21: otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) |
| { |
| otherlv_11=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDtCDigitsAccess().getMsgI18nKeyKeyword_6_1_1_0()); |
| |
| } |
| otherlv_12=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDtCDigitsAccess().getEqualsSignKeyword_6_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:5678:10: ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5679:11: (lv_msgI18nKey_13_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5679:11: (lv_msgI18nKey_13_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5680:12: lv_msgI18nKey_13_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDigitsAccess().getMsgI18nKeyQualifiedNameParserRuleCall_6_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_13_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDigitsRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_13_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:5703:5: ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5703:5: ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5704:6: {...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDigits", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:5704:109: ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:5705:7: ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1(), 2); |
| // InternalEntityGrammar.g:5708:10: ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:5708:11: {...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDigits", "true"); |
| } |
| // InternalEntityGrammar.g:5708:20: (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:5708:21: otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_14=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_14, grammarAccess.getDtCDigitsAccess().getSeverityKeyword_6_1_2_0()); |
| |
| } |
| otherlv_15=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDtCDigitsAccess().getEqualsSignKeyword_6_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:5716:10: ( (lv_severity_16_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:5717:11: (lv_severity_16_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:5717:11: (lv_severity_16_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:5718:12: lv_severity_16_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDigitsAccess().getSeverityConstraintSeverityEnumRuleCall_6_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_16_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCDigitsRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_16_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop146; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6_1()); |
| |
| } |
| |
| otherlv_17=(Token)match(input,39,FOLLOW_9); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_17, grammarAccess.getDtCDigitsAccess().getRightSquareBracketKeyword_6_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_18=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_18, grammarAccess.getDtCDigitsAccess().getRightParenthesisKeyword_7()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCDigits" |
| |
| |
| // $ANTLR start "entryRuleDtCFuture" |
| // InternalEntityGrammar.g:5761:1: entryRuleDtCFuture returns [EObject current=null] : iv_ruleDtCFuture= ruleDtCFuture EOF ; |
| public final EObject entryRuleDtCFuture() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCFuture = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:5761:50: (iv_ruleDtCFuture= ruleDtCFuture EOF ) |
| // InternalEntityGrammar.g:5762:2: iv_ruleDtCFuture= ruleDtCFuture EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCFutureRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCFuture=ruleDtCFuture(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCFuture; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCFuture" |
| |
| |
| // $ANTLR start "ruleDtCFuture" |
| // InternalEntityGrammar.g:5768:1: ruleDtCFuture returns [EObject current=null] : ( () otherlv_1= 'isFuture' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ; |
| public final EObject ruleDtCFuture() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| AntlrDatatypeRuleToken lv_msgCode_6_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_9_0 = null; |
| |
| Enumerator lv_severity_12_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:5774:2: ( ( () otherlv_1= 'isFuture' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ) |
| // InternalEntityGrammar.g:5775:2: ( () otherlv_1= 'isFuture' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| { |
| // InternalEntityGrammar.g:5775:2: ( () otherlv_1= 'isFuture' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| // InternalEntityGrammar.g:5776:3: () otherlv_1= 'isFuture' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| { |
| // InternalEntityGrammar.g:5776:3: () |
| // InternalEntityGrammar.g:5777:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCFutureAccess().getLDtCFutureAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,87,FOLLOW_94); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCFutureAccess().getIsFutureKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:5787:3: (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| int alt149=2; |
| int LA149_0 = input.LA(1); |
| |
| if ( (LA149_0==38) ) { |
| alt149=1; |
| } |
| switch (alt149) { |
| case 1 : |
| // InternalEntityGrammar.g:5788:4: otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' |
| { |
| otherlv_2=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCFutureAccess().getLeftSquareBracketKeyword_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:5792:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:5793:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:5793:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:5794:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1()); |
| // InternalEntityGrammar.g:5797:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:5798:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:5798:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop148: |
| do { |
| int alt148=4; |
| int LA148_0 = input.LA(1); |
| |
| if ( LA148_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 0) ) { |
| alt148=1; |
| } |
| else if ( LA148_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 1) ) { |
| alt148=2; |
| } |
| else if ( LA148_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 2) ) { |
| alt148=3; |
| } |
| |
| |
| switch (alt148) { |
| case 1 : |
| // InternalEntityGrammar.g:5799:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5799:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5800:6: {...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCFuture", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:5800:109: ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5801:7: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 0); |
| // InternalEntityGrammar.g:5804:10: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5804:11: {...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCFuture", "true"); |
| } |
| // InternalEntityGrammar.g:5804:20: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5804:21: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| { |
| otherlv_4=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCFutureAccess().getMsgCodeKeyword_2_1_0_0()); |
| |
| } |
| otherlv_5=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtCFutureAccess().getEqualsSignKeyword_2_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:5812:10: ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5813:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5813:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5814:12: lv_msgCode_6_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCFutureAccess().getMsgCodeQualifiedNameParserRuleCall_2_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_6_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCFutureRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:5837:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5837:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5838:6: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCFuture", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:5838:109: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5839:7: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 1); |
| // InternalEntityGrammar.g:5842:10: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5842:11: {...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCFuture", "true"); |
| } |
| // InternalEntityGrammar.g:5842:20: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5842:21: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| { |
| otherlv_7=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCFutureAccess().getMsgI18nKeyKeyword_2_1_1_0()); |
| |
| } |
| otherlv_8=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtCFutureAccess().getEqualsSignKeyword_2_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:5850:10: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5851:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5851:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5852:12: lv_msgI18nKey_9_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCFutureAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_9_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCFutureRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:5875:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5875:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5876:6: {...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCFuture", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:5876:109: ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:5877:7: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1(), 2); |
| // InternalEntityGrammar.g:5880:10: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:5880:11: {...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCFuture", "true"); |
| } |
| // InternalEntityGrammar.g:5880:20: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:5880:21: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_10=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCFutureAccess().getSeverityKeyword_2_1_2_0()); |
| |
| } |
| otherlv_11=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDtCFutureAccess().getEqualsSignKeyword_2_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:5888:10: ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:5889:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:5889:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:5890:12: lv_severity_12_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCFutureAccess().getSeverityConstraintSeverityEnumRuleCall_2_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_12_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCFutureRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_12_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop148; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| otherlv_13=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCFutureAccess().getRightSquareBracketKeyword_2_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCFuture" |
| |
| |
| // $ANTLR start "entryRuleDtCPast" |
| // InternalEntityGrammar.g:5929:1: entryRuleDtCPast returns [EObject current=null] : iv_ruleDtCPast= ruleDtCPast EOF ; |
| public final EObject entryRuleDtCPast() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCPast = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:5929:48: (iv_ruleDtCPast= ruleDtCPast EOF ) |
| // InternalEntityGrammar.g:5930:2: iv_ruleDtCPast= ruleDtCPast EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCPastRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCPast=ruleDtCPast(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCPast; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCPast" |
| |
| |
| // $ANTLR start "ruleDtCPast" |
| // InternalEntityGrammar.g:5936:1: ruleDtCPast returns [EObject current=null] : ( () otherlv_1= 'isPast' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ; |
| public final EObject ruleDtCPast() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| AntlrDatatypeRuleToken lv_msgCode_6_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_9_0 = null; |
| |
| Enumerator lv_severity_12_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:5942:2: ( ( () otherlv_1= 'isPast' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ) |
| // InternalEntityGrammar.g:5943:2: ( () otherlv_1= 'isPast' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| { |
| // InternalEntityGrammar.g:5943:2: ( () otherlv_1= 'isPast' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| // InternalEntityGrammar.g:5944:3: () otherlv_1= 'isPast' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| { |
| // InternalEntityGrammar.g:5944:3: () |
| // InternalEntityGrammar.g:5945:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCPastAccess().getLDtCPastAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,88,FOLLOW_94); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCPastAccess().getIsPastKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:5955:3: (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| int alt151=2; |
| int LA151_0 = input.LA(1); |
| |
| if ( (LA151_0==38) ) { |
| alt151=1; |
| } |
| switch (alt151) { |
| case 1 : |
| // InternalEntityGrammar.g:5956:4: otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' |
| { |
| otherlv_2=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCPastAccess().getLeftSquareBracketKeyword_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:5960:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:5961:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:5961:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:5962:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1()); |
| // InternalEntityGrammar.g:5965:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:5966:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:5966:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop150: |
| do { |
| int alt150=4; |
| int LA150_0 = input.LA(1); |
| |
| if ( LA150_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 0) ) { |
| alt150=1; |
| } |
| else if ( LA150_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 1) ) { |
| alt150=2; |
| } |
| else if ( LA150_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 2) ) { |
| alt150=3; |
| } |
| |
| |
| switch (alt150) { |
| case 1 : |
| // InternalEntityGrammar.g:5967:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:5967:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:5968:6: {...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCPast", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:5968:107: ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:5969:7: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 0); |
| // InternalEntityGrammar.g:5972:10: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:5972:11: {...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCPast", "true"); |
| } |
| // InternalEntityGrammar.g:5972:20: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:5972:21: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| { |
| otherlv_4=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCPastAccess().getMsgCodeKeyword_2_1_0_0()); |
| |
| } |
| otherlv_5=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtCPastAccess().getEqualsSignKeyword_2_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:5980:10: ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:5981:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:5981:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:5982:12: lv_msgCode_6_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCPastAccess().getMsgCodeQualifiedNameParserRuleCall_2_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_6_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCPastRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:6005:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6005:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6006:6: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCPast", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:6006:107: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6007:7: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 1); |
| // InternalEntityGrammar.g:6010:10: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6010:11: {...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCPast", "true"); |
| } |
| // InternalEntityGrammar.g:6010:20: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6010:21: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| { |
| otherlv_7=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCPastAccess().getMsgI18nKeyKeyword_2_1_1_0()); |
| |
| } |
| otherlv_8=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtCPastAccess().getEqualsSignKeyword_2_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:6018:10: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6019:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6019:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6020:12: lv_msgI18nKey_9_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCPastAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_9_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCPastRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:6043:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6043:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6044:6: {...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCPast", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:6044:107: ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:6045:7: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1(), 2); |
| // InternalEntityGrammar.g:6048:10: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:6048:11: {...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCPast", "true"); |
| } |
| // InternalEntityGrammar.g:6048:20: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:6048:21: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_10=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCPastAccess().getSeverityKeyword_2_1_2_0()); |
| |
| } |
| otherlv_11=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDtCPastAccess().getEqualsSignKeyword_2_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:6056:10: ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:6057:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:6057:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:6058:12: lv_severity_12_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCPastAccess().getSeverityConstraintSeverityEnumRuleCall_2_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_12_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCPastRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_12_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop150; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCPastAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| otherlv_13=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCPastAccess().getRightSquareBracketKeyword_2_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCPast" |
| |
| |
| // $ANTLR start "entryRuleDtCNumericMax" |
| // InternalEntityGrammar.g:6097:1: entryRuleDtCNumericMax returns [EObject current=null] : iv_ruleDtCNumericMax= ruleDtCNumericMax EOF ; |
| public final EObject entryRuleDtCNumericMax() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCNumericMax = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:6097:54: (iv_ruleDtCNumericMax= ruleDtCNumericMax EOF ) |
| // InternalEntityGrammar.g:6098:2: iv_ruleDtCNumericMax= ruleDtCNumericMax EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCNumericMaxRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCNumericMax=ruleDtCNumericMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCNumericMax; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCNumericMax" |
| |
| |
| // $ANTLR start "ruleDtCNumericMax" |
| // InternalEntityGrammar.g:6104:1: ruleDtCNumericMax returns [EObject current=null] : ( () otherlv_1= 'maxNumber' otherlv_2= '(' ( (lv_max_3_0= ruleLInt ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) ; |
| public final EObject ruleDtCNumericMax() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| Token otherlv_7=null; |
| Token otherlv_9=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token otherlv_13=null; |
| Token otherlv_15=null; |
| Token otherlv_16=null; |
| AntlrDatatypeRuleToken lv_max_3_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgCode_8_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_11_0 = null; |
| |
| Enumerator lv_severity_14_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:6110:2: ( ( () otherlv_1= 'maxNumber' otherlv_2= '(' ( (lv_max_3_0= ruleLInt ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) ) |
| // InternalEntityGrammar.g:6111:2: ( () otherlv_1= 'maxNumber' otherlv_2= '(' ( (lv_max_3_0= ruleLInt ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) |
| { |
| // InternalEntityGrammar.g:6111:2: ( () otherlv_1= 'maxNumber' otherlv_2= '(' ( (lv_max_3_0= ruleLInt ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) |
| // InternalEntityGrammar.g:6112:3: () otherlv_1= 'maxNumber' otherlv_2= '(' ( (lv_max_3_0= ruleLInt ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' |
| { |
| // InternalEntityGrammar.g:6112:3: () |
| // InternalEntityGrammar.g:6113:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCNumericMaxAccess().getLDtCNumericMaxAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,89,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCNumericMaxAccess().getMaxNumberKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_98); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCNumericMaxAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:6127:3: ( (lv_max_3_0= ruleLInt ) ) |
| // InternalEntityGrammar.g:6128:4: (lv_max_3_0= ruleLInt ) |
| { |
| // InternalEntityGrammar.g:6128:4: (lv_max_3_0= ruleLInt ) |
| // InternalEntityGrammar.g:6129:5: lv_max_3_0= ruleLInt |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getMaxLIntParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_99); |
| lv_max_3_0=ruleLInt(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule()); |
| } |
| set( |
| current, |
| "max", |
| lv_max_3_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.LInt"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:6146:3: (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? |
| int alt153=2; |
| int LA153_0 = input.LA(1); |
| |
| if ( (LA153_0==38) ) { |
| alt153=1; |
| } |
| switch (alt153) { |
| case 1 : |
| // InternalEntityGrammar.g:6147:4: otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' |
| { |
| otherlv_4=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCNumericMaxAccess().getLeftSquareBracketKeyword_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:6151:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:6152:5: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:6152:5: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:6153:6: ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1()); |
| // InternalEntityGrammar.g:6156:6: ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:6157:7: ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:6157:7: ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop152: |
| do { |
| int alt152=4; |
| int LA152_0 = input.LA(1); |
| |
| if ( LA152_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 0) ) { |
| alt152=1; |
| } |
| else if ( LA152_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 1) ) { |
| alt152=2; |
| } |
| else if ( LA152_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 2) ) { |
| alt152=3; |
| } |
| |
| |
| switch (alt152) { |
| case 1 : |
| // InternalEntityGrammar.g:6158:5: ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6158:5: ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6159:6: {...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:6159:113: ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6160:7: ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 0); |
| // InternalEntityGrammar.g:6163:10: ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6163:11: {...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMax", "true"); |
| } |
| // InternalEntityGrammar.g:6163:20: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6163:21: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| { |
| otherlv_6=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDtCNumericMaxAccess().getMsgCodeKeyword_4_1_0_0()); |
| |
| } |
| otherlv_7=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCNumericMaxAccess().getEqualsSignKeyword_4_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:6171:10: ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6172:11: (lv_msgCode_8_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6172:11: (lv_msgCode_8_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6173:12: lv_msgCode_8_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getMsgCodeQualifiedNameParserRuleCall_4_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_8_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_8_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:6196:5: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6196:5: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6197:6: {...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:6197:113: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6198:7: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 1); |
| // InternalEntityGrammar.g:6201:10: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6201:11: {...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMax", "true"); |
| } |
| // InternalEntityGrammar.g:6201:20: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6201:21: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| { |
| otherlv_9=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDtCNumericMaxAccess().getMsgI18nKeyKeyword_4_1_1_0()); |
| |
| } |
| otherlv_10=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCNumericMaxAccess().getEqualsSignKeyword_4_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:6209:10: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6210:11: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6210:11: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6211:12: lv_msgI18nKey_11_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_11_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_11_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:6234:5: ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6234:5: ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6235:6: {...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:6235:113: ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:6236:7: ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1(), 2); |
| // InternalEntityGrammar.g:6239:10: ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:6239:11: {...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMax", "true"); |
| } |
| // InternalEntityGrammar.g:6239:20: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:6239:21: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_12=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDtCNumericMaxAccess().getSeverityKeyword_4_1_2_0()); |
| |
| } |
| otherlv_13=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCNumericMaxAccess().getEqualsSignKeyword_4_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:6247:10: ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:6248:11: (lv_severity_14_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:6248:11: (lv_severity_14_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:6249:12: lv_severity_14_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getSeverityConstraintSeverityEnumRuleCall_4_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_14_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_14_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop152; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| otherlv_15=(Token)match(input,39,FOLLOW_9); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDtCNumericMaxAccess().getRightSquareBracketKeyword_4_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_16=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getDtCNumericMaxAccess().getRightParenthesisKeyword_5()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCNumericMax" |
| |
| |
| // $ANTLR start "entryRuleDtCNumericMin" |
| // InternalEntityGrammar.g:6292:1: entryRuleDtCNumericMin returns [EObject current=null] : iv_ruleDtCNumericMin= ruleDtCNumericMin EOF ; |
| public final EObject entryRuleDtCNumericMin() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCNumericMin = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:6292:54: (iv_ruleDtCNumericMin= ruleDtCNumericMin EOF ) |
| // InternalEntityGrammar.g:6293:2: iv_ruleDtCNumericMin= ruleDtCNumericMin EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCNumericMinRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCNumericMin=ruleDtCNumericMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCNumericMin; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCNumericMin" |
| |
| |
| // $ANTLR start "ruleDtCNumericMin" |
| // InternalEntityGrammar.g:6299:1: ruleDtCNumericMin returns [EObject current=null] : ( () otherlv_1= 'minNumber' otherlv_2= '(' ( (lv_min_3_0= ruleLInt ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) ; |
| public final EObject ruleDtCNumericMin() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| Token otherlv_7=null; |
| Token otherlv_9=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token otherlv_13=null; |
| Token otherlv_15=null; |
| Token otherlv_16=null; |
| AntlrDatatypeRuleToken lv_min_3_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgCode_8_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_11_0 = null; |
| |
| Enumerator lv_severity_14_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:6305:2: ( ( () otherlv_1= 'minNumber' otherlv_2= '(' ( (lv_min_3_0= ruleLInt ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) ) |
| // InternalEntityGrammar.g:6306:2: ( () otherlv_1= 'minNumber' otherlv_2= '(' ( (lv_min_3_0= ruleLInt ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) |
| { |
| // InternalEntityGrammar.g:6306:2: ( () otherlv_1= 'minNumber' otherlv_2= '(' ( (lv_min_3_0= ruleLInt ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) |
| // InternalEntityGrammar.g:6307:3: () otherlv_1= 'minNumber' otherlv_2= '(' ( (lv_min_3_0= ruleLInt ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' |
| { |
| // InternalEntityGrammar.g:6307:3: () |
| // InternalEntityGrammar.g:6308:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCNumericMinAccess().getLDtCNumericMinAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,90,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCNumericMinAccess().getMinNumberKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_98); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCNumericMinAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:6322:3: ( (lv_min_3_0= ruleLInt ) ) |
| // InternalEntityGrammar.g:6323:4: (lv_min_3_0= ruleLInt ) |
| { |
| // InternalEntityGrammar.g:6323:4: (lv_min_3_0= ruleLInt ) |
| // InternalEntityGrammar.g:6324:5: lv_min_3_0= ruleLInt |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNumericMinAccess().getMinLIntParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_99); |
| lv_min_3_0=ruleLInt(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNumericMinRule()); |
| } |
| set( |
| current, |
| "min", |
| lv_min_3_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.LInt"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:6341:3: (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? |
| int alt155=2; |
| int LA155_0 = input.LA(1); |
| |
| if ( (LA155_0==38) ) { |
| alt155=1; |
| } |
| switch (alt155) { |
| case 1 : |
| // InternalEntityGrammar.g:6342:4: otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' |
| { |
| otherlv_4=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCNumericMinAccess().getLeftSquareBracketKeyword_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:6346:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:6347:5: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:6347:5: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:6348:6: ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1()); |
| // InternalEntityGrammar.g:6351:6: ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:6352:7: ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:6352:7: ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop154: |
| do { |
| int alt154=4; |
| int LA154_0 = input.LA(1); |
| |
| if ( LA154_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 0) ) { |
| alt154=1; |
| } |
| else if ( LA154_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 1) ) { |
| alt154=2; |
| } |
| else if ( LA154_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 2) ) { |
| alt154=3; |
| } |
| |
| |
| switch (alt154) { |
| case 1 : |
| // InternalEntityGrammar.g:6353:5: ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6353:5: ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6354:6: {...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:6354:113: ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6355:7: ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 0); |
| // InternalEntityGrammar.g:6358:10: ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6358:11: {...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMin", "true"); |
| } |
| // InternalEntityGrammar.g:6358:20: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6358:21: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| { |
| otherlv_6=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDtCNumericMinAccess().getMsgCodeKeyword_4_1_0_0()); |
| |
| } |
| otherlv_7=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCNumericMinAccess().getEqualsSignKeyword_4_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:6366:10: ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6367:11: (lv_msgCode_8_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6367:11: (lv_msgCode_8_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6368:12: lv_msgCode_8_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNumericMinAccess().getMsgCodeQualifiedNameParserRuleCall_4_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_8_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNumericMinRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_8_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:6391:5: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6391:5: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6392:6: {...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:6392:113: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6393:7: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 1); |
| // InternalEntityGrammar.g:6396:10: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6396:11: {...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMin", "true"); |
| } |
| // InternalEntityGrammar.g:6396:20: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6396:21: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| { |
| otherlv_9=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDtCNumericMinAccess().getMsgI18nKeyKeyword_4_1_1_0()); |
| |
| } |
| otherlv_10=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCNumericMinAccess().getEqualsSignKeyword_4_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:6404:10: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6405:11: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6405:11: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6406:12: lv_msgI18nKey_11_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNumericMinAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_11_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNumericMinRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_11_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:6429:5: ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6429:5: ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6430:6: {...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:6430:113: ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:6431:7: ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1(), 2); |
| // InternalEntityGrammar.g:6434:10: ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:6434:11: {...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNumericMin", "true"); |
| } |
| // InternalEntityGrammar.g:6434:20: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:6434:21: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_12=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDtCNumericMinAccess().getSeverityKeyword_4_1_2_0()); |
| |
| } |
| otherlv_13=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCNumericMinAccess().getEqualsSignKeyword_4_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:6442:10: ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:6443:11: (lv_severity_14_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:6443:11: (lv_severity_14_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:6444:12: lv_severity_14_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNumericMinAccess().getSeverityConstraintSeverityEnumRuleCall_4_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_14_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNumericMinRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_14_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop154; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| otherlv_15=(Token)match(input,39,FOLLOW_9); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDtCNumericMinAccess().getRightSquareBracketKeyword_4_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_16=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getDtCNumericMinAccess().getRightParenthesisKeyword_5()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCNumericMin" |
| |
| |
| // $ANTLR start "entryRuleDtCNotNull" |
| // InternalEntityGrammar.g:6487:1: entryRuleDtCNotNull returns [EObject current=null] : iv_ruleDtCNotNull= ruleDtCNotNull EOF ; |
| public final EObject entryRuleDtCNotNull() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCNotNull = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:6487:51: (iv_ruleDtCNotNull= ruleDtCNotNull EOF ) |
| // InternalEntityGrammar.g:6488:2: iv_ruleDtCNotNull= ruleDtCNotNull EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCNotNullRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCNotNull=ruleDtCNotNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCNotNull; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCNotNull" |
| |
| |
| // $ANTLR start "ruleDtCNotNull" |
| // InternalEntityGrammar.g:6494:1: ruleDtCNotNull returns [EObject current=null] : ( () otherlv_1= 'isNotNull' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ; |
| public final EObject ruleDtCNotNull() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| AntlrDatatypeRuleToken lv_msgCode_6_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_9_0 = null; |
| |
| Enumerator lv_severity_12_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:6500:2: ( ( () otherlv_1= 'isNotNull' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ) |
| // InternalEntityGrammar.g:6501:2: ( () otherlv_1= 'isNotNull' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| { |
| // InternalEntityGrammar.g:6501:2: ( () otherlv_1= 'isNotNull' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| // InternalEntityGrammar.g:6502:3: () otherlv_1= 'isNotNull' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| { |
| // InternalEntityGrammar.g:6502:3: () |
| // InternalEntityGrammar.g:6503:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCNotNullAccess().getLDtCNotNullAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,91,FOLLOW_94); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCNotNullAccess().getIsNotNullKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:6513:3: (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| int alt157=2; |
| int LA157_0 = input.LA(1); |
| |
| if ( (LA157_0==38) ) { |
| alt157=1; |
| } |
| switch (alt157) { |
| case 1 : |
| // InternalEntityGrammar.g:6514:4: otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' |
| { |
| otherlv_2=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCNotNullAccess().getLeftSquareBracketKeyword_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:6518:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:6519:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:6519:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:6520:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1()); |
| // InternalEntityGrammar.g:6523:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:6524:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:6524:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop156: |
| do { |
| int alt156=4; |
| int LA156_0 = input.LA(1); |
| |
| if ( LA156_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 0) ) { |
| alt156=1; |
| } |
| else if ( LA156_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 1) ) { |
| alt156=2; |
| } |
| else if ( LA156_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 2) ) { |
| alt156=3; |
| } |
| |
| |
| switch (alt156) { |
| case 1 : |
| // InternalEntityGrammar.g:6525:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6525:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6526:6: {...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNotNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:6526:110: ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6527:7: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 0); |
| // InternalEntityGrammar.g:6530:10: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6530:11: {...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNotNull", "true"); |
| } |
| // InternalEntityGrammar.g:6530:20: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6530:21: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| { |
| otherlv_4=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCNotNullAccess().getMsgCodeKeyword_2_1_0_0()); |
| |
| } |
| otherlv_5=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtCNotNullAccess().getEqualsSignKeyword_2_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:6538:10: ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6539:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6539:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6540:12: lv_msgCode_6_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNotNullAccess().getMsgCodeQualifiedNameParserRuleCall_2_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_6_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNotNullRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:6563:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6563:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6564:6: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNotNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:6564:110: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6565:7: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 1); |
| // InternalEntityGrammar.g:6568:10: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6568:11: {...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNotNull", "true"); |
| } |
| // InternalEntityGrammar.g:6568:20: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6568:21: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| { |
| otherlv_7=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCNotNullAccess().getMsgI18nKeyKeyword_2_1_1_0()); |
| |
| } |
| otherlv_8=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtCNotNullAccess().getEqualsSignKeyword_2_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:6576:10: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6577:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6577:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6578:12: lv_msgI18nKey_9_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNotNullAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_9_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNotNullRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:6601:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6601:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6602:6: {...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNotNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:6602:110: ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:6603:7: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1(), 2); |
| // InternalEntityGrammar.g:6606:10: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:6606:11: {...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNotNull", "true"); |
| } |
| // InternalEntityGrammar.g:6606:20: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:6606:21: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_10=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCNotNullAccess().getSeverityKeyword_2_1_2_0()); |
| |
| } |
| otherlv_11=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDtCNotNullAccess().getEqualsSignKeyword_2_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:6614:10: ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:6615:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:6615:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:6616:12: lv_severity_12_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNotNullAccess().getSeverityConstraintSeverityEnumRuleCall_2_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_12_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNotNullRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_12_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop156; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| otherlv_13=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCNotNullAccess().getRightSquareBracketKeyword_2_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCNotNull" |
| |
| |
| // $ANTLR start "entryRuleDtCNull" |
| // InternalEntityGrammar.g:6655:1: entryRuleDtCNull returns [EObject current=null] : iv_ruleDtCNull= ruleDtCNull EOF ; |
| public final EObject entryRuleDtCNull() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCNull = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:6655:48: (iv_ruleDtCNull= ruleDtCNull EOF ) |
| // InternalEntityGrammar.g:6656:2: iv_ruleDtCNull= ruleDtCNull EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCNullRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCNull=ruleDtCNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCNull; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCNull" |
| |
| |
| // $ANTLR start "ruleDtCNull" |
| // InternalEntityGrammar.g:6662:1: ruleDtCNull returns [EObject current=null] : ( () otherlv_1= 'isNull' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ; |
| public final EObject ruleDtCNull() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| AntlrDatatypeRuleToken lv_msgCode_6_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_9_0 = null; |
| |
| Enumerator lv_severity_12_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:6668:2: ( ( () otherlv_1= 'isNull' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) ) |
| // InternalEntityGrammar.g:6669:2: ( () otherlv_1= 'isNull' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| { |
| // InternalEntityGrammar.g:6669:2: ( () otherlv_1= 'isNull' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? ) |
| // InternalEntityGrammar.g:6670:3: () otherlv_1= 'isNull' (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| { |
| // InternalEntityGrammar.g:6670:3: () |
| // InternalEntityGrammar.g:6671:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCNullAccess().getLDtCNullAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,92,FOLLOW_94); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCNullAccess().getIsNullKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:6681:3: (otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' )? |
| int alt159=2; |
| int LA159_0 = input.LA(1); |
| |
| if ( (LA159_0==38) ) { |
| alt159=1; |
| } |
| switch (alt159) { |
| case 1 : |
| // InternalEntityGrammar.g:6682:4: otherlv_2= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_13= ']' |
| { |
| otherlv_2=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCNullAccess().getLeftSquareBracketKeyword_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:6686:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:6687:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:6687:5: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:6688:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1()); |
| // InternalEntityGrammar.g:6691:6: ( ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:6692:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:6692:7: ( ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop158: |
| do { |
| int alt158=4; |
| int LA158_0 = input.LA(1); |
| |
| if ( LA158_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 0) ) { |
| alt158=1; |
| } |
| else if ( LA158_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 1) ) { |
| alt158=2; |
| } |
| else if ( LA158_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 2) ) { |
| alt158=3; |
| } |
| |
| |
| switch (alt158) { |
| case 1 : |
| // InternalEntityGrammar.g:6693:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6693:5: ({...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6694:6: {...}? => ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:6694:107: ( ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6695:7: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 0); |
| // InternalEntityGrammar.g:6698:10: ({...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6698:11: {...}? => (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNull", "true"); |
| } |
| // InternalEntityGrammar.g:6698:20: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6698:21: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| { |
| otherlv_4=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCNullAccess().getMsgCodeKeyword_2_1_0_0()); |
| |
| } |
| otherlv_5=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtCNullAccess().getEqualsSignKeyword_2_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:6706:10: ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6707:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6707:11: (lv_msgCode_6_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6708:12: lv_msgCode_6_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNullAccess().getMsgCodeQualifiedNameParserRuleCall_2_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_6_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNullRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_6_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:6731:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6731:5: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6732:6: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:6732:107: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6733:7: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 1); |
| // InternalEntityGrammar.g:6736:10: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6736:11: {...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNull", "true"); |
| } |
| // InternalEntityGrammar.g:6736:20: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6736:21: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| { |
| otherlv_7=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCNullAccess().getMsgI18nKeyKeyword_2_1_1_0()); |
| |
| } |
| otherlv_8=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtCNullAccess().getEqualsSignKeyword_2_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:6744:10: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6745:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6745:11: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6746:12: lv_msgI18nKey_9_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNullAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_9_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNullRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_9_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:6769:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6769:5: ({...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6770:6: {...}? => ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:6770:107: ( ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:6771:7: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1(), 2); |
| // InternalEntityGrammar.g:6774:10: ({...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:6774:11: {...}? => (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCNull", "true"); |
| } |
| // InternalEntityGrammar.g:6774:20: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:6774:21: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_10=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCNullAccess().getSeverityKeyword_2_1_2_0()); |
| |
| } |
| otherlv_11=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDtCNullAccess().getEqualsSignKeyword_2_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:6782:10: ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:6783:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:6783:11: (lv_severity_12_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:6784:12: lv_severity_12_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCNullAccess().getSeverityConstraintSeverityEnumRuleCall_2_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_12_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCNullRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_12_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop158; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCNullAccess().getUnorderedGroup_2_1()); |
| |
| } |
| |
| otherlv_13=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCNullAccess().getRightSquareBracketKeyword_2_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCNull" |
| |
| |
| // $ANTLR start "entryRuleDtCRegEx" |
| // InternalEntityGrammar.g:6823:1: entryRuleDtCRegEx returns [EObject current=null] : iv_ruleDtCRegEx= ruleDtCRegEx EOF ; |
| public final EObject entryRuleDtCRegEx() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCRegEx = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:6823:49: (iv_ruleDtCRegEx= ruleDtCRegEx EOF ) |
| // InternalEntityGrammar.g:6824:2: iv_ruleDtCRegEx= ruleDtCRegEx EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCRegExRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCRegEx=ruleDtCRegEx(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCRegEx; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCRegEx" |
| |
| |
| // $ANTLR start "ruleDtCRegEx" |
| // InternalEntityGrammar.g:6830:1: ruleDtCRegEx returns [EObject current=null] : ( () otherlv_1= 'regex' otherlv_2= '(' ( (lv_pattern_3_0= RULE_STRING ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) ; |
| public final EObject ruleDtCRegEx() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token lv_pattern_3_0=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| Token otherlv_7=null; |
| Token otherlv_9=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token otherlv_13=null; |
| Token otherlv_15=null; |
| Token otherlv_16=null; |
| AntlrDatatypeRuleToken lv_msgCode_8_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_11_0 = null; |
| |
| Enumerator lv_severity_14_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:6836:2: ( ( () otherlv_1= 'regex' otherlv_2= '(' ( (lv_pattern_3_0= RULE_STRING ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) ) |
| // InternalEntityGrammar.g:6837:2: ( () otherlv_1= 'regex' otherlv_2= '(' ( (lv_pattern_3_0= RULE_STRING ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) |
| { |
| // InternalEntityGrammar.g:6837:2: ( () otherlv_1= 'regex' otherlv_2= '(' ( (lv_pattern_3_0= RULE_STRING ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' ) |
| // InternalEntityGrammar.g:6838:3: () otherlv_1= 'regex' otherlv_2= '(' ( (lv_pattern_3_0= RULE_STRING ) ) (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? otherlv_16= ')' |
| { |
| // InternalEntityGrammar.g:6838:3: () |
| // InternalEntityGrammar.g:6839:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCRegExAccess().getLDtCRegExAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,93,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCRegExAccess().getRegexKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_18); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCRegExAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:6853:3: ( (lv_pattern_3_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:6854:4: (lv_pattern_3_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:6854:4: (lv_pattern_3_0= RULE_STRING ) |
| // InternalEntityGrammar.g:6855:5: lv_pattern_3_0= RULE_STRING |
| { |
| lv_pattern_3_0=(Token)match(input,RULE_STRING,FOLLOW_99); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_pattern_3_0, grammarAccess.getDtCRegExAccess().getPatternSTRINGTerminalRuleCall_3_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtCRegExRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "pattern", |
| lv_pattern_3_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:6871:3: (otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' )? |
| int alt161=2; |
| int LA161_0 = input.LA(1); |
| |
| if ( (LA161_0==38) ) { |
| alt161=1; |
| } |
| switch (alt161) { |
| case 1 : |
| // InternalEntityGrammar.g:6872:4: otherlv_4= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_15= ']' |
| { |
| otherlv_4=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCRegExAccess().getLeftSquareBracketKeyword_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:6876:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:6877:5: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:6877:5: ( ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:6878:6: ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1()); |
| // InternalEntityGrammar.g:6881:6: ( ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:6882:7: ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:6882:7: ( ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop160: |
| do { |
| int alt160=4; |
| int LA160_0 = input.LA(1); |
| |
| if ( LA160_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 0) ) { |
| alt160=1; |
| } |
| else if ( LA160_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 1) ) { |
| alt160=2; |
| } |
| else if ( LA160_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 2) ) { |
| alt160=3; |
| } |
| |
| |
| switch (alt160) { |
| case 1 : |
| // InternalEntityGrammar.g:6883:5: ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6883:5: ({...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6884:6: {...}? => ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCRegEx", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:6884:108: ( ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6885:7: ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 0); |
| // InternalEntityGrammar.g:6888:10: ({...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6888:11: {...}? => (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCRegEx", "true"); |
| } |
| // InternalEntityGrammar.g:6888:20: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6888:21: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| { |
| otherlv_6=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDtCRegExAccess().getMsgCodeKeyword_4_1_0_0()); |
| |
| } |
| otherlv_7=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCRegExAccess().getEqualsSignKeyword_4_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:6896:10: ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6897:11: (lv_msgCode_8_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6897:11: (lv_msgCode_8_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6898:12: lv_msgCode_8_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCRegExAccess().getMsgCodeQualifiedNameParserRuleCall_4_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_8_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCRegExRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_8_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:6921:5: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6921:5: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6922:6: {...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCRegEx", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:6922:108: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:6923:7: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 1); |
| // InternalEntityGrammar.g:6926:10: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:6926:11: {...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCRegEx", "true"); |
| } |
| // InternalEntityGrammar.g:6926:20: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:6926:21: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| { |
| otherlv_9=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDtCRegExAccess().getMsgI18nKeyKeyword_4_1_1_0()); |
| |
| } |
| otherlv_10=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCRegExAccess().getEqualsSignKeyword_4_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:6934:10: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:6935:11: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:6935:11: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:6936:12: lv_msgI18nKey_11_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCRegExAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_11_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCRegExRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_11_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:6959:5: ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:6959:5: ({...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:6960:6: {...}? => ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCRegEx", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:6960:108: ( ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:6961:7: ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1(), 2); |
| // InternalEntityGrammar.g:6964:10: ({...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:6964:11: {...}? => (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCRegEx", "true"); |
| } |
| // InternalEntityGrammar.g:6964:20: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:6964:21: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_12=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDtCRegExAccess().getSeverityKeyword_4_1_2_0()); |
| |
| } |
| otherlv_13=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCRegExAccess().getEqualsSignKeyword_4_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:6972:10: ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:6973:11: (lv_severity_14_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:6973:11: (lv_severity_14_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:6974:12: lv_severity_14_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCRegExAccess().getSeverityConstraintSeverityEnumRuleCall_4_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_14_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCRegExRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_14_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop160; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4_1()); |
| |
| } |
| |
| otherlv_15=(Token)match(input,39,FOLLOW_9); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDtCRegExAccess().getRightSquareBracketKeyword_4_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_16=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getDtCRegExAccess().getRightParenthesisKeyword_5()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCRegEx" |
| |
| |
| // $ANTLR start "entryRuleDtCSize" |
| // InternalEntityGrammar.g:7017:1: entryRuleDtCSize returns [EObject current=null] : iv_ruleDtCSize= ruleDtCSize EOF ; |
| public final EObject entryRuleDtCSize() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCSize = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7017:48: (iv_ruleDtCSize= ruleDtCSize EOF ) |
| // InternalEntityGrammar.g:7018:2: iv_ruleDtCSize= ruleDtCSize EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCSizeRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleDtCSize=ruleDtCSize(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCSize; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCSize" |
| |
| |
| // $ANTLR start "ruleDtCSize" |
| // InternalEntityGrammar.g:7024:1: ruleDtCSize returns [EObject current=null] : ( () otherlv_1= 'minMaxSize' otherlv_2= '(' ( (lv_min_3_0= RULE_INT ) ) otherlv_4= ',' ( (lv_max_5_0= RULE_INT ) ) (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? otherlv_18= ')' ) ; |
| public final EObject ruleDtCSize() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token lv_min_3_0=null; |
| Token otherlv_4=null; |
| Token lv_max_5_0=null; |
| Token otherlv_6=null; |
| Token otherlv_8=null; |
| Token otherlv_9=null; |
| Token otherlv_11=null; |
| Token otherlv_12=null; |
| Token otherlv_14=null; |
| Token otherlv_15=null; |
| Token otherlv_17=null; |
| Token otherlv_18=null; |
| AntlrDatatypeRuleToken lv_msgCode_10_0 = null; |
| |
| AntlrDatatypeRuleToken lv_msgI18nKey_13_0 = null; |
| |
| Enumerator lv_severity_16_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7030:2: ( ( () otherlv_1= 'minMaxSize' otherlv_2= '(' ( (lv_min_3_0= RULE_INT ) ) otherlv_4= ',' ( (lv_max_5_0= RULE_INT ) ) (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? otherlv_18= ')' ) ) |
| // InternalEntityGrammar.g:7031:2: ( () otherlv_1= 'minMaxSize' otherlv_2= '(' ( (lv_min_3_0= RULE_INT ) ) otherlv_4= ',' ( (lv_max_5_0= RULE_INT ) ) (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? otherlv_18= ')' ) |
| { |
| // InternalEntityGrammar.g:7031:2: ( () otherlv_1= 'minMaxSize' otherlv_2= '(' ( (lv_min_3_0= RULE_INT ) ) otherlv_4= ',' ( (lv_max_5_0= RULE_INT ) ) (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? otherlv_18= ')' ) |
| // InternalEntityGrammar.g:7032:3: () otherlv_1= 'minMaxSize' otherlv_2= '(' ( (lv_min_3_0= RULE_INT ) ) otherlv_4= ',' ( (lv_max_5_0= RULE_INT ) ) (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? otherlv_18= ')' |
| { |
| // InternalEntityGrammar.g:7032:3: () |
| // InternalEntityGrammar.g:7033:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCSizeAccess().getLDtCSizeAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,94,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCSizeAccess().getMinMaxSizeKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_37); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCSizeAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:7047:3: ( (lv_min_3_0= RULE_INT ) ) |
| // InternalEntityGrammar.g:7048:4: (lv_min_3_0= RULE_INT ) |
| { |
| // InternalEntityGrammar.g:7048:4: (lv_min_3_0= RULE_INT ) |
| // InternalEntityGrammar.g:7049:5: lv_min_3_0= RULE_INT |
| { |
| lv_min_3_0=(Token)match(input,RULE_INT,FOLLOW_100); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_min_3_0, grammarAccess.getDtCSizeAccess().getMinINTTerminalRuleCall_3_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtCSizeRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "min", |
| lv_min_3_0, |
| "org.eclipse.xtext.xbase.Xbase.INT"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_4=(Token)match(input,30,FOLLOW_37); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCSizeAccess().getCommaKeyword_4()); |
| |
| } |
| // InternalEntityGrammar.g:7069:3: ( (lv_max_5_0= RULE_INT ) ) |
| // InternalEntityGrammar.g:7070:4: (lv_max_5_0= RULE_INT ) |
| { |
| // InternalEntityGrammar.g:7070:4: (lv_max_5_0= RULE_INT ) |
| // InternalEntityGrammar.g:7071:5: lv_max_5_0= RULE_INT |
| { |
| lv_max_5_0=(Token)match(input,RULE_INT,FOLLOW_99); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_max_5_0, grammarAccess.getDtCSizeAccess().getMaxINTTerminalRuleCall_5_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtCSizeRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "max", |
| lv_max_5_0, |
| "org.eclipse.xtext.xbase.Xbase.INT"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:7087:3: (otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' )? |
| int alt163=2; |
| int LA163_0 = input.LA(1); |
| |
| if ( (LA163_0==38) ) { |
| alt163=1; |
| } |
| switch (alt163) { |
| case 1 : |
| // InternalEntityGrammar.g:7088:4: otherlv_6= '[' ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) otherlv_17= ']' |
| { |
| otherlv_6=(Token)match(input,38,FOLLOW_95); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDtCSizeAccess().getLeftSquareBracketKeyword_6_0()); |
| |
| } |
| // InternalEntityGrammar.g:7092:4: ( ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) ) |
| // InternalEntityGrammar.g:7093:5: ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| { |
| // InternalEntityGrammar.g:7093:5: ( ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) ) |
| // InternalEntityGrammar.g:7094:6: ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1()); |
| // InternalEntityGrammar.g:7097:6: ( ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* ) |
| // InternalEntityGrammar.g:7098:7: ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| { |
| // InternalEntityGrammar.g:7098:7: ( ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) )* |
| loop162: |
| do { |
| int alt162=4; |
| int LA162_0 = input.LA(1); |
| |
| if ( LA162_0 == 80 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 0) ) { |
| alt162=1; |
| } |
| else if ( LA162_0 == 81 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 1) ) { |
| alt162=2; |
| } |
| else if ( LA162_0 == 82 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 2) ) { |
| alt162=3; |
| } |
| |
| |
| switch (alt162) { |
| case 1 : |
| // InternalEntityGrammar.g:7099:5: ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:7099:5: ({...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:7100:6: {...}? => ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCSize", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 0)"); |
| } |
| // InternalEntityGrammar.g:7100:107: ( ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:7101:7: ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 0); |
| // InternalEntityGrammar.g:7104:10: ({...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:7104:11: {...}? => (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCSize", "true"); |
| } |
| // InternalEntityGrammar.g:7104:20: (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:7104:21: otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) |
| { |
| otherlv_8=(Token)match(input,80,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtCSizeAccess().getMsgCodeKeyword_6_1_0_0()); |
| |
| } |
| otherlv_9=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDtCSizeAccess().getEqualsSignKeyword_6_1_0_1()); |
| |
| } |
| // InternalEntityGrammar.g:7112:10: ( (lv_msgCode_10_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:7113:11: (lv_msgCode_10_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:7113:11: (lv_msgCode_10_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:7114:12: lv_msgCode_10_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCSizeAccess().getMsgCodeQualifiedNameParserRuleCall_6_1_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgCode_10_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCSizeRule()); |
| } |
| set( |
| current, |
| "msgCode", |
| lv_msgCode_10_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:7137:5: ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:7137:5: ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) |
| // InternalEntityGrammar.g:7138:6: {...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCSize", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 1)"); |
| } |
| // InternalEntityGrammar.g:7138:107: ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) |
| // InternalEntityGrammar.g:7139:7: ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 1); |
| // InternalEntityGrammar.g:7142:10: ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) |
| // InternalEntityGrammar.g:7142:11: {...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCSize", "true"); |
| } |
| // InternalEntityGrammar.g:7142:20: (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:7142:21: otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) |
| { |
| otherlv_11=(Token)match(input,81,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDtCSizeAccess().getMsgI18nKeyKeyword_6_1_1_0()); |
| |
| } |
| otherlv_12=(Token)match(input,65,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDtCSizeAccess().getEqualsSignKeyword_6_1_1_1()); |
| |
| } |
| // InternalEntityGrammar.g:7150:10: ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:7151:11: (lv_msgI18nKey_13_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:7151:11: (lv_msgI18nKey_13_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:7152:12: lv_msgI18nKey_13_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCSizeAccess().getMsgI18nKeyQualifiedNameParserRuleCall_6_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_msgI18nKey_13_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCSizeRule()); |
| } |
| set( |
| current, |
| "msgI18nKey", |
| lv_msgI18nKey_13_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:7175:5: ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:7175:5: ({...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) ) |
| // InternalEntityGrammar.g:7176:6: {...}? => ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCSize", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 2)"); |
| } |
| // InternalEntityGrammar.g:7176:107: ( ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) ) |
| // InternalEntityGrammar.g:7177:7: ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1(), 2); |
| // InternalEntityGrammar.g:7180:10: ({...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) ) |
| // InternalEntityGrammar.g:7180:11: {...}? => (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCSize", "true"); |
| } |
| // InternalEntityGrammar.g:7180:20: (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) ) |
| // InternalEntityGrammar.g:7180:21: otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_14=(Token)match(input,82,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_14, grammarAccess.getDtCSizeAccess().getSeverityKeyword_6_1_2_0()); |
| |
| } |
| otherlv_15=(Token)match(input,65,FOLLOW_97); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDtCSizeAccess().getEqualsSignKeyword_6_1_2_1()); |
| |
| } |
| // InternalEntityGrammar.g:7188:10: ( (lv_severity_16_0= ruleConstraintSeverity ) ) |
| // InternalEntityGrammar.g:7189:11: (lv_severity_16_0= ruleConstraintSeverity ) |
| { |
| // InternalEntityGrammar.g:7189:11: (lv_severity_16_0= ruleConstraintSeverity ) |
| // InternalEntityGrammar.g:7190:12: lv_severity_16_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCSizeAccess().getSeverityConstraintSeverityEnumRuleCall_6_1_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_95); |
| lv_severity_16_0=ruleConstraintSeverity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtCSizeRule()); |
| } |
| set( |
| current, |
| "severity", |
| lv_severity_16_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop162; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6_1()); |
| |
| } |
| |
| otherlv_17=(Token)match(input,39,FOLLOW_9); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_17, grammarAccess.getDtCSizeAccess().getRightSquareBracketKeyword_6_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_18=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_18, grammarAccess.getDtCSizeAccess().getRightParenthesisKeyword_7()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCSize" |
| |
| |
| // $ANTLR start "entryRuleScalarType" |
| // InternalEntityGrammar.g:7233:1: entryRuleScalarType returns [EObject current=null] : iv_ruleScalarType= ruleScalarType EOF ; |
| public final EObject entryRuleScalarType() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleScalarType = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7233:51: (iv_ruleScalarType= ruleScalarType EOF ) |
| // InternalEntityGrammar.g:7234:2: iv_ruleScalarType= ruleScalarType EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getScalarTypeRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleScalarType=ruleScalarType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleScalarType; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleScalarType" |
| |
| |
| // $ANTLR start "ruleScalarType" |
| // InternalEntityGrammar.g:7240:1: ruleScalarType returns [EObject current=null] : (this_DataType_0= ruleDataType | this_Enum_1= ruleEnum ) ; |
| public final EObject ruleScalarType() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_DataType_0 = null; |
| |
| EObject this_Enum_1 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7246:2: ( (this_DataType_0= ruleDataType | this_Enum_1= ruleEnum ) ) |
| // InternalEntityGrammar.g:7247:2: (this_DataType_0= ruleDataType | this_Enum_1= ruleEnum ) |
| { |
| // InternalEntityGrammar.g:7247:2: (this_DataType_0= ruleDataType | this_Enum_1= ruleEnum ) |
| int alt164=2; |
| int LA164_0 = input.LA(1); |
| |
| if ( (LA164_0==74) ) { |
| alt164=1; |
| } |
| else if ( (LA164_0==95) ) { |
| alt164=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 164, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt164) { |
| case 1 : |
| // InternalEntityGrammar.g:7248:3: this_DataType_0= ruleDataType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getScalarTypeAccess().getDataTypeParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_DataType_0=ruleDataType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DataType_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:7257:3: this_Enum_1= ruleEnum |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getScalarTypeAccess().getEnumParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_Enum_1=ruleEnum(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_Enum_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleScalarType" |
| |
| |
| // $ANTLR start "entryRuleEnum" |
| // InternalEntityGrammar.g:7269:1: entryRuleEnum returns [EObject current=null] : iv_ruleEnum= ruleEnum EOF ; |
| public final EObject entryRuleEnum() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEnum = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7269:45: (iv_ruleEnum= ruleEnum EOF ) |
| // InternalEntityGrammar.g:7270:2: iv_ruleEnum= ruleEnum EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEnumRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleEnum=ruleEnum(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEnum; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEnum" |
| |
| |
| // $ANTLR start "ruleEnum" |
| // InternalEntityGrammar.g:7276:1: ruleEnum returns [EObject current=null] : (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* otherlv_6= '}' ) ; |
| public final EObject ruleEnum() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token lv_name_1_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| EObject lv_literals_3_0 = null; |
| |
| EObject lv_literals_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7282:2: ( (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* otherlv_6= '}' ) ) |
| // InternalEntityGrammar.g:7283:2: (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* otherlv_6= '}' ) |
| { |
| // InternalEntityGrammar.g:7283:2: (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* otherlv_6= '}' ) |
| // InternalEntityGrammar.g:7284:3: otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* otherlv_6= '}' |
| { |
| otherlv_0=(Token)match(input,95,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getEnumAccess().getEnumKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:7288:3: ( (lv_name_1_0= RULE_ID ) ) |
| // InternalEntityGrammar.g:7289:4: (lv_name_1_0= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:7289:4: (lv_name_1_0= RULE_ID ) |
| // InternalEntityGrammar.g:7290:5: lv_name_1_0= RULE_ID |
| { |
| lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_14); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_name_1_0, grammarAccess.getEnumAccess().getNameIDTerminalRuleCall_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEnumRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "name", |
| lv_name_1_0, |
| "org.eclipse.xtext.xbase.Xtype.ID"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_2=(Token)match(input,21,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getEnumAccess().getLeftCurlyBracketKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:7310:3: ( (lv_literals_3_0= ruleEnumLiteral ) ) |
| // InternalEntityGrammar.g:7311:4: (lv_literals_3_0= ruleEnumLiteral ) |
| { |
| // InternalEntityGrammar.g:7311:4: (lv_literals_3_0= ruleEnumLiteral ) |
| // InternalEntityGrammar.g:7312:5: lv_literals_3_0= ruleEnumLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEnumAccess().getLiteralsEnumLiteralParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_30); |
| lv_literals_3_0=ruleEnumLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEnumRule()); |
| } |
| add( |
| current, |
| "literals", |
| lv_literals_3_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.EnumLiteral"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:7329:3: (otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* |
| loop165: |
| do { |
| int alt165=2; |
| int LA165_0 = input.LA(1); |
| |
| if ( (LA165_0==30) ) { |
| alt165=1; |
| } |
| |
| |
| switch (alt165) { |
| case 1 : |
| // InternalEntityGrammar.g:7330:4: otherlv_4= ',' ( (lv_literals_5_0= ruleEnumLiteral ) ) |
| { |
| otherlv_4=(Token)match(input,30,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getEnumAccess().getCommaKeyword_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:7334:4: ( (lv_literals_5_0= ruleEnumLiteral ) ) |
| // InternalEntityGrammar.g:7335:5: (lv_literals_5_0= ruleEnumLiteral ) |
| { |
| // InternalEntityGrammar.g:7335:5: (lv_literals_5_0= ruleEnumLiteral ) |
| // InternalEntityGrammar.g:7336:6: lv_literals_5_0= ruleEnumLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEnumAccess().getLiteralsEnumLiteralParserRuleCall_4_1_0()); |
| |
| } |
| pushFollow(FOLLOW_30); |
| lv_literals_5_0=ruleEnumLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEnumRule()); |
| } |
| add( |
| current, |
| "literals", |
| lv_literals_5_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.EnumLiteral"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop165; |
| } |
| } while (true); |
| |
| otherlv_6=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getEnumAccess().getRightCurlyBracketKeyword_5()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEnum" |
| |
| |
| // $ANTLR start "entryRuleEnumLiteral" |
| // InternalEntityGrammar.g:7362:1: entryRuleEnumLiteral returns [EObject current=null] : iv_ruleEnumLiteral= ruleEnumLiteral EOF ; |
| public final EObject entryRuleEnumLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleEnumLiteral = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7362:52: (iv_ruleEnumLiteral= ruleEnumLiteral EOF ) |
| // InternalEntityGrammar.g:7363:2: iv_ruleEnumLiteral= ruleEnumLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getEnumLiteralRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleEnumLiteral=ruleEnumLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleEnumLiteral; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleEnumLiteral" |
| |
| |
| // $ANTLR start "ruleEnumLiteral" |
| // InternalEntityGrammar.g:7369:1: ruleEnumLiteral returns [EObject current=null] : ( ( (lv_name_0_0= ruleTRANSLATABLEID ) ) ( (lv_default_1_0= 'asDefault' ) )? (otherlv_2= '=' ( ( (lv_value_3_0= RULE_INT ) ) | ( (lv_stringValue_4_0= RULE_STRING ) ) ) )? ) ; |
| public final EObject ruleEnumLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_default_1_0=null; |
| Token otherlv_2=null; |
| Token lv_value_3_0=null; |
| Token lv_stringValue_4_0=null; |
| AntlrDatatypeRuleToken lv_name_0_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7375:2: ( ( ( (lv_name_0_0= ruleTRANSLATABLEID ) ) ( (lv_default_1_0= 'asDefault' ) )? (otherlv_2= '=' ( ( (lv_value_3_0= RULE_INT ) ) | ( (lv_stringValue_4_0= RULE_STRING ) ) ) )? ) ) |
| // InternalEntityGrammar.g:7376:2: ( ( (lv_name_0_0= ruleTRANSLATABLEID ) ) ( (lv_default_1_0= 'asDefault' ) )? (otherlv_2= '=' ( ( (lv_value_3_0= RULE_INT ) ) | ( (lv_stringValue_4_0= RULE_STRING ) ) ) )? ) |
| { |
| // InternalEntityGrammar.g:7376:2: ( ( (lv_name_0_0= ruleTRANSLATABLEID ) ) ( (lv_default_1_0= 'asDefault' ) )? (otherlv_2= '=' ( ( (lv_value_3_0= RULE_INT ) ) | ( (lv_stringValue_4_0= RULE_STRING ) ) ) )? ) |
| // InternalEntityGrammar.g:7377:3: ( (lv_name_0_0= ruleTRANSLATABLEID ) ) ( (lv_default_1_0= 'asDefault' ) )? (otherlv_2= '=' ( ( (lv_value_3_0= RULE_INT ) ) | ( (lv_stringValue_4_0= RULE_STRING ) ) ) )? |
| { |
| // InternalEntityGrammar.g:7377:3: ( (lv_name_0_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:7378:4: (lv_name_0_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:7378:4: (lv_name_0_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:7379:5: lv_name_0_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getEnumLiteralAccess().getNameTRANSLATABLEIDParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FOLLOW_101); |
| lv_name_0_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getEnumLiteralRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_0_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:7396:3: ( (lv_default_1_0= 'asDefault' ) )? |
| int alt166=2; |
| int LA166_0 = input.LA(1); |
| |
| if ( (LA166_0==96) ) { |
| alt166=1; |
| } |
| switch (alt166) { |
| case 1 : |
| // InternalEntityGrammar.g:7397:4: (lv_default_1_0= 'asDefault' ) |
| { |
| // InternalEntityGrammar.g:7397:4: (lv_default_1_0= 'asDefault' ) |
| // InternalEntityGrammar.g:7398:5: lv_default_1_0= 'asDefault' |
| { |
| lv_default_1_0=(Token)match(input,96,FOLLOW_70); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_default_1_0, grammarAccess.getEnumLiteralAccess().getDefaultAsDefaultKeyword_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEnumLiteralRule()); |
| } |
| setWithLastConsumed(current, "default", true, "asDefault"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:7410:3: (otherlv_2= '=' ( ( (lv_value_3_0= RULE_INT ) ) | ( (lv_stringValue_4_0= RULE_STRING ) ) ) )? |
| int alt168=2; |
| int LA168_0 = input.LA(1); |
| |
| if ( (LA168_0==65) ) { |
| alt168=1; |
| } |
| switch (alt168) { |
| case 1 : |
| // InternalEntityGrammar.g:7411:4: otherlv_2= '=' ( ( (lv_value_3_0= RULE_INT ) ) | ( (lv_stringValue_4_0= RULE_STRING ) ) ) |
| { |
| otherlv_2=(Token)match(input,65,FOLLOW_102); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getEnumLiteralAccess().getEqualsSignKeyword_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:7415:4: ( ( (lv_value_3_0= RULE_INT ) ) | ( (lv_stringValue_4_0= RULE_STRING ) ) ) |
| int alt167=2; |
| int LA167_0 = input.LA(1); |
| |
| if ( (LA167_0==RULE_INT) ) { |
| alt167=1; |
| } |
| else if ( (LA167_0==RULE_STRING) ) { |
| alt167=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 167, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt167) { |
| case 1 : |
| // InternalEntityGrammar.g:7416:5: ( (lv_value_3_0= RULE_INT ) ) |
| { |
| // InternalEntityGrammar.g:7416:5: ( (lv_value_3_0= RULE_INT ) ) |
| // InternalEntityGrammar.g:7417:6: (lv_value_3_0= RULE_INT ) |
| { |
| // InternalEntityGrammar.g:7417:6: (lv_value_3_0= RULE_INT ) |
| // InternalEntityGrammar.g:7418:7: lv_value_3_0= RULE_INT |
| { |
| lv_value_3_0=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_value_3_0, grammarAccess.getEnumLiteralAccess().getValueINTTerminalRuleCall_2_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEnumLiteralRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "value", |
| lv_value_3_0, |
| "org.eclipse.xtext.xbase.Xbase.INT"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:7435:5: ( (lv_stringValue_4_0= RULE_STRING ) ) |
| { |
| // InternalEntityGrammar.g:7435:5: ( (lv_stringValue_4_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:7436:6: (lv_stringValue_4_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:7436:6: (lv_stringValue_4_0= RULE_STRING ) |
| // InternalEntityGrammar.g:7437:7: lv_stringValue_4_0= RULE_STRING |
| { |
| lv_stringValue_4_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_stringValue_4_0, grammarAccess.getEnumLiteralAccess().getStringValueSTRINGTerminalRuleCall_2_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getEnumLiteralRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "stringValue", |
| lv_stringValue_4_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleEnumLiteral" |
| |
| |
| // $ANTLR start "entryRuleStateClass" |
| // InternalEntityGrammar.g:7459:1: entryRuleStateClass returns [EObject current=null] : iv_ruleStateClass= ruleStateClass EOF ; |
| public final EObject entryRuleStateClass() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleStateClass = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7459:51: (iv_ruleStateClass= ruleStateClass EOF ) |
| // InternalEntityGrammar.g:7460:2: iv_ruleStateClass= ruleStateClass EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getStateClassRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleStateClass=ruleStateClass(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleStateClass; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleStateClass" |
| |
| |
| // $ANTLR start "ruleStateClass" |
| // InternalEntityGrammar.g:7466:1: ruleStateClass returns [EObject current=null] : (otherlv_0= 'stateClass' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= '{' ( (lv_states_3_0= ruleState ) ) (otherlv_4= ',' ( (lv_states_5_0= ruleState ) ) )* otherlv_6= '}' ) ; |
| public final EObject ruleStateClass() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| AntlrDatatypeRuleToken lv_name_1_0 = null; |
| |
| EObject lv_states_3_0 = null; |
| |
| EObject lv_states_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7472:2: ( (otherlv_0= 'stateClass' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= '{' ( (lv_states_3_0= ruleState ) ) (otherlv_4= ',' ( (lv_states_5_0= ruleState ) ) )* otherlv_6= '}' ) ) |
| // InternalEntityGrammar.g:7473:2: (otherlv_0= 'stateClass' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= '{' ( (lv_states_3_0= ruleState ) ) (otherlv_4= ',' ( (lv_states_5_0= ruleState ) ) )* otherlv_6= '}' ) |
| { |
| // InternalEntityGrammar.g:7473:2: (otherlv_0= 'stateClass' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= '{' ( (lv_states_3_0= ruleState ) ) (otherlv_4= ',' ( (lv_states_5_0= ruleState ) ) )* otherlv_6= '}' ) |
| // InternalEntityGrammar.g:7474:3: otherlv_0= 'stateClass' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) otherlv_2= '{' ( (lv_states_3_0= ruleState ) ) (otherlv_4= ',' ( (lv_states_5_0= ruleState ) ) )* otherlv_6= '}' |
| { |
| otherlv_0=(Token)match(input,23,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getStateClassAccess().getStateClassKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:7478:3: ( (lv_name_1_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:7479:4: (lv_name_1_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:7479:4: (lv_name_1_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:7480:5: lv_name_1_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getStateClassAccess().getNameTRANSLATABLEIDParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_14); |
| lv_name_1_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getStateClassRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_1_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_2=(Token)match(input,21,FOLLOW_103); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getStateClassAccess().getLeftCurlyBracketKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:7501:3: ( (lv_states_3_0= ruleState ) ) |
| // InternalEntityGrammar.g:7502:4: (lv_states_3_0= ruleState ) |
| { |
| // InternalEntityGrammar.g:7502:4: (lv_states_3_0= ruleState ) |
| // InternalEntityGrammar.g:7503:5: lv_states_3_0= ruleState |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getStateClassAccess().getStatesStateParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_30); |
| lv_states_3_0=ruleState(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getStateClassRule()); |
| } |
| add( |
| current, |
| "states", |
| lv_states_3_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.State"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:7520:3: (otherlv_4= ',' ( (lv_states_5_0= ruleState ) ) )* |
| loop169: |
| do { |
| int alt169=2; |
| int LA169_0 = input.LA(1); |
| |
| if ( (LA169_0==30) ) { |
| alt169=1; |
| } |
| |
| |
| switch (alt169) { |
| case 1 : |
| // InternalEntityGrammar.g:7521:4: otherlv_4= ',' ( (lv_states_5_0= ruleState ) ) |
| { |
| otherlv_4=(Token)match(input,30,FOLLOW_103); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getStateClassAccess().getCommaKeyword_4_0()); |
| |
| } |
| // InternalEntityGrammar.g:7525:4: ( (lv_states_5_0= ruleState ) ) |
| // InternalEntityGrammar.g:7526:5: (lv_states_5_0= ruleState ) |
| { |
| // InternalEntityGrammar.g:7526:5: (lv_states_5_0= ruleState ) |
| // InternalEntityGrammar.g:7527:6: lv_states_5_0= ruleState |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getStateClassAccess().getStatesStateParserRuleCall_4_1_0()); |
| |
| } |
| pushFollow(FOLLOW_30); |
| lv_states_5_0=ruleState(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getStateClassRule()); |
| } |
| add( |
| current, |
| "states", |
| lv_states_5_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.State"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop169; |
| } |
| } while (true); |
| |
| otherlv_6=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getStateClassAccess().getRightCurlyBracketKeyword_5()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleStateClass" |
| |
| |
| // $ANTLR start "entryRuleState" |
| // InternalEntityGrammar.g:7553:1: entryRuleState returns [EObject current=null] : iv_ruleState= ruleState EOF ; |
| public final EObject entryRuleState() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleState = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7553:46: (iv_ruleState= ruleState EOF ) |
| // InternalEntityGrammar.g:7554:2: iv_ruleState= ruleState EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getStateRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleState=ruleState(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleState; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleState" |
| |
| |
| // $ANTLR start "ruleState" |
| // InternalEntityGrammar.g:7560:1: ruleState returns [EObject current=null] : (otherlv_0= 'state' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ) ; |
| public final EObject ruleState() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| AntlrDatatypeRuleToken lv_name_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7566:2: ( (otherlv_0= 'state' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ) ) |
| // InternalEntityGrammar.g:7567:2: (otherlv_0= 'state' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ) |
| { |
| // InternalEntityGrammar.g:7567:2: (otherlv_0= 'state' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) ) |
| // InternalEntityGrammar.g:7568:3: otherlv_0= 'state' ( (lv_name_1_0= ruleTRANSLATABLEID ) ) |
| { |
| otherlv_0=(Token)match(input,97,FOLLOW_11); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getStateAccess().getStateKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:7572:3: ( (lv_name_1_0= ruleTRANSLATABLEID ) ) |
| // InternalEntityGrammar.g:7573:4: (lv_name_1_0= ruleTRANSLATABLEID ) |
| { |
| // InternalEntityGrammar.g:7573:4: (lv_name_1_0= ruleTRANSLATABLEID ) |
| // InternalEntityGrammar.g:7574:5: lv_name_1_0= ruleTRANSLATABLEID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getStateAccess().getNameTRANSLATABLEIDParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_name_1_0=ruleTRANSLATABLEID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getStateRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_1_0, |
| "org.eclipse.osbp.dsl.entity.xtext.EntityGrammar.TRANSLATABLEID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleState" |
| |
| |
| // $ANTLR start "entryRuleAnnotationDef" |
| // InternalEntityGrammar.g:7595:1: entryRuleAnnotationDef returns [EObject current=null] : iv_ruleAnnotationDef= ruleAnnotationDef EOF ; |
| public final EObject entryRuleAnnotationDef() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAnnotationDef = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7595:54: (iv_ruleAnnotationDef= ruleAnnotationDef EOF ) |
| // InternalEntityGrammar.g:7596:2: iv_ruleAnnotationDef= ruleAnnotationDef EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getAnnotationDefRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleAnnotationDef=ruleAnnotationDef(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleAnnotationDef; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleAnnotationDef" |
| |
| |
| // $ANTLR start "ruleAnnotationDef" |
| // InternalEntityGrammar.g:7602:1: ruleAnnotationDef returns [EObject current=null] : ( ( ( ( ruleXAnnotation ) ) )=> ( (lv_annotation_0_0= ruleXAnnotation ) ) ) ; |
| public final EObject ruleAnnotationDef() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_annotation_0_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7608:2: ( ( ( ( ( ruleXAnnotation ) ) )=> ( (lv_annotation_0_0= ruleXAnnotation ) ) ) ) |
| // InternalEntityGrammar.g:7609:2: ( ( ( ( ruleXAnnotation ) ) )=> ( (lv_annotation_0_0= ruleXAnnotation ) ) ) |
| { |
| // InternalEntityGrammar.g:7609:2: ( ( ( ( ruleXAnnotation ) ) )=> ( (lv_annotation_0_0= ruleXAnnotation ) ) ) |
| // InternalEntityGrammar.g:7610:3: ( ( ( ruleXAnnotation ) ) )=> ( (lv_annotation_0_0= ruleXAnnotation ) ) |
| { |
| // InternalEntityGrammar.g:7616:3: ( (lv_annotation_0_0= ruleXAnnotation ) ) |
| // InternalEntityGrammar.g:7617:4: (lv_annotation_0_0= ruleXAnnotation ) |
| { |
| // InternalEntityGrammar.g:7617:4: (lv_annotation_0_0= ruleXAnnotation ) |
| // InternalEntityGrammar.g:7618:5: lv_annotation_0_0= ruleXAnnotation |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAnnotationDefAccess().getAnnotationXAnnotationParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_annotation_0_0=ruleXAnnotation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getAnnotationDefRule()); |
| } |
| set( |
| current, |
| "annotation", |
| lv_annotation_0_0, |
| "org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotation"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleAnnotationDef" |
| |
| |
| // $ANTLR start "entryRuleResultFilters" |
| // InternalEntityGrammar.g:7639:1: entryRuleResultFilters returns [EObject current=null] : iv_ruleResultFilters= ruleResultFilters EOF ; |
| public final EObject entryRuleResultFilters() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleResultFilters = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7639:54: (iv_ruleResultFilters= ruleResultFilters EOF ) |
| // InternalEntityGrammar.g:7640:2: iv_ruleResultFilters= ruleResultFilters EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getResultFiltersRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleResultFilters=ruleResultFilters(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleResultFilters; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleResultFilters" |
| |
| |
| // $ANTLR start "ruleResultFilters" |
| // InternalEntityGrammar.g:7646:1: ruleResultFilters returns [EObject current=null] : ( () otherlv_1= 'filter' otherlv_2= '{' ( (lv_resultFilters_3_0= ruleResultFilter ) )* otherlv_4= '}' ) ; |
| public final EObject ruleResultFilters() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| EObject lv_resultFilters_3_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7652:2: ( ( () otherlv_1= 'filter' otherlv_2= '{' ( (lv_resultFilters_3_0= ruleResultFilter ) )* otherlv_4= '}' ) ) |
| // InternalEntityGrammar.g:7653:2: ( () otherlv_1= 'filter' otherlv_2= '{' ( (lv_resultFilters_3_0= ruleResultFilter ) )* otherlv_4= '}' ) |
| { |
| // InternalEntityGrammar.g:7653:2: ( () otherlv_1= 'filter' otherlv_2= '{' ( (lv_resultFilters_3_0= ruleResultFilter ) )* otherlv_4= '}' ) |
| // InternalEntityGrammar.g:7654:3: () otherlv_1= 'filter' otherlv_2= '{' ( (lv_resultFilters_3_0= ruleResultFilter ) )* otherlv_4= '}' |
| { |
| // InternalEntityGrammar.g:7654:3: () |
| // InternalEntityGrammar.g:7655:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getResultFiltersAccess().getLResultFiltersAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,57,FOLLOW_14); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getResultFiltersAccess().getFilterKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,21,FOLLOW_104); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getResultFiltersAccess().getLeftCurlyBracketKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:7669:3: ( (lv_resultFilters_3_0= ruleResultFilter ) )* |
| loop170: |
| do { |
| int alt170=2; |
| int LA170_0 = input.LA(1); |
| |
| if ( (LA170_0==RULE_ID) ) { |
| alt170=1; |
| } |
| |
| |
| switch (alt170) { |
| case 1 : |
| // InternalEntityGrammar.g:7670:4: (lv_resultFilters_3_0= ruleResultFilter ) |
| { |
| // InternalEntityGrammar.g:7670:4: (lv_resultFilters_3_0= ruleResultFilter ) |
| // InternalEntityGrammar.g:7671:5: lv_resultFilters_3_0= ruleResultFilter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getResultFiltersAccess().getResultFiltersResultFilterParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_104); |
| lv_resultFilters_3_0=ruleResultFilter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getResultFiltersRule()); |
| } |
| add( |
| current, |
| "resultFilters", |
| lv_resultFilters_3_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.ResultFilter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop170; |
| } |
| } while (true); |
| |
| otherlv_4=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getResultFiltersAccess().getRightCurlyBracketKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleResultFilters" |
| |
| |
| // $ANTLR start "entryRuleResultFilter" |
| // InternalEntityGrammar.g:7696:1: entryRuleResultFilter returns [EObject current=null] : iv_ruleResultFilter= ruleResultFilter EOF ; |
| public final EObject entryRuleResultFilter() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleResultFilter = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7696:53: (iv_ruleResultFilter= ruleResultFilter EOF ) |
| // InternalEntityGrammar.g:7697:2: iv_ruleResultFilter= ruleResultFilter EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getResultFilterRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleResultFilter=ruleResultFilter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleResultFilter; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleResultFilter" |
| |
| |
| // $ANTLR start "ruleResultFilter" |
| // InternalEntityGrammar.g:7703:1: ruleResultFilter returns [EObject current=null] : this_AttributeMatchingConstraint_0= ruleAttributeMatchingConstraint ; |
| public final EObject ruleResultFilter() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_AttributeMatchingConstraint_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7709:2: (this_AttributeMatchingConstraint_0= ruleAttributeMatchingConstraint ) |
| // InternalEntityGrammar.g:7710:2: this_AttributeMatchingConstraint_0= ruleAttributeMatchingConstraint |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getResultFilterAccess().getAttributeMatchingConstraintParserRuleCall()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_AttributeMatchingConstraint_0=ruleAttributeMatchingConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_AttributeMatchingConstraint_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleResultFilter" |
| |
| |
| // $ANTLR start "entryRuleAttributeMatchingConstraint" |
| // InternalEntityGrammar.g:7721:1: entryRuleAttributeMatchingConstraint returns [EObject current=null] : iv_ruleAttributeMatchingConstraint= ruleAttributeMatchingConstraint EOF ; |
| public final EObject entryRuleAttributeMatchingConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAttributeMatchingConstraint = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7721:68: (iv_ruleAttributeMatchingConstraint= ruleAttributeMatchingConstraint EOF ) |
| // InternalEntityGrammar.g:7722:2: iv_ruleAttributeMatchingConstraint= ruleAttributeMatchingConstraint EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getAttributeMatchingConstraintRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleAttributeMatchingConstraint=ruleAttributeMatchingConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleAttributeMatchingConstraint; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleAttributeMatchingConstraint" |
| |
| |
| // $ANTLR start "ruleAttributeMatchingConstraint" |
| // InternalEntityGrammar.g:7728:1: ruleAttributeMatchingConstraint returns [EObject current=null] : ( ( (otherlv_0= RULE_ID ) ) ( (lv_comparatorType_1_0= ruleLComparatorType ) ) ( ( (lv_matchingValue_2_0= RULE_STRING ) ) | ( ( ( RULE_ID ) )=> (otherlv_3= RULE_ID ) ) ) ) ; |
| public final EObject ruleAttributeMatchingConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token lv_matchingValue_2_0=null; |
| Token otherlv_3=null; |
| Enumerator lv_comparatorType_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7734:2: ( ( ( (otherlv_0= RULE_ID ) ) ( (lv_comparatorType_1_0= ruleLComparatorType ) ) ( ( (lv_matchingValue_2_0= RULE_STRING ) ) | ( ( ( RULE_ID ) )=> (otherlv_3= RULE_ID ) ) ) ) ) |
| // InternalEntityGrammar.g:7735:2: ( ( (otherlv_0= RULE_ID ) ) ( (lv_comparatorType_1_0= ruleLComparatorType ) ) ( ( (lv_matchingValue_2_0= RULE_STRING ) ) | ( ( ( RULE_ID ) )=> (otherlv_3= RULE_ID ) ) ) ) |
| { |
| // InternalEntityGrammar.g:7735:2: ( ( (otherlv_0= RULE_ID ) ) ( (lv_comparatorType_1_0= ruleLComparatorType ) ) ( ( (lv_matchingValue_2_0= RULE_STRING ) ) | ( ( ( RULE_ID ) )=> (otherlv_3= RULE_ID ) ) ) ) |
| // InternalEntityGrammar.g:7736:3: ( (otherlv_0= RULE_ID ) ) ( (lv_comparatorType_1_0= ruleLComparatorType ) ) ( ( (lv_matchingValue_2_0= RULE_STRING ) ) | ( ( ( RULE_ID ) )=> (otherlv_3= RULE_ID ) ) ) |
| { |
| // InternalEntityGrammar.g:7736:3: ( (otherlv_0= RULE_ID ) ) |
| // InternalEntityGrammar.g:7737:4: (otherlv_0= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:7737:4: (otherlv_0= RULE_ID ) |
| // InternalEntityGrammar.g:7738:5: otherlv_0= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getAttributeMatchingConstraintRule()); |
| } |
| |
| } |
| otherlv_0=(Token)match(input,RULE_ID,FOLLOW_105); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getAttributeMatchingConstraintAccess().getAttributeLAttributeCrossReference_0_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:7749:3: ( (lv_comparatorType_1_0= ruleLComparatorType ) ) |
| // InternalEntityGrammar.g:7750:4: (lv_comparatorType_1_0= ruleLComparatorType ) |
| { |
| // InternalEntityGrammar.g:7750:4: (lv_comparatorType_1_0= ruleLComparatorType ) |
| // InternalEntityGrammar.g:7751:5: lv_comparatorType_1_0= ruleLComparatorType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAttributeMatchingConstraintAccess().getComparatorTypeLComparatorTypeEnumRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_106); |
| lv_comparatorType_1_0=ruleLComparatorType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getAttributeMatchingConstraintRule()); |
| } |
| set( |
| current, |
| "comparatorType", |
| lv_comparatorType_1_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.LComparatorType"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:7768:3: ( ( (lv_matchingValue_2_0= RULE_STRING ) ) | ( ( ( RULE_ID ) )=> (otherlv_3= RULE_ID ) ) ) |
| int alt171=2; |
| int LA171_0 = input.LA(1); |
| |
| if ( (LA171_0==RULE_STRING) ) { |
| alt171=1; |
| } |
| else if ( (LA171_0==RULE_ID) && (synpred2_InternalEntityGrammar())) { |
| alt171=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 171, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt171) { |
| case 1 : |
| // InternalEntityGrammar.g:7769:4: ( (lv_matchingValue_2_0= RULE_STRING ) ) |
| { |
| // InternalEntityGrammar.g:7769:4: ( (lv_matchingValue_2_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:7770:5: (lv_matchingValue_2_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:7770:5: (lv_matchingValue_2_0= RULE_STRING ) |
| // InternalEntityGrammar.g:7771:6: lv_matchingValue_2_0= RULE_STRING |
| { |
| lv_matchingValue_2_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_matchingValue_2_0, grammarAccess.getAttributeMatchingConstraintAccess().getMatchingValueSTRINGTerminalRuleCall_2_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getAttributeMatchingConstraintRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "matchingValue", |
| lv_matchingValue_2_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:7788:4: ( ( ( RULE_ID ) )=> (otherlv_3= RULE_ID ) ) |
| { |
| // InternalEntityGrammar.g:7788:4: ( ( ( RULE_ID ) )=> (otherlv_3= RULE_ID ) ) |
| // InternalEntityGrammar.g:7789:5: ( ( RULE_ID ) )=> (otherlv_3= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:7793:5: (otherlv_3= RULE_ID ) |
| // InternalEntityGrammar.g:7794:6: otherlv_3= RULE_ID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getAttributeMatchingConstraintRule()); |
| } |
| |
| } |
| otherlv_3=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getAttributeMatchingConstraintAccess().getMatchingLiteralLEnumLiteralCrossReference_2_1_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleAttributeMatchingConstraint" |
| |
| |
| // $ANTLR start "entryRuleKeyAndValue" |
| // InternalEntityGrammar.g:7810:1: entryRuleKeyAndValue returns [EObject current=null] : iv_ruleKeyAndValue= ruleKeyAndValue EOF ; |
| public final EObject entryRuleKeyAndValue() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleKeyAndValue = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7810:52: (iv_ruleKeyAndValue= ruleKeyAndValue EOF ) |
| // InternalEntityGrammar.g:7811:2: iv_ruleKeyAndValue= ruleKeyAndValue EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getKeyAndValueRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleKeyAndValue=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleKeyAndValue; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleKeyAndValue" |
| |
| |
| // $ANTLR start "ruleKeyAndValue" |
| // InternalEntityGrammar.g:7817:1: ruleKeyAndValue returns [EObject current=null] : (otherlv_0= 'key' otherlv_1= '=' ( (lv_key_2_0= RULE_STRING ) ) otherlv_3= 'value' otherlv_4= '=' ( (lv_value_5_0= RULE_STRING ) ) ) ; |
| public final EObject ruleKeyAndValue() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_1=null; |
| Token lv_key_2_0=null; |
| Token otherlv_3=null; |
| Token otherlv_4=null; |
| Token lv_value_5_0=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7823:2: ( (otherlv_0= 'key' otherlv_1= '=' ( (lv_key_2_0= RULE_STRING ) ) otherlv_3= 'value' otherlv_4= '=' ( (lv_value_5_0= RULE_STRING ) ) ) ) |
| // InternalEntityGrammar.g:7824:2: (otherlv_0= 'key' otherlv_1= '=' ( (lv_key_2_0= RULE_STRING ) ) otherlv_3= 'value' otherlv_4= '=' ( (lv_value_5_0= RULE_STRING ) ) ) |
| { |
| // InternalEntityGrammar.g:7824:2: (otherlv_0= 'key' otherlv_1= '=' ( (lv_key_2_0= RULE_STRING ) ) otherlv_3= 'value' otherlv_4= '=' ( (lv_value_5_0= RULE_STRING ) ) ) |
| // InternalEntityGrammar.g:7825:3: otherlv_0= 'key' otherlv_1= '=' ( (lv_key_2_0= RULE_STRING ) ) otherlv_3= 'value' otherlv_4= '=' ( (lv_value_5_0= RULE_STRING ) ) |
| { |
| otherlv_0=(Token)match(input,98,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getKeyAndValueAccess().getKeyKeyword_0()); |
| |
| } |
| otherlv_1=(Token)match(input,65,FOLLOW_18); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getKeyAndValueAccess().getEqualsSignKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:7833:3: ( (lv_key_2_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:7834:4: (lv_key_2_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:7834:4: (lv_key_2_0= RULE_STRING ) |
| // InternalEntityGrammar.g:7835:5: lv_key_2_0= RULE_STRING |
| { |
| lv_key_2_0=(Token)match(input,RULE_STRING,FOLLOW_107); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_key_2_0, grammarAccess.getKeyAndValueAccess().getKeySTRINGTerminalRuleCall_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getKeyAndValueRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "key", |
| lv_key_2_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,99,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getKeyAndValueAccess().getValueKeyword_3()); |
| |
| } |
| otherlv_4=(Token)match(input,65,FOLLOW_18); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getKeyAndValueAccess().getEqualsSignKeyword_4()); |
| |
| } |
| // InternalEntityGrammar.g:7859:3: ( (lv_value_5_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:7860:4: (lv_value_5_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:7860:4: (lv_value_5_0= RULE_STRING ) |
| // InternalEntityGrammar.g:7861:5: lv_value_5_0= RULE_STRING |
| { |
| lv_value_5_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_value_5_0, grammarAccess.getKeyAndValueAccess().getValueSTRINGTerminalRuleCall_5_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getKeyAndValueRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "value", |
| lv_value_5_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleKeyAndValue" |
| |
| |
| // $ANTLR start "entryRuleLFQN" |
| // InternalEntityGrammar.g:7881:1: entryRuleLFQN returns [String current=null] : iv_ruleLFQN= ruleLFQN EOF ; |
| public final String entryRuleLFQN() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleLFQN = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7881:44: (iv_ruleLFQN= ruleLFQN EOF ) |
| // InternalEntityGrammar.g:7882:2: iv_ruleLFQN= ruleLFQN EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLFQNRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleLFQN=ruleLFQN(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLFQN.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLFQN" |
| |
| |
| // $ANTLR start "ruleLFQN" |
| // InternalEntityGrammar.g:7888: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 { |
| // InternalEntityGrammar.g:7894:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ) |
| // InternalEntityGrammar.g:7895:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) |
| { |
| // InternalEntityGrammar.g:7895:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) |
| // InternalEntityGrammar.g:7896:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* |
| { |
| this_ID_0=(Token)match(input,RULE_ID,FOLLOW_80); 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()); |
| |
| } |
| // InternalEntityGrammar.g:7903:3: (kw= '.' this_ID_2= RULE_ID )* |
| loop172: |
| do { |
| int alt172=2; |
| int LA172_0 = input.LA(1); |
| |
| if ( (LA172_0==67) ) { |
| alt172=1; |
| } |
| |
| |
| switch (alt172) { |
| case 1 : |
| // InternalEntityGrammar.g:7904:4: kw= '.' this_ID_2= RULE_ID |
| { |
| kw=(Token)match(input,67,FOLLOW_13); 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_80); 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 loop172; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLFQN" |
| |
| |
| // $ANTLR start "entryRuleTYPE_CROSS_REFERENCE" |
| // InternalEntityGrammar.g:7921:1: entryRuleTYPE_CROSS_REFERENCE returns [String current=null] : iv_ruleTYPE_CROSS_REFERENCE= ruleTYPE_CROSS_REFERENCE EOF ; |
| public final String entryRuleTYPE_CROSS_REFERENCE() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleTYPE_CROSS_REFERENCE = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7921:60: (iv_ruleTYPE_CROSS_REFERENCE= ruleTYPE_CROSS_REFERENCE EOF ) |
| // InternalEntityGrammar.g:7922:2: iv_ruleTYPE_CROSS_REFERENCE= ruleTYPE_CROSS_REFERENCE EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTYPE_CROSS_REFERENCERule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleTYPE_CROSS_REFERENCE=ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTYPE_CROSS_REFERENCE.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTYPE_CROSS_REFERENCE" |
| |
| |
| // $ANTLR start "ruleTYPE_CROSS_REFERENCE" |
| // InternalEntityGrammar.g:7928:1: ruleTYPE_CROSS_REFERENCE returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ; |
| public final AntlrDatatypeRuleToken ruleTYPE_CROSS_REFERENCE() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_ID_0=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7934:2: (this_ID_0= RULE_ID ) |
| // InternalEntityGrammar.g:7935:2: this_ID_0= RULE_ID |
| { |
| this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ID_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_ID_0, grammarAccess.getTYPE_CROSS_REFERENCEAccess().getIDTerminalRuleCall()); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTYPE_CROSS_REFERENCE" |
| |
| |
| // $ANTLR start "entryRuleValidIDWithKeywords" |
| // InternalEntityGrammar.g:7945:1: entryRuleValidIDWithKeywords returns [String current=null] : iv_ruleValidIDWithKeywords= ruleValidIDWithKeywords EOF ; |
| public final String entryRuleValidIDWithKeywords() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleValidIDWithKeywords = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:7945:59: (iv_ruleValidIDWithKeywords= ruleValidIDWithKeywords EOF ) |
| // InternalEntityGrammar.g:7946:2: iv_ruleValidIDWithKeywords= ruleValidIDWithKeywords EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getValidIDWithKeywordsRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleValidIDWithKeywords=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleValidIDWithKeywords.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleValidIDWithKeywords" |
| |
| |
| // $ANTLR start "ruleValidIDWithKeywords" |
| // InternalEntityGrammar.g:7952:1: ruleValidIDWithKeywords returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'cachable' | kw= 'id' | kw= 'uuid' | kw= 'transient' | kw= 'version' | kw= 'derived' | kw= 'collection' | kw= 'refers' | kw= 'settings' | kw= 'lazy' | kw= 'notnull' | kw= 'dto' | kw= 'date' | kw= 'mapto' | kw= 'ref' | kw= 'cascadeMergePersist' | kw= 'cascadeRemove' | kw= 'var' | this_ID_18= RULE_ID ) ; |
| public final AntlrDatatypeRuleToken ruleValidIDWithKeywords() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| Token this_ID_18=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:7958:2: ( (kw= 'cachable' | kw= 'id' | kw= 'uuid' | kw= 'transient' | kw= 'version' | kw= 'derived' | kw= 'collection' | kw= 'refers' | kw= 'settings' | kw= 'lazy' | kw= 'notnull' | kw= 'dto' | kw= 'date' | kw= 'mapto' | kw= 'ref' | kw= 'cascadeMergePersist' | kw= 'cascadeRemove' | kw= 'var' | this_ID_18= RULE_ID ) ) |
| // InternalEntityGrammar.g:7959:2: (kw= 'cachable' | kw= 'id' | kw= 'uuid' | kw= 'transient' | kw= 'version' | kw= 'derived' | kw= 'collection' | kw= 'refers' | kw= 'settings' | kw= 'lazy' | kw= 'notnull' | kw= 'dto' | kw= 'date' | kw= 'mapto' | kw= 'ref' | kw= 'cascadeMergePersist' | kw= 'cascadeRemove' | kw= 'var' | this_ID_18= RULE_ID ) |
| { |
| // InternalEntityGrammar.g:7959:2: (kw= 'cachable' | kw= 'id' | kw= 'uuid' | kw= 'transient' | kw= 'version' | kw= 'derived' | kw= 'collection' | kw= 'refers' | kw= 'settings' | kw= 'lazy' | kw= 'notnull' | kw= 'dto' | kw= 'date' | kw= 'mapto' | kw= 'ref' | kw= 'cascadeMergePersist' | kw= 'cascadeRemove' | kw= 'var' | this_ID_18= RULE_ID ) |
| int alt173=19; |
| switch ( input.LA(1) ) { |
| case 100: |
| { |
| alt173=1; |
| } |
| break; |
| case 53: |
| { |
| alt173=2; |
| } |
| break; |
| case 54: |
| { |
| alt173=3; |
| } |
| break; |
| case 48: |
| { |
| alt173=4; |
| } |
| break; |
| case 55: |
| { |
| alt173=5; |
| } |
| break; |
| case 50: |
| { |
| alt173=6; |
| } |
| break; |
| case 101: |
| { |
| alt173=7; |
| } |
| break; |
| case 102: |
| { |
| alt173=8; |
| } |
| break; |
| case 103: |
| { |
| alt173=9; |
| } |
| break; |
| case 104: |
| { |
| alt173=10; |
| } |
| break; |
| case 105: |
| { |
| alt173=11; |
| } |
| break; |
| case 106: |
| { |
| alt173=12; |
| } |
| break; |
| case 107: |
| { |
| alt173=13; |
| } |
| break; |
| case 108: |
| { |
| alt173=14; |
| } |
| break; |
| case 33: |
| { |
| alt173=15; |
| } |
| break; |
| case 34: |
| { |
| alt173=16; |
| } |
| break; |
| case 35: |
| { |
| alt173=17; |
| } |
| break; |
| case 52: |
| { |
| alt173=18; |
| } |
| break; |
| case RULE_ID: |
| { |
| alt173=19; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 173, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt173) { |
| case 1 : |
| // InternalEntityGrammar.g:7960:3: kw= 'cachable' |
| { |
| kw=(Token)match(input,100,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getCachableKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:7966:3: kw= 'id' |
| { |
| kw=(Token)match(input,53,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getIdKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:7972:3: kw= 'uuid' |
| { |
| kw=(Token)match(input,54,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getUuidKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:7978:3: kw= 'transient' |
| { |
| kw=(Token)match(input,48,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getTransientKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:7984:3: kw= 'version' |
| { |
| kw=(Token)match(input,55,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getVersionKeyword_4()); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // InternalEntityGrammar.g:7990:3: kw= 'derived' |
| { |
| kw=(Token)match(input,50,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getDerivedKeyword_5()); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // InternalEntityGrammar.g:7996:3: kw= 'collection' |
| { |
| kw=(Token)match(input,101,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getCollectionKeyword_6()); |
| |
| } |
| |
| } |
| break; |
| case 8 : |
| // InternalEntityGrammar.g:8002:3: kw= 'refers' |
| { |
| kw=(Token)match(input,102,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getRefersKeyword_7()); |
| |
| } |
| |
| } |
| break; |
| case 9 : |
| // InternalEntityGrammar.g:8008:3: kw= 'settings' |
| { |
| kw=(Token)match(input,103,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getSettingsKeyword_8()); |
| |
| } |
| |
| } |
| break; |
| case 10 : |
| // InternalEntityGrammar.g:8014:3: kw= 'lazy' |
| { |
| kw=(Token)match(input,104,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getLazyKeyword_9()); |
| |
| } |
| |
| } |
| break; |
| case 11 : |
| // InternalEntityGrammar.g:8020:3: kw= 'notnull' |
| { |
| kw=(Token)match(input,105,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getNotnullKeyword_10()); |
| |
| } |
| |
| } |
| break; |
| case 12 : |
| // InternalEntityGrammar.g:8026:3: kw= 'dto' |
| { |
| kw=(Token)match(input,106,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getDtoKeyword_11()); |
| |
| } |
| |
| } |
| break; |
| case 13 : |
| // InternalEntityGrammar.g:8032:3: kw= 'date' |
| { |
| kw=(Token)match(input,107,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getDateKeyword_12()); |
| |
| } |
| |
| } |
| break; |
| case 14 : |
| // InternalEntityGrammar.g:8038:3: kw= 'mapto' |
| { |
| kw=(Token)match(input,108,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getMaptoKeyword_13()); |
| |
| } |
| |
| } |
| break; |
| case 15 : |
| // InternalEntityGrammar.g:8044:3: kw= 'ref' |
| { |
| kw=(Token)match(input,33,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getRefKeyword_14()); |
| |
| } |
| |
| } |
| break; |
| case 16 : |
| // InternalEntityGrammar.g:8050:3: kw= 'cascadeMergePersist' |
| { |
| kw=(Token)match(input,34,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getCascadeMergePersistKeyword_15()); |
| |
| } |
| |
| } |
| break; |
| case 17 : |
| // InternalEntityGrammar.g:8056:3: kw= 'cascadeRemove' |
| { |
| kw=(Token)match(input,35,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getCascadeRemoveKeyword_16()); |
| |
| } |
| |
| } |
| break; |
| case 18 : |
| // InternalEntityGrammar.g:8062:3: kw= 'var' |
| { |
| kw=(Token)match(input,52,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getValidIDWithKeywordsAccess().getVarKeyword_17()); |
| |
| } |
| |
| } |
| break; |
| case 19 : |
| // InternalEntityGrammar.g:8068:3: this_ID_18= RULE_ID |
| { |
| this_ID_18=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_ID_18); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_ID_18, grammarAccess.getValidIDWithKeywordsAccess().getIDTerminalRuleCall_18()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleValidIDWithKeywords" |
| |
| |
| // $ANTLR start "entryRuleMultiplicity" |
| // InternalEntityGrammar.g:8079:1: entryRuleMultiplicity returns [EObject current=null] : iv_ruleMultiplicity= ruleMultiplicity EOF ; |
| public final EObject entryRuleMultiplicity() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleMultiplicity = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8079:53: (iv_ruleMultiplicity= ruleMultiplicity EOF ) |
| // InternalEntityGrammar.g:8080:2: iv_ruleMultiplicity= ruleMultiplicity EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getMultiplicityRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleMultiplicity=ruleMultiplicity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleMultiplicity; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleMultiplicity" |
| |
| |
| // $ANTLR start "ruleMultiplicity" |
| // InternalEntityGrammar.g:8086:1: ruleMultiplicity returns [EObject current=null] : (otherlv_0= '[' ( (lv_lower_1_0= ruleLowerBound ) ) (otherlv_2= '..' ( (lv_upper_3_0= ruleUpperBound ) ) )? otherlv_4= ']' ) ; |
| public final EObject ruleMultiplicity() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Enumerator lv_lower_1_0 = null; |
| |
| Enumerator lv_upper_3_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:8092:2: ( (otherlv_0= '[' ( (lv_lower_1_0= ruleLowerBound ) ) (otherlv_2= '..' ( (lv_upper_3_0= ruleUpperBound ) ) )? otherlv_4= ']' ) ) |
| // InternalEntityGrammar.g:8093:2: (otherlv_0= '[' ( (lv_lower_1_0= ruleLowerBound ) ) (otherlv_2= '..' ( (lv_upper_3_0= ruleUpperBound ) ) )? otherlv_4= ']' ) |
| { |
| // InternalEntityGrammar.g:8093:2: (otherlv_0= '[' ( (lv_lower_1_0= ruleLowerBound ) ) (otherlv_2= '..' ( (lv_upper_3_0= ruleUpperBound ) ) )? otherlv_4= ']' ) |
| // InternalEntityGrammar.g:8094:3: otherlv_0= '[' ( (lv_lower_1_0= ruleLowerBound ) ) (otherlv_2= '..' ( (lv_upper_3_0= ruleUpperBound ) ) )? otherlv_4= ']' |
| { |
| otherlv_0=(Token)match(input,38,FOLLOW_108); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getMultiplicityAccess().getLeftSquareBracketKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:8098:3: ( (lv_lower_1_0= ruleLowerBound ) ) |
| // InternalEntityGrammar.g:8099:4: (lv_lower_1_0= ruleLowerBound ) |
| { |
| // InternalEntityGrammar.g:8099:4: (lv_lower_1_0= ruleLowerBound ) |
| // InternalEntityGrammar.g:8100:5: lv_lower_1_0= ruleLowerBound |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMultiplicityAccess().getLowerLowerBoundEnumRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_109); |
| lv_lower_1_0=ruleLowerBound(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMultiplicityRule()); |
| } |
| set( |
| current, |
| "lower", |
| lv_lower_1_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.LowerBound"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8117:3: (otherlv_2= '..' ( (lv_upper_3_0= ruleUpperBound ) ) )? |
| int alt174=2; |
| int LA174_0 = input.LA(1); |
| |
| if ( (LA174_0==109) ) { |
| alt174=1; |
| } |
| switch (alt174) { |
| case 1 : |
| // InternalEntityGrammar.g:8118:4: otherlv_2= '..' ( (lv_upper_3_0= ruleUpperBound ) ) |
| { |
| otherlv_2=(Token)match(input,109,FOLLOW_110); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getMultiplicityAccess().getFullStopFullStopKeyword_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:8122:4: ( (lv_upper_3_0= ruleUpperBound ) ) |
| // InternalEntityGrammar.g:8123:5: (lv_upper_3_0= ruleUpperBound ) |
| { |
| // InternalEntityGrammar.g:8123:5: (lv_upper_3_0= ruleUpperBound ) |
| // InternalEntityGrammar.g:8124:6: lv_upper_3_0= ruleUpperBound |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getMultiplicityAccess().getUpperUpperBoundEnumRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_111); |
| lv_upper_3_0=ruleUpperBound(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getMultiplicityRule()); |
| } |
| set( |
| current, |
| "upper", |
| lv_upper_3_0, |
| "org.eclipse.osbp.dsl.common.xtext.CommonGrammar.UpperBound"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_4=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getMultiplicityAccess().getRightSquareBracketKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleMultiplicity" |
| |
| |
| // $ANTLR start "entryRuleLInt" |
| // InternalEntityGrammar.g:8150:1: entryRuleLInt returns [String current=null] : iv_ruleLInt= ruleLInt EOF ; |
| public final String entryRuleLInt() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleLInt = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8150:44: (iv_ruleLInt= ruleLInt EOF ) |
| // InternalEntityGrammar.g:8151:2: iv_ruleLInt= ruleLInt EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLIntRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleLInt=ruleLInt(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLInt.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLInt" |
| |
| |
| // $ANTLR start "ruleLInt" |
| // InternalEntityGrammar.g:8157:1: ruleLInt returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ; |
| public final AntlrDatatypeRuleToken ruleLInt() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| Token this_INT_2=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:8163:2: ( ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) ) |
| // InternalEntityGrammar.g:8164:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) |
| { |
| // InternalEntityGrammar.g:8164:2: ( (kw= '+' | kw= '-' )? this_INT_2= RULE_INT ) |
| // InternalEntityGrammar.g:8165:3: (kw= '+' | kw= '-' )? this_INT_2= RULE_INT |
| { |
| // InternalEntityGrammar.g:8165:3: (kw= '+' | kw= '-' )? |
| int alt175=3; |
| int LA175_0 = input.LA(1); |
| |
| if ( (LA175_0==110) ) { |
| alt175=1; |
| } |
| else if ( (LA175_0==111) ) { |
| alt175=2; |
| } |
| switch (alt175) { |
| case 1 : |
| // InternalEntityGrammar.g:8166:4: kw= '+' |
| { |
| kw=(Token)match(input,110,FOLLOW_37); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getLIntAccess().getPlusSignKeyword_0_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:8172:4: kw= '-' |
| { |
| kw=(Token)match(input,111,FOLLOW_37); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getLIntAccess().getHyphenMinusKeyword_0_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| this_INT_2=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_INT_2); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_INT_2, grammarAccess.getLIntAccess().getINTTerminalRuleCall_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLInt" |
| |
| |
| // $ANTLR start "entryRuleLDecimal" |
| // InternalEntityGrammar.g:8189:1: entryRuleLDecimal returns [String current=null] : iv_ruleLDecimal= ruleLDecimal EOF ; |
| public final String entryRuleLDecimal() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleLDecimal = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8189:48: (iv_ruleLDecimal= ruleLDecimal EOF ) |
| // InternalEntityGrammar.g:8190:2: iv_ruleLDecimal= ruleLDecimal EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLDecimalRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleLDecimal=ruleLDecimal(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLDecimal.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLDecimal" |
| |
| |
| // $ANTLR start "ruleLDecimal" |
| // InternalEntityGrammar.g:8196:1: ruleLDecimal returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_LInt_0= ruleLInt (kw= '.' this_INT_2= RULE_INT )? ) ; |
| public final AntlrDatatypeRuleToken ruleLDecimal() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| Token this_INT_2=null; |
| AntlrDatatypeRuleToken this_LInt_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:8202:2: ( (this_LInt_0= ruleLInt (kw= '.' this_INT_2= RULE_INT )? ) ) |
| // InternalEntityGrammar.g:8203:2: (this_LInt_0= ruleLInt (kw= '.' this_INT_2= RULE_INT )? ) |
| { |
| // InternalEntityGrammar.g:8203:2: (this_LInt_0= ruleLInt (kw= '.' this_INT_2= RULE_INT )? ) |
| // InternalEntityGrammar.g:8204:3: this_LInt_0= ruleLInt (kw= '.' this_INT_2= RULE_INT )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLDecimalAccess().getLIntParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_80); |
| this_LInt_0=ruleLInt(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_LInt_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:8214:3: (kw= '.' this_INT_2= RULE_INT )? |
| int alt176=2; |
| int LA176_0 = input.LA(1); |
| |
| if ( (LA176_0==67) ) { |
| alt176=1; |
| } |
| switch (alt176) { |
| case 1 : |
| // InternalEntityGrammar.g:8215:4: kw= '.' this_INT_2= RULE_INT |
| { |
| kw=(Token)match(input,67,FOLLOW_37); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getLDecimalAccess().getFullStopKeyword_1_0()); |
| |
| } |
| this_INT_2=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_INT_2); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_INT_2, grammarAccess.getLDecimalAccess().getINTTerminalRuleCall_1_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLDecimal" |
| |
| |
| // $ANTLR start "entryRuleXImportDeclaration" |
| // InternalEntityGrammar.g:8232:1: entryRuleXImportDeclaration returns [EObject current=null] : iv_ruleXImportDeclaration= ruleXImportDeclaration EOF ; |
| public final EObject entryRuleXImportDeclaration() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXImportDeclaration = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8232:59: (iv_ruleXImportDeclaration= ruleXImportDeclaration EOF ) |
| // InternalEntityGrammar.g:8233:2: iv_ruleXImportDeclaration= ruleXImportDeclaration EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXImportDeclarationRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXImportDeclaration=ruleXImportDeclaration(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXImportDeclaration; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXImportDeclaration" |
| |
| |
| // $ANTLR start "ruleXImportDeclaration" |
| // InternalEntityGrammar.g:8239:1: ruleXImportDeclaration returns [EObject current=null] : ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? ) ; |
| public final EObject ruleXImportDeclaration() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token lv_static_2_0=null; |
| Token lv_extension_3_0=null; |
| Token lv_wildcard_5_0=null; |
| Token lv_fqnImport_9_0=null; |
| Token otherlv_11=null; |
| AntlrDatatypeRuleToken lv_memberName_6_0 = null; |
| |
| AntlrDatatypeRuleToken lv_importedNamespace_8_0 = null; |
| |
| AntlrDatatypeRuleToken lv_importedFullyQualifiedName_10_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:8245:2: ( ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? ) ) |
| // InternalEntityGrammar.g:8246:2: ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? ) |
| { |
| // InternalEntityGrammar.g:8246:2: ( () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? ) |
| // InternalEntityGrammar.g:8247:3: () otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) (otherlv_11= ';' )? |
| { |
| // InternalEntityGrammar.g:8247:3: () |
| // InternalEntityGrammar.g:8248:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXImportDeclarationAccess().getOXImportDeclarationAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,112,FOLLOW_112); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXImportDeclarationAccess().getImportKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:8258:3: ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) ) |
| int alt179=4; |
| alt179 = dfa179.predict(input); |
| switch (alt179) { |
| case 1 : |
| // InternalEntityGrammar.g:8259:4: ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) |
| { |
| // InternalEntityGrammar.g:8259:4: ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) |
| // InternalEntityGrammar.g:8260:5: ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) |
| { |
| // InternalEntityGrammar.g:8260:5: ( (lv_static_2_0= 'static' ) ) |
| // InternalEntityGrammar.g:8261:6: (lv_static_2_0= 'static' ) |
| { |
| // InternalEntityGrammar.g:8261:6: (lv_static_2_0= 'static' ) |
| // InternalEntityGrammar.g:8262:7: lv_static_2_0= 'static' |
| { |
| lv_static_2_0=(Token)match(input,113,FOLLOW_113); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_static_2_0, grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_2_0_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXImportDeclarationRule()); |
| } |
| setWithLastConsumed(current, "static", true, "static"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8274:5: ( (lv_extension_3_0= 'extension' ) )? |
| int alt177=2; |
| int LA177_0 = input.LA(1); |
| |
| if ( (LA177_0==114) ) { |
| alt177=1; |
| } |
| switch (alt177) { |
| case 1 : |
| // InternalEntityGrammar.g:8275:6: (lv_extension_3_0= 'extension' ) |
| { |
| // InternalEntityGrammar.g:8275:6: (lv_extension_3_0= 'extension' ) |
| // InternalEntityGrammar.g:8276:7: lv_extension_3_0= 'extension' |
| { |
| lv_extension_3_0=(Token)match(input,114,FOLLOW_113); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_extension_3_0, grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_2_0_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXImportDeclarationRule()); |
| } |
| setWithLastConsumed(current, "extension", true, "extension"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:8288:5: ( ( ruleQualifiedNameInStaticImport ) ) |
| // InternalEntityGrammar.g:8289:6: ( ruleQualifiedNameInStaticImport ) |
| { |
| // InternalEntityGrammar.g:8289:6: ( ruleQualifiedNameInStaticImport ) |
| // InternalEntityGrammar.g:8290:7: ruleQualifiedNameInStaticImport |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXImportDeclarationRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_2_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_114); |
| ruleQualifiedNameInStaticImport(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8304:5: ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) |
| int alt178=2; |
| int LA178_0 = input.LA(1); |
| |
| if ( (LA178_0==115) ) { |
| alt178=1; |
| } |
| else if ( (LA178_0==RULE_ID) ) { |
| alt178=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 178, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt178) { |
| case 1 : |
| // InternalEntityGrammar.g:8305:6: ( (lv_wildcard_5_0= '*' ) ) |
| { |
| // InternalEntityGrammar.g:8305:6: ( (lv_wildcard_5_0= '*' ) ) |
| // InternalEntityGrammar.g:8306:7: (lv_wildcard_5_0= '*' ) |
| { |
| // InternalEntityGrammar.g:8306:7: (lv_wildcard_5_0= '*' ) |
| // InternalEntityGrammar.g:8307:8: lv_wildcard_5_0= '*' |
| { |
| lv_wildcard_5_0=(Token)match(input,115,FOLLOW_115); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_wildcard_5_0, grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_2_0_3_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXImportDeclarationRule()); |
| } |
| setWithLastConsumed(current, "wildcard", true, "*"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:8320:6: ( (lv_memberName_6_0= ruleValidID ) ) |
| { |
| // InternalEntityGrammar.g:8320:6: ( (lv_memberName_6_0= ruleValidID ) ) |
| // InternalEntityGrammar.g:8321:7: (lv_memberName_6_0= ruleValidID ) |
| { |
| // InternalEntityGrammar.g:8321:7: (lv_memberName_6_0= ruleValidID ) |
| // InternalEntityGrammar.g:8322:8: lv_memberName_6_0= ruleValidID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_2_0_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_115); |
| lv_memberName_6_0=ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXImportDeclarationRule()); |
| } |
| set( |
| current, |
| "memberName", |
| lv_memberName_6_0, |
| "org.eclipse.xtext.xbase.Xtype.ValidID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:8342:4: ( ( ruleQualifiedName ) ) |
| { |
| // InternalEntityGrammar.g:8342:4: ( ( ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:8343:5: ( ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:8343:5: ( ruleQualifiedName ) |
| // InternalEntityGrammar.g:8344:6: ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXImportDeclarationRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_115); |
| ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:8359:4: ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) |
| { |
| // InternalEntityGrammar.g:8359:4: ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) |
| // InternalEntityGrammar.g:8360:5: (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) |
| { |
| // InternalEntityGrammar.g:8360:5: (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) |
| // InternalEntityGrammar.g:8361:6: lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_2_2_0()); |
| |
| } |
| pushFollow(FOLLOW_115); |
| lv_importedNamespace_8_0=ruleQualifiedNameWithWildcard(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXImportDeclarationRule()); |
| } |
| set( |
| current, |
| "importedNamespace", |
| lv_importedNamespace_8_0, |
| "org.eclipse.xtext.xbase.Xtype.QualifiedNameWithWildcard"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:8379:4: ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) |
| { |
| // InternalEntityGrammar.g:8379:4: ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) |
| // InternalEntityGrammar.g:8380:5: ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) |
| { |
| // InternalEntityGrammar.g:8380:5: ( (lv_fqnImport_9_0= 'ns' ) ) |
| // InternalEntityGrammar.g:8381:6: (lv_fqnImport_9_0= 'ns' ) |
| { |
| // InternalEntityGrammar.g:8381:6: (lv_fqnImport_9_0= 'ns' ) |
| // InternalEntityGrammar.g:8382:7: lv_fqnImport_9_0= 'ns' |
| { |
| lv_fqnImport_9_0=(Token)match(input,116,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_fqnImport_9_0, grammarAccess.getXImportDeclarationAccess().getFqnImportNsKeyword_2_3_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXImportDeclarationRule()); |
| } |
| setWithLastConsumed(current, "fqnImport", true, "ns"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8394:5: ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:8395:6: (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:8395:6: (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) |
| // InternalEntityGrammar.g:8396:7: lv_importedFullyQualifiedName_10_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedFullyQualifiedNameQualifiedNameParserRuleCall_2_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_115); |
| lv_importedFullyQualifiedName_10_0=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXImportDeclarationRule()); |
| } |
| set( |
| current, |
| "importedFullyQualifiedName", |
| lv_importedFullyQualifiedName_10_0, |
| "org.eclipse.xtext.xbase.Xbase.QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:8415:3: (otherlv_11= ';' )? |
| int alt180=2; |
| int LA180_0 = input.LA(1); |
| |
| if ( (LA180_0==117) ) { |
| alt180=1; |
| } |
| switch (alt180) { |
| case 1 : |
| // InternalEntityGrammar.g:8416:4: otherlv_11= ';' |
| { |
| otherlv_11=(Token)match(input,117,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXImportDeclaration" |
| |
| |
| // $ANTLR start "entryRuleXAnnotation" |
| // InternalEntityGrammar.g:8425:1: entryRuleXAnnotation returns [EObject current=null] : iv_ruleXAnnotation= ruleXAnnotation EOF ; |
| public final EObject entryRuleXAnnotation() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXAnnotation = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8425:52: (iv_ruleXAnnotation= ruleXAnnotation EOF ) |
| // InternalEntityGrammar.g:8426:2: iv_ruleXAnnotation= ruleXAnnotation EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXAnnotation=ruleXAnnotation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotation; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXAnnotation" |
| |
| |
| // $ANTLR start "ruleXAnnotation" |
| // InternalEntityGrammar.g:8432: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 { |
| // InternalEntityGrammar.g:8438: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= ')' )? ) ) |
| // InternalEntityGrammar.g:8439: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= ')' )? ) |
| { |
| // InternalEntityGrammar.g:8439: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= ')' )? ) |
| // InternalEntityGrammar.g:8440:3: () 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= ')' )? |
| { |
| // InternalEntityGrammar.g:8440:3: () |
| // InternalEntityGrammar.g:8441:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAnnotationAccess().getXAnnotationAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,118,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationAccess().getCommercialAtKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:8451:3: ( ( ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:8452:4: ( ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:8452:4: ( ruleQualifiedName ) |
| // InternalEntityGrammar.g:8453:5: ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXAnnotationRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getAnnotationTypeJvmAnnotationTypeCrossReference_2_0()); |
| |
| } |
| pushFollow(FOLLOW_116); |
| ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8467:3: ( ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' )? |
| int alt183=2; |
| int LA183_0 = input.LA(1); |
| |
| if ( (LA183_0==16) && (synpred3_InternalEntityGrammar())) { |
| alt183=1; |
| } |
| switch (alt183) { |
| case 1 : |
| // InternalEntityGrammar.g:8468:4: ( ( '(' )=>otherlv_3= '(' ) ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? otherlv_8= ')' |
| { |
| // InternalEntityGrammar.g:8468:4: ( ( '(' )=>otherlv_3= '(' ) |
| // InternalEntityGrammar.g:8469:5: ( '(' )=>otherlv_3= '(' |
| { |
| otherlv_3=(Token)match(input,16,FOLLOW_117); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getXAnnotationAccess().getLeftParenthesisKeyword_3_0()); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:8475:4: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )? |
| int alt182=3; |
| alt182 = dfa182.predict(input); |
| switch (alt182) { |
| case 1 : |
| // InternalEntityGrammar.g:8476:5: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) |
| { |
| // InternalEntityGrammar.g:8476:5: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) |
| // InternalEntityGrammar.g:8477:6: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* |
| { |
| // InternalEntityGrammar.g:8477:6: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) |
| // InternalEntityGrammar.g:8478:7: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) |
| { |
| // InternalEntityGrammar.g:8487:7: (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) |
| // InternalEntityGrammar.g:8488:8: lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_0_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| 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, |
| "org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValuePair"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8505:6: (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* |
| loop181: |
| do { |
| int alt181=2; |
| int LA181_0 = input.LA(1); |
| |
| if ( (LA181_0==30) ) { |
| alt181=1; |
| } |
| |
| |
| switch (alt181) { |
| case 1 : |
| // InternalEntityGrammar.g:8506:7: otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) |
| { |
| otherlv_5=(Token)match(input,30,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getXAnnotationAccess().getCommaKeyword_3_1_0_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:8510:7: ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) |
| // InternalEntityGrammar.g:8511:8: ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) |
| { |
| // InternalEntityGrammar.g:8520:8: (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) |
| // InternalEntityGrammar.g:8521:9: lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getElementValuePairsXAnnotationElementValuePairParserRuleCall_3_1_0_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| 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, |
| "org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValuePair"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop181; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:8541:5: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) |
| { |
| // InternalEntityGrammar.g:8541:5: ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) |
| // InternalEntityGrammar.g:8542:6: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) |
| { |
| // InternalEntityGrammar.g:8542:6: (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) |
| // InternalEntityGrammar.g:8543:7: lv_value_7_0= ruleXAnnotationElementValueOrCommaList |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationAccess().getValueXAnnotationElementValueOrCommaListParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| 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, |
| "org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValueOrCommaList"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_8=(Token)match(input,17,FOLLOW_2); 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" |
| // InternalEntityGrammar.g:8570:1: entryRuleXAnnotationElementValuePair returns [EObject current=null] : iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ; |
| public final EObject entryRuleXAnnotationElementValuePair() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXAnnotationElementValuePair = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8570:68: (iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF ) |
| // InternalEntityGrammar.g:8571:2: iv_ruleXAnnotationElementValuePair= ruleXAnnotationElementValuePair EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationElementValuePairRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXAnnotationElementValuePair=ruleXAnnotationElementValuePair(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationElementValuePair; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXAnnotationElementValuePair" |
| |
| |
| // $ANTLR start "ruleXAnnotationElementValuePair" |
| // InternalEntityGrammar.g:8577: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 { |
| // InternalEntityGrammar.g:8583:2: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) ) |
| // InternalEntityGrammar.g:8584:2: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) |
| { |
| // InternalEntityGrammar.g:8584:2: ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) ) |
| // InternalEntityGrammar.g:8585:3: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) ( (lv_value_2_0= ruleXAnnotationElementValue ) ) |
| { |
| // InternalEntityGrammar.g:8585:3: ( ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) ) |
| // InternalEntityGrammar.g:8586:4: ( ( ( ( ruleValidID ) ) '=' ) )=> ( ( ( ruleValidID ) ) otherlv_1= '=' ) |
| { |
| // InternalEntityGrammar.g:8595:4: ( ( ( ruleValidID ) ) otherlv_1= '=' ) |
| // InternalEntityGrammar.g:8596:5: ( ( ruleValidID ) ) otherlv_1= '=' |
| { |
| // InternalEntityGrammar.g:8596:5: ( ( ruleValidID ) ) |
| // InternalEntityGrammar.g:8597:6: ( ruleValidID ) |
| { |
| // InternalEntityGrammar.g:8597:6: ( ruleValidID ) |
| // InternalEntityGrammar.g:8598:7: 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_96); |
| ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_1=(Token)match(input,65,FOLLOW_118); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValuePairAccess().getEqualsSignKeyword_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8618:3: ( (lv_value_2_0= ruleXAnnotationElementValue ) ) |
| // InternalEntityGrammar.g:8619:4: (lv_value_2_0= ruleXAnnotationElementValue ) |
| { |
| // InternalEntityGrammar.g:8619:4: (lv_value_2_0= ruleXAnnotationElementValue ) |
| // InternalEntityGrammar.g:8620:5: lv_value_2_0= ruleXAnnotationElementValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValuePairAccess().getValueXAnnotationElementValueParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| 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, |
| "org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationElementValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXAnnotationElementValuePair" |
| |
| |
| // $ANTLR start "entryRuleXAnnotationElementValueOrCommaList" |
| // InternalEntityGrammar.g:8641:1: entryRuleXAnnotationElementValueOrCommaList returns [EObject current=null] : iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF ; |
| public final EObject entryRuleXAnnotationElementValueOrCommaList() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXAnnotationElementValueOrCommaList = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8641:75: (iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF ) |
| // InternalEntityGrammar.g:8642:2: iv_ruleXAnnotationElementValueOrCommaList= ruleXAnnotationElementValueOrCommaList EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXAnnotationElementValueOrCommaList=ruleXAnnotationElementValueOrCommaList(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationElementValueOrCommaList; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXAnnotationElementValueOrCommaList" |
| |
| |
| // $ANTLR start "ruleXAnnotationElementValueOrCommaList" |
| // InternalEntityGrammar.g:8648: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 { |
| // InternalEntityGrammar.g:8654:2: ( ( ( ( ( ( () '#' '[' ) )=> ( () 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 ) ) )+ )? ) ) ) |
| // InternalEntityGrammar.g:8655:2: ( ( ( ( ( () '#' '[' ) )=> ( () 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 ) ) )+ )? ) ) |
| { |
| // InternalEntityGrammar.g:8655:2: ( ( ( ( ( () '#' '[' ) )=> ( () 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 alt188=2; |
| alt188 = dfa188.predict(input); |
| switch (alt188) { |
| case 1 : |
| // InternalEntityGrammar.g:8656:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| { |
| // InternalEntityGrammar.g:8656:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| // InternalEntityGrammar.g:8657:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' |
| { |
| // InternalEntityGrammar.g:8657:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) |
| // InternalEntityGrammar.g:8658:5: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) |
| { |
| // InternalEntityGrammar.g:8665:5: ( () otherlv_1= '#' otherlv_2= '[' ) |
| // InternalEntityGrammar.g:8666:6: () otherlv_1= '#' otherlv_2= '[' |
| { |
| // InternalEntityGrammar.g:8666:6: () |
| // InternalEntityGrammar.g:8667:7: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralAction_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,119,FOLLOW_119); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getNumberSignKeyword_0_0_0_1()); |
| |
| } |
| otherlv_2=(Token)match(input,38,FOLLOW_120); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getLeftSquareBracketKeyword_0_0_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8683:4: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? |
| int alt185=2; |
| int LA185_0 = input.LA(1); |
| |
| if ( ((LA185_0>=RULE_STRING && LA185_0<=RULE_DECIMAL)||LA185_0==16||(LA185_0>=20 && LA185_0<=21)||LA185_0==38||(LA185_0>=110 && LA185_0<=114)||(LA185_0>=118 && LA185_0<=119)||LA185_0==125||LA185_0==143||LA185_0==150||LA185_0==152||(LA185_0>=156 && LA185_0<=158)||(LA185_0>=160 && LA185_0<=168)||LA185_0==170) ) { |
| alt185=1; |
| } |
| switch (alt185) { |
| case 1 : |
| // InternalEntityGrammar.g:8684:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| { |
| // InternalEntityGrammar.g:8684:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) |
| // InternalEntityGrammar.g:8685:6: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| { |
| // InternalEntityGrammar.g:8685:6: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| // InternalEntityGrammar.g:8686:7: lv_elements_3_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_121); |
| 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, |
| "org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8703:5: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| loop184: |
| do { |
| int alt184=2; |
| int LA184_0 = input.LA(1); |
| |
| if ( (LA184_0==30) ) { |
| alt184=1; |
| } |
| |
| |
| switch (alt184) { |
| case 1 : |
| // InternalEntityGrammar.g:8704:6: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| { |
| otherlv_4=(Token)match(input,30,FOLLOW_118); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_0_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:8708:6: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| // InternalEntityGrammar.g:8709:7: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| { |
| // InternalEntityGrammar.g:8709:7: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| // InternalEntityGrammar.g:8710:8: lv_elements_5_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_121); |
| 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, |
| "org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop184; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getRightSquareBracketKeyword_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:8735:3: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) |
| { |
| // InternalEntityGrammar.g:8735:3: (this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? ) |
| // InternalEntityGrammar.g:8736:4: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXAnnotationOrExpressionParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_122); |
| this_XAnnotationOrExpression_7=ruleXAnnotationOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XAnnotationOrExpression_7; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:8744:4: ( () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ )? |
| int alt187=2; |
| int LA187_0 = input.LA(1); |
| |
| if ( (LA187_0==30) ) { |
| alt187=1; |
| } |
| switch (alt187) { |
| case 1 : |
| // InternalEntityGrammar.g:8745:5: () (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ |
| { |
| // InternalEntityGrammar.g:8745:5: () |
| // InternalEntityGrammar.g:8746:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndAdd( |
| grammarAccess.getXAnnotationElementValueOrCommaListAccess().getXListLiteralElementsAction_1_1_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:8752:5: (otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) )+ |
| int cnt186=0; |
| loop186: |
| do { |
| int alt186=2; |
| int LA186_0 = input.LA(1); |
| |
| if ( (LA186_0==30) ) { |
| alt186=1; |
| } |
| |
| |
| switch (alt186) { |
| case 1 : |
| // InternalEntityGrammar.g:8753:6: otherlv_9= ',' ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) |
| { |
| otherlv_9=(Token)match(input,30,FOLLOW_118); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getXAnnotationElementValueOrCommaListAccess().getCommaKeyword_1_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:8757:6: ( (lv_elements_10_0= ruleXAnnotationOrExpression ) ) |
| // InternalEntityGrammar.g:8758:7: (lv_elements_10_0= ruleXAnnotationOrExpression ) |
| { |
| // InternalEntityGrammar.g:8758:7: (lv_elements_10_0= ruleXAnnotationOrExpression ) |
| // InternalEntityGrammar.g:8759:8: lv_elements_10_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueOrCommaListAccess().getElementsXAnnotationOrExpressionParserRuleCall_1_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_122); |
| 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, |
| "org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| if ( cnt186 >= 1 ) break loop186; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(186, input); |
| throw eee; |
| } |
| cnt186++; |
| } 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" |
| // InternalEntityGrammar.g:8783:1: entryRuleXAnnotationElementValue returns [EObject current=null] : iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF ; |
| public final EObject entryRuleXAnnotationElementValue() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXAnnotationElementValue = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8783:64: (iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF ) |
| // InternalEntityGrammar.g:8784:2: iv_ruleXAnnotationElementValue= ruleXAnnotationElementValue EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationElementValueRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXAnnotationElementValue=ruleXAnnotationElementValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationElementValue; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXAnnotationElementValue" |
| |
| |
| // $ANTLR start "ruleXAnnotationElementValue" |
| // InternalEntityGrammar.g:8790: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 { |
| // InternalEntityGrammar.g:8796:2: ( ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) ) |
| // InternalEntityGrammar.g:8797:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) |
| { |
| // InternalEntityGrammar.g:8797:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression ) |
| int alt191=2; |
| alt191 = dfa191.predict(input); |
| switch (alt191) { |
| case 1 : |
| // InternalEntityGrammar.g:8798:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| { |
| // InternalEntityGrammar.g:8798:3: ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) |
| // InternalEntityGrammar.g:8799:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' |
| { |
| // InternalEntityGrammar.g:8799:4: ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) |
| // InternalEntityGrammar.g:8800:5: ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) |
| { |
| // InternalEntityGrammar.g:8807:5: ( () otherlv_1= '#' otherlv_2= '[' ) |
| // InternalEntityGrammar.g:8808:6: () otherlv_1= '#' otherlv_2= '[' |
| { |
| // InternalEntityGrammar.g:8808:6: () |
| // InternalEntityGrammar.g:8809:7: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAnnotationElementValueAccess().getXListLiteralAction_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,119,FOLLOW_119); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXAnnotationElementValueAccess().getNumberSignKeyword_0_0_0_1()); |
| |
| } |
| otherlv_2=(Token)match(input,38,FOLLOW_120); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXAnnotationElementValueAccess().getLeftSquareBracketKeyword_0_0_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8825:4: ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? |
| int alt190=2; |
| int LA190_0 = input.LA(1); |
| |
| if ( ((LA190_0>=RULE_STRING && LA190_0<=RULE_DECIMAL)||LA190_0==16||(LA190_0>=20 && LA190_0<=21)||LA190_0==38||(LA190_0>=110 && LA190_0<=114)||(LA190_0>=118 && LA190_0<=119)||LA190_0==125||LA190_0==143||LA190_0==150||LA190_0==152||(LA190_0>=156 && LA190_0<=158)||(LA190_0>=160 && LA190_0<=168)||LA190_0==170) ) { |
| alt190=1; |
| } |
| switch (alt190) { |
| case 1 : |
| // InternalEntityGrammar.g:8826:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| { |
| // InternalEntityGrammar.g:8826:5: ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) |
| // InternalEntityGrammar.g:8827:6: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| { |
| // InternalEntityGrammar.g:8827:6: (lv_elements_3_0= ruleXAnnotationOrExpression ) |
| // InternalEntityGrammar.g:8828:7: lv_elements_3_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_121); |
| 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, |
| "org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:8845:5: (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* |
| loop189: |
| do { |
| int alt189=2; |
| int LA189_0 = input.LA(1); |
| |
| if ( (LA189_0==30) ) { |
| alt189=1; |
| } |
| |
| |
| switch (alt189) { |
| case 1 : |
| // InternalEntityGrammar.g:8846:6: otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| { |
| otherlv_4=(Token)match(input,30,FOLLOW_118); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXAnnotationElementValueAccess().getCommaKeyword_0_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:8850:6: ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) |
| // InternalEntityGrammar.g:8851:7: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| { |
| // InternalEntityGrammar.g:8851:7: (lv_elements_5_0= ruleXAnnotationOrExpression ) |
| // InternalEntityGrammar.g:8852:8: lv_elements_5_0= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getElementsXAnnotationOrExpressionParserRuleCall_0_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_121); |
| 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, |
| "org.eclipse.xtext.xbase.annotations.XbaseWithAnnotations.XAnnotationOrExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop189; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXAnnotationElementValueAccess().getRightSquareBracketKeyword_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:8877:3: this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationElementValueAccess().getXAnnotationOrExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| 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" |
| // InternalEntityGrammar.g:8889:1: entryRuleXAnnotationOrExpression returns [EObject current=null] : iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF ; |
| public final EObject entryRuleXAnnotationOrExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXAnnotationOrExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8889:64: (iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF ) |
| // InternalEntityGrammar.g:8890:2: iv_ruleXAnnotationOrExpression= ruleXAnnotationOrExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXAnnotationOrExpression=ruleXAnnotationOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAnnotationOrExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXAnnotationOrExpression" |
| |
| |
| // $ANTLR start "ruleXAnnotationOrExpression" |
| // InternalEntityGrammar.g:8896: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 { |
| // InternalEntityGrammar.g:8902:2: ( (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) ) |
| // InternalEntityGrammar.g:8903:2: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:8903:2: (this_XAnnotation_0= ruleXAnnotation | this_XExpression_1= ruleXExpression ) |
| int alt192=2; |
| int LA192_0 = input.LA(1); |
| |
| if ( (LA192_0==118) ) { |
| alt192=1; |
| } |
| else if ( ((LA192_0>=RULE_STRING && LA192_0<=RULE_DECIMAL)||LA192_0==16||(LA192_0>=20 && LA192_0<=21)||LA192_0==38||(LA192_0>=110 && LA192_0<=114)||LA192_0==119||LA192_0==125||LA192_0==143||LA192_0==150||LA192_0==152||(LA192_0>=156 && LA192_0<=158)||(LA192_0>=160 && LA192_0<=168)||LA192_0==170) ) { |
| alt192=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 192, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt192) { |
| case 1 : |
| // InternalEntityGrammar.g:8904:3: this_XAnnotation_0= ruleXAnnotation |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXAnnotationParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XAnnotation_0=ruleXAnnotation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XAnnotation_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:8913:3: this_XExpression_1= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAnnotationOrExpressionAccess().getXExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| 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" |
| // InternalEntityGrammar.g:8925:1: entryRuleXExpression returns [EObject current=null] : iv_ruleXExpression= ruleXExpression EOF ; |
| public final EObject entryRuleXExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8925:52: (iv_ruleXExpression= ruleXExpression EOF ) |
| // InternalEntityGrammar.g:8926:2: iv_ruleXExpression= ruleXExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXExpression=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXExpression" |
| |
| |
| // $ANTLR start "ruleXExpression" |
| // InternalEntityGrammar.g:8932: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 { |
| // InternalEntityGrammar.g:8938:2: (this_XAssignment_0= ruleXAssignment ) |
| // InternalEntityGrammar.g:8939:2: this_XAssignment_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| 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" |
| // InternalEntityGrammar.g:8950:1: entryRuleXAssignment returns [EObject current=null] : iv_ruleXAssignment= ruleXAssignment EOF ; |
| public final EObject entryRuleXAssignment() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXAssignment = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:8950:52: (iv_ruleXAssignment= ruleXAssignment EOF ) |
| // InternalEntityGrammar.g:8951:2: iv_ruleXAssignment= ruleXAssignment EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAssignmentRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXAssignment=ruleXAssignment(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAssignment; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXAssignment" |
| |
| |
| // $ANTLR start "ruleXAssignment" |
| // InternalEntityGrammar.g:8957: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 { |
| // InternalEntityGrammar.g:8963:2: ( ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) ) |
| // InternalEntityGrammar.g:8964:2: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) |
| { |
| // InternalEntityGrammar.g:8964:2: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) |
| int alt194=2; |
| switch ( input.LA(1) ) { |
| case RULE_ID: |
| { |
| int LA194_1 = input.LA(2); |
| |
| if ( (LA194_1==65) ) { |
| alt194=1; |
| } |
| else if ( (LA194_1==EOF||(LA194_1>=RULE_STRING && LA194_1<=RULE_DECIMAL)||(LA194_1>=16 && LA194_1<=17)||(LA194_1>=20 && LA194_1<=21)||LA194_1==24||(LA194_1>=28 && LA194_1<=30)||LA194_1==33||(LA194_1>=38 && LA194_1<=39)||LA194_1==48||(LA194_1>=50 && LA194_1<=56)||LA194_1==63||(LA194_1>=66 && LA194_1<=67)||(LA194_1>=109 && LA194_1<=115)||(LA194_1>=117 && LA194_1<=148)||(LA194_1>=150 && LA194_1<=171)) ) { |
| alt194=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 194, 1, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 20: |
| { |
| int LA194_2 = input.LA(2); |
| |
| if ( (LA194_2==65) ) { |
| alt194=1; |
| } |
| else if ( (LA194_2==EOF||(LA194_2>=RULE_STRING && LA194_2<=RULE_DECIMAL)||(LA194_2>=16 && LA194_2<=17)||(LA194_2>=20 && LA194_2<=21)||LA194_2==24||(LA194_2>=28 && LA194_2<=30)||LA194_2==33||(LA194_2>=38 && LA194_2<=39)||LA194_2==48||(LA194_2>=50 && LA194_2<=56)||LA194_2==63||(LA194_2>=66 && LA194_2<=67)||(LA194_2>=109 && LA194_2<=115)||(LA194_2>=117 && LA194_2<=148)||(LA194_2>=150 && LA194_2<=171)) ) { |
| alt194=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 194, 2, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 113: |
| { |
| int LA194_3 = input.LA(2); |
| |
| if ( (LA194_3==65) ) { |
| alt194=1; |
| } |
| else if ( (LA194_3==EOF||(LA194_3>=RULE_STRING && LA194_3<=RULE_DECIMAL)||(LA194_3>=16 && LA194_3<=17)||(LA194_3>=20 && LA194_3<=21)||LA194_3==24||(LA194_3>=28 && LA194_3<=30)||LA194_3==33||(LA194_3>=38 && LA194_3<=39)||LA194_3==48||(LA194_3>=50 && LA194_3<=56)||LA194_3==63||(LA194_3>=66 && LA194_3<=67)||(LA194_3>=109 && LA194_3<=115)||(LA194_3>=117 && LA194_3<=148)||(LA194_3>=150 && LA194_3<=171)) ) { |
| alt194=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 194, 3, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 112: |
| { |
| int LA194_4 = input.LA(2); |
| |
| if ( (LA194_4==65) ) { |
| alt194=1; |
| } |
| else if ( (LA194_4==EOF||(LA194_4>=RULE_STRING && LA194_4<=RULE_DECIMAL)||(LA194_4>=16 && LA194_4<=17)||(LA194_4>=20 && LA194_4<=21)||LA194_4==24||(LA194_4>=28 && LA194_4<=30)||LA194_4==33||(LA194_4>=38 && LA194_4<=39)||LA194_4==48||(LA194_4>=50 && LA194_4<=56)||LA194_4==63||(LA194_4>=66 && LA194_4<=67)||(LA194_4>=109 && LA194_4<=115)||(LA194_4>=117 && LA194_4<=148)||(LA194_4>=150 && LA194_4<=171)) ) { |
| alt194=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 194, 4, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 114: |
| { |
| int LA194_5 = input.LA(2); |
| |
| if ( (LA194_5==EOF||(LA194_5>=RULE_STRING && LA194_5<=RULE_DECIMAL)||(LA194_5>=16 && LA194_5<=17)||(LA194_5>=20 && LA194_5<=21)||LA194_5==24||(LA194_5>=28 && LA194_5<=30)||LA194_5==33||(LA194_5>=38 && LA194_5<=39)||LA194_5==48||(LA194_5>=50 && LA194_5<=56)||LA194_5==63||(LA194_5>=66 && LA194_5<=67)||(LA194_5>=109 && LA194_5<=115)||(LA194_5>=117 && LA194_5<=148)||(LA194_5>=150 && LA194_5<=171)) ) { |
| alt194=2; |
| } |
| else if ( (LA194_5==65) ) { |
| alt194=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 194, 5, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case RULE_STRING: |
| case RULE_INT: |
| case RULE_HEX: |
| case RULE_DECIMAL: |
| case 16: |
| case 21: |
| case 38: |
| case 110: |
| case 111: |
| case 119: |
| case 125: |
| case 143: |
| case 150: |
| case 152: |
| case 156: |
| case 157: |
| case 158: |
| case 160: |
| case 161: |
| case 162: |
| case 163: |
| case 164: |
| case 165: |
| case 166: |
| case 167: |
| case 168: |
| case 170: |
| { |
| alt194=2; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 194, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt194) { |
| case 1 : |
| // InternalEntityGrammar.g:8965:3: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) |
| { |
| // InternalEntityGrammar.g:8965:3: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) |
| // InternalEntityGrammar.g:8966:4: () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) |
| { |
| // InternalEntityGrammar.g:8966:4: () |
| // InternalEntityGrammar.g:8967:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:8973:4: ( ( ruleFeatureCallID ) ) |
| // InternalEntityGrammar.g:8974:5: ( ruleFeatureCallID ) |
| { |
| // InternalEntityGrammar.g:8974:5: ( ruleFeatureCallID ) |
| // InternalEntityGrammar.g:8975:6: 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_96); |
| 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_68); |
| ruleOpSingleAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:8996:4: ( (lv_value_3_0= ruleXAssignment ) ) |
| // InternalEntityGrammar.g:8997:5: (lv_value_3_0= ruleXAssignment ) |
| { |
| // InternalEntityGrammar.g:8997:5: (lv_value_3_0= ruleXAssignment ) |
| // InternalEntityGrammar.g:8998:6: lv_value_3_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| 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, |
| "org.eclipse.xtext.xbase.Xbase.XAssignment"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:9017:3: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) |
| { |
| // InternalEntityGrammar.g:9017:3: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) |
| // InternalEntityGrammar.g:9018:4: this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_123); |
| this_XOrExpression_4=ruleXOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XOrExpression_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:9026:4: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? |
| int alt193=2; |
| alt193 = dfa193.predict(input); |
| switch (alt193) { |
| case 1 : |
| // InternalEntityGrammar.g:9027:5: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) |
| { |
| // InternalEntityGrammar.g:9027:5: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) |
| // InternalEntityGrammar.g:9028:6: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) |
| { |
| // InternalEntityGrammar.g:9038:6: ( () ( ( ruleOpMultiAssign ) ) ) |
| // InternalEntityGrammar.g:9039:7: () ( ( ruleOpMultiAssign ) ) |
| { |
| // InternalEntityGrammar.g:9039:7: () |
| // InternalEntityGrammar.g:9040:8: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:9046:7: ( ( ruleOpMultiAssign ) ) |
| // InternalEntityGrammar.g:9047:8: ( ruleOpMultiAssign ) |
| { |
| // InternalEntityGrammar.g:9047:8: ( ruleOpMultiAssign ) |
| // InternalEntityGrammar.g:9048:9: 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_68); |
| ruleOpMultiAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:9064:5: ( (lv_rightOperand_7_0= ruleXAssignment ) ) |
| // InternalEntityGrammar.g:9065:6: (lv_rightOperand_7_0= ruleXAssignment ) |
| { |
| // InternalEntityGrammar.g:9065:6: (lv_rightOperand_7_0= ruleXAssignment ) |
| // InternalEntityGrammar.g:9066:7: lv_rightOperand_7_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| 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, |
| "org.eclipse.xtext.xbase.Xbase.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" |
| // InternalEntityGrammar.g:9089:1: entryRuleOpSingleAssign returns [String current=null] : iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ; |
| public final String entryRuleOpSingleAssign() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpSingleAssign = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9089:54: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ) |
| // InternalEntityGrammar.g:9090:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpSingleAssignRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpSingleAssign=ruleOpSingleAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpSingleAssign.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpSingleAssign" |
| |
| |
| // $ANTLR start "ruleOpSingleAssign" |
| // InternalEntityGrammar.g:9096:1: ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ; |
| public final AntlrDatatypeRuleToken ruleOpSingleAssign() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:9102:2: (kw= '=' ) |
| // InternalEntityGrammar.g:9103:2: kw= '=' |
| { |
| kw=(Token)match(input,65,FOLLOW_2); 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" |
| // InternalEntityGrammar.g:9111:1: entryRuleOpMultiAssign returns [String current=null] : iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ; |
| public final String entryRuleOpMultiAssign() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpMultiAssign = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9111:53: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ) |
| // InternalEntityGrammar.g:9112:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpMultiAssignRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpMultiAssign=ruleOpMultiAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpMultiAssign.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpMultiAssign" |
| |
| |
| // $ANTLR start "ruleOpMultiAssign" |
| // InternalEntityGrammar.g:9118: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 { |
| // InternalEntityGrammar.g:9124:2: ( (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) ) |
| // InternalEntityGrammar.g:9125:2: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) |
| { |
| // InternalEntityGrammar.g:9125:2: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) |
| int alt196=7; |
| switch ( input.LA(1) ) { |
| case 120: |
| { |
| alt196=1; |
| } |
| break; |
| case 121: |
| { |
| alt196=2; |
| } |
| break; |
| case 122: |
| { |
| alt196=3; |
| } |
| break; |
| case 123: |
| { |
| alt196=4; |
| } |
| break; |
| case 124: |
| { |
| alt196=5; |
| } |
| break; |
| case 125: |
| { |
| alt196=6; |
| } |
| break; |
| case 126: |
| { |
| alt196=7; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 196, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt196) { |
| case 1 : |
| // InternalEntityGrammar.g:9126:3: kw= '+=' |
| { |
| kw=(Token)match(input,120,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:9132:3: kw= '-=' |
| { |
| kw=(Token)match(input,121,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:9138:3: kw= '*=' |
| { |
| kw=(Token)match(input,122,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:9144:3: kw= '/=' |
| { |
| kw=(Token)match(input,123,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:9150:3: kw= '%=' |
| { |
| kw=(Token)match(input,124,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4()); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // InternalEntityGrammar.g:9156:3: (kw= '<' kw= '<' kw= '=' ) |
| { |
| // InternalEntityGrammar.g:9156:3: (kw= '<' kw= '<' kw= '=' ) |
| // InternalEntityGrammar.g:9157:4: kw= '<' kw= '<' kw= '=' |
| { |
| kw=(Token)match(input,125,FOLLOW_124); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0()); |
| |
| } |
| kw=(Token)match(input,125,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1()); |
| |
| } |
| kw=(Token)match(input,65,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 7 : |
| // InternalEntityGrammar.g:9174:3: (kw= '>' (kw= '>' )? kw= '>=' ) |
| { |
| // InternalEntityGrammar.g:9174:3: (kw= '>' (kw= '>' )? kw= '>=' ) |
| // InternalEntityGrammar.g:9175:4: kw= '>' (kw= '>' )? kw= '>=' |
| { |
| kw=(Token)match(input,126,FOLLOW_125); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0()); |
| |
| } |
| // InternalEntityGrammar.g:9180:4: (kw= '>' )? |
| int alt195=2; |
| int LA195_0 = input.LA(1); |
| |
| if ( (LA195_0==126) ) { |
| alt195=1; |
| } |
| switch (alt195) { |
| case 1 : |
| // InternalEntityGrammar.g:9181:5: kw= '>' |
| { |
| kw=(Token)match(input,126,FOLLOW_126); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| kw=(Token)match(input,127,FOLLOW_2); 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" |
| // InternalEntityGrammar.g:9197:1: entryRuleXOrExpression returns [EObject current=null] : iv_ruleXOrExpression= ruleXOrExpression EOF ; |
| public final EObject entryRuleXOrExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXOrExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9197:54: (iv_ruleXOrExpression= ruleXOrExpression EOF ) |
| // InternalEntityGrammar.g:9198:2: iv_ruleXOrExpression= ruleXOrExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXOrExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXOrExpression=ruleXOrExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXOrExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXOrExpression" |
| |
| |
| // $ANTLR start "ruleXOrExpression" |
| // InternalEntityGrammar.g:9204: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 { |
| // InternalEntityGrammar.g:9210:2: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) ) |
| // InternalEntityGrammar.g:9211:2: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) |
| { |
| // InternalEntityGrammar.g:9211:2: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) |
| // InternalEntityGrammar.g:9212:3: this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_127); |
| this_XAndExpression_0=ruleXAndExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XAndExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:9220:3: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* |
| loop197: |
| do { |
| int alt197=2; |
| int LA197_0 = input.LA(1); |
| |
| if ( (LA197_0==128) ) { |
| int LA197_2 = input.LA(2); |
| |
| if ( (synpred10_InternalEntityGrammar()) ) { |
| alt197=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt197) { |
| case 1 : |
| // InternalEntityGrammar.g:9221:4: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) |
| { |
| // InternalEntityGrammar.g:9221:4: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) |
| // InternalEntityGrammar.g:9222:5: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) |
| { |
| // InternalEntityGrammar.g:9232:5: ( () ( ( ruleOpOr ) ) ) |
| // InternalEntityGrammar.g:9233:6: () ( ( ruleOpOr ) ) |
| { |
| // InternalEntityGrammar.g:9233:6: () |
| // InternalEntityGrammar.g:9234:7: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:9240:6: ( ( ruleOpOr ) ) |
| // InternalEntityGrammar.g:9241:7: ( ruleOpOr ) |
| { |
| // InternalEntityGrammar.g:9241:7: ( ruleOpOr ) |
| // InternalEntityGrammar.g:9242:8: 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_68); |
| ruleOpOr(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:9258:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) ) |
| // InternalEntityGrammar.g:9259:5: (lv_rightOperand_3_0= ruleXAndExpression ) |
| { |
| // InternalEntityGrammar.g:9259:5: (lv_rightOperand_3_0= ruleXAndExpression ) |
| // InternalEntityGrammar.g:9260:6: lv_rightOperand_3_0= ruleXAndExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_127); |
| 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, |
| "org.eclipse.xtext.xbase.Xbase.XAndExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop197; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXOrExpression" |
| |
| |
| // $ANTLR start "entryRuleOpOr" |
| // InternalEntityGrammar.g:9282:1: entryRuleOpOr returns [String current=null] : iv_ruleOpOr= ruleOpOr EOF ; |
| public final String entryRuleOpOr() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpOr = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9282:44: (iv_ruleOpOr= ruleOpOr EOF ) |
| // InternalEntityGrammar.g:9283:2: iv_ruleOpOr= ruleOpOr EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpOrRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpOr=ruleOpOr(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpOr.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpOr" |
| |
| |
| // $ANTLR start "ruleOpOr" |
| // InternalEntityGrammar.g:9289:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '||' ; |
| public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:9295:2: (kw= '||' ) |
| // InternalEntityGrammar.g:9296:2: kw= '||' |
| { |
| kw=(Token)match(input,128,FOLLOW_2); 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" |
| // InternalEntityGrammar.g:9304:1: entryRuleXAndExpression returns [EObject current=null] : iv_ruleXAndExpression= ruleXAndExpression EOF ; |
| public final EObject entryRuleXAndExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXAndExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9304:55: (iv_ruleXAndExpression= ruleXAndExpression EOF ) |
| // InternalEntityGrammar.g:9305:2: iv_ruleXAndExpression= ruleXAndExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAndExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXAndExpression=ruleXAndExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAndExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXAndExpression" |
| |
| |
| // $ANTLR start "ruleXAndExpression" |
| // InternalEntityGrammar.g:9311: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 { |
| // InternalEntityGrammar.g:9317:2: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) ) |
| // InternalEntityGrammar.g:9318:2: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) |
| { |
| // InternalEntityGrammar.g:9318:2: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) |
| // InternalEntityGrammar.g:9319:3: this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_128); |
| this_XEqualityExpression_0=ruleXEqualityExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XEqualityExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:9327:3: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* |
| loop198: |
| do { |
| int alt198=2; |
| int LA198_0 = input.LA(1); |
| |
| if ( (LA198_0==129) ) { |
| int LA198_2 = input.LA(2); |
| |
| if ( (synpred11_InternalEntityGrammar()) ) { |
| alt198=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt198) { |
| case 1 : |
| // InternalEntityGrammar.g:9328:4: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) |
| { |
| // InternalEntityGrammar.g:9328:4: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) |
| // InternalEntityGrammar.g:9329:5: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) |
| { |
| // InternalEntityGrammar.g:9339:5: ( () ( ( ruleOpAnd ) ) ) |
| // InternalEntityGrammar.g:9340:6: () ( ( ruleOpAnd ) ) |
| { |
| // InternalEntityGrammar.g:9340:6: () |
| // InternalEntityGrammar.g:9341:7: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:9347:6: ( ( ruleOpAnd ) ) |
| // InternalEntityGrammar.g:9348:7: ( ruleOpAnd ) |
| { |
| // InternalEntityGrammar.g:9348:7: ( ruleOpAnd ) |
| // InternalEntityGrammar.g:9349:8: 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_68); |
| ruleOpAnd(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:9365:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) |
| // InternalEntityGrammar.g:9366:5: (lv_rightOperand_3_0= ruleXEqualityExpression ) |
| { |
| // InternalEntityGrammar.g:9366:5: (lv_rightOperand_3_0= ruleXEqualityExpression ) |
| // InternalEntityGrammar.g:9367:6: lv_rightOperand_3_0= ruleXEqualityExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_128); |
| 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, |
| "org.eclipse.xtext.xbase.Xbase.XEqualityExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop198; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXAndExpression" |
| |
| |
| // $ANTLR start "entryRuleOpAnd" |
| // InternalEntityGrammar.g:9389:1: entryRuleOpAnd returns [String current=null] : iv_ruleOpAnd= ruleOpAnd EOF ; |
| public final String entryRuleOpAnd() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpAnd = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9389:45: (iv_ruleOpAnd= ruleOpAnd EOF ) |
| // InternalEntityGrammar.g:9390:2: iv_ruleOpAnd= ruleOpAnd EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpAndRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpAnd=ruleOpAnd(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpAnd.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpAnd" |
| |
| |
| // $ANTLR start "ruleOpAnd" |
| // InternalEntityGrammar.g:9396:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '&&' ; |
| public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:9402:2: (kw= '&&' ) |
| // InternalEntityGrammar.g:9403:2: kw= '&&' |
| { |
| kw=(Token)match(input,129,FOLLOW_2); 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" |
| // InternalEntityGrammar.g:9411:1: entryRuleXEqualityExpression returns [EObject current=null] : iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ; |
| public final EObject entryRuleXEqualityExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXEqualityExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9411:60: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ) |
| // InternalEntityGrammar.g:9412:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXEqualityExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXEqualityExpression=ruleXEqualityExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXEqualityExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXEqualityExpression" |
| |
| |
| // $ANTLR start "ruleXEqualityExpression" |
| // InternalEntityGrammar.g:9418: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 { |
| // InternalEntityGrammar.g:9424:2: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) ) |
| // InternalEntityGrammar.g:9425:2: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) |
| { |
| // InternalEntityGrammar.g:9425:2: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) |
| // InternalEntityGrammar.g:9426:3: this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_129); |
| this_XRelationalExpression_0=ruleXRelationalExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XRelationalExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:9434:3: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* |
| loop199: |
| do { |
| int alt199=2; |
| switch ( input.LA(1) ) { |
| case 130: |
| { |
| int LA199_2 = input.LA(2); |
| |
| if ( (synpred12_InternalEntityGrammar()) ) { |
| alt199=1; |
| } |
| |
| |
| } |
| break; |
| case 131: |
| { |
| int LA199_3 = input.LA(2); |
| |
| if ( (synpred12_InternalEntityGrammar()) ) { |
| alt199=1; |
| } |
| |
| |
| } |
| break; |
| case 132: |
| { |
| int LA199_4 = input.LA(2); |
| |
| if ( (synpred12_InternalEntityGrammar()) ) { |
| alt199=1; |
| } |
| |
| |
| } |
| break; |
| case 133: |
| { |
| int LA199_5 = input.LA(2); |
| |
| if ( (synpred12_InternalEntityGrammar()) ) { |
| alt199=1; |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| switch (alt199) { |
| case 1 : |
| // InternalEntityGrammar.g:9435:4: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) |
| { |
| // InternalEntityGrammar.g:9435:4: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) |
| // InternalEntityGrammar.g:9436:5: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) |
| { |
| // InternalEntityGrammar.g:9446:5: ( () ( ( ruleOpEquality ) ) ) |
| // InternalEntityGrammar.g:9447:6: () ( ( ruleOpEquality ) ) |
| { |
| // InternalEntityGrammar.g:9447:6: () |
| // InternalEntityGrammar.g:9448:7: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:9454:6: ( ( ruleOpEquality ) ) |
| // InternalEntityGrammar.g:9455:7: ( ruleOpEquality ) |
| { |
| // InternalEntityGrammar.g:9455:7: ( ruleOpEquality ) |
| // InternalEntityGrammar.g:9456:8: 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_68); |
| ruleOpEquality(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:9472:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) |
| // InternalEntityGrammar.g:9473:5: (lv_rightOperand_3_0= ruleXRelationalExpression ) |
| { |
| // InternalEntityGrammar.g:9473:5: (lv_rightOperand_3_0= ruleXRelationalExpression ) |
| // InternalEntityGrammar.g:9474:6: lv_rightOperand_3_0= ruleXRelationalExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_129); |
| 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, |
| "org.eclipse.xtext.xbase.Xbase.XRelationalExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop199; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXEqualityExpression" |
| |
| |
| // $ANTLR start "entryRuleOpEquality" |
| // InternalEntityGrammar.g:9496:1: entryRuleOpEquality returns [String current=null] : iv_ruleOpEquality= ruleOpEquality EOF ; |
| public final String entryRuleOpEquality() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpEquality = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9496:50: (iv_ruleOpEquality= ruleOpEquality EOF ) |
| // InternalEntityGrammar.g:9497:2: iv_ruleOpEquality= ruleOpEquality EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpEqualityRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpEquality=ruleOpEquality(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpEquality.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpEquality" |
| |
| |
| // $ANTLR start "ruleOpEquality" |
| // InternalEntityGrammar.g:9503: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 { |
| // InternalEntityGrammar.g:9509:2: ( (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) ) |
| // InternalEntityGrammar.g:9510:2: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) |
| { |
| // InternalEntityGrammar.g:9510:2: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) |
| int alt200=4; |
| switch ( input.LA(1) ) { |
| case 130: |
| { |
| alt200=1; |
| } |
| break; |
| case 131: |
| { |
| alt200=2; |
| } |
| break; |
| case 132: |
| { |
| alt200=3; |
| } |
| break; |
| case 133: |
| { |
| alt200=4; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 200, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt200) { |
| case 1 : |
| // InternalEntityGrammar.g:9511:3: kw= '==' |
| { |
| kw=(Token)match(input,130,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:9517:3: kw= '!=' |
| { |
| kw=(Token)match(input,131,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:9523:3: kw= '===' |
| { |
| kw=(Token)match(input,132,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:9529:3: kw= '!==' |
| { |
| kw=(Token)match(input,133,FOLLOW_2); 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" |
| // InternalEntityGrammar.g:9538:1: entryRuleXRelationalExpression returns [EObject current=null] : iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ; |
| public final EObject entryRuleXRelationalExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXRelationalExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9538:62: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ) |
| // InternalEntityGrammar.g:9539:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXRelationalExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXRelationalExpression=ruleXRelationalExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXRelationalExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXRelationalExpression" |
| |
| |
| // $ANTLR start "ruleXRelationalExpression" |
| // InternalEntityGrammar.g:9545: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 { |
| // InternalEntityGrammar.g:9551:2: ( (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) ) |
| // InternalEntityGrammar.g:9552:2: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) |
| { |
| // InternalEntityGrammar.g:9552:2: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) |
| // InternalEntityGrammar.g:9553:3: 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_130); |
| this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XOtherOperatorExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:9561:3: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* |
| loop201: |
| do { |
| int alt201=3; |
| switch ( input.LA(1) ) { |
| case 125: |
| { |
| int LA201_2 = input.LA(2); |
| |
| if ( (synpred14_InternalEntityGrammar()) ) { |
| alt201=2; |
| } |
| |
| |
| } |
| break; |
| case 126: |
| { |
| int LA201_3 = input.LA(2); |
| |
| if ( (synpred14_InternalEntityGrammar()) ) { |
| alt201=2; |
| } |
| |
| |
| } |
| break; |
| case 134: |
| { |
| int LA201_4 = input.LA(2); |
| |
| if ( (synpred13_InternalEntityGrammar()) ) { |
| alt201=1; |
| } |
| |
| |
| } |
| break; |
| case 127: |
| { |
| int LA201_5 = input.LA(2); |
| |
| if ( (synpred14_InternalEntityGrammar()) ) { |
| alt201=2; |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| switch (alt201) { |
| case 1 : |
| // InternalEntityGrammar.g:9562:4: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) |
| { |
| // InternalEntityGrammar.g:9562:4: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) |
| // InternalEntityGrammar.g:9563:5: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| { |
| // InternalEntityGrammar.g:9563:5: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) |
| // InternalEntityGrammar.g:9564:6: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) |
| { |
| // InternalEntityGrammar.g:9570:6: ( () otherlv_2= 'instanceof' ) |
| // InternalEntityGrammar.g:9571:7: () otherlv_2= 'instanceof' |
| { |
| // InternalEntityGrammar.g:9571:7: () |
| // InternalEntityGrammar.g:9572:8: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_2=(Token)match(input,134,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:9584:5: ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:9585:6: (lv_type_3_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:9585:6: (lv_type_3_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:9586:7: lv_type_3_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_130); |
| 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, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:9605:4: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:9605:4: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) |
| // InternalEntityGrammar.g:9606:5: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) |
| { |
| // InternalEntityGrammar.g:9606:5: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) |
| // InternalEntityGrammar.g:9607:6: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) |
| { |
| // InternalEntityGrammar.g:9617:6: ( () ( ( ruleOpCompare ) ) ) |
| // InternalEntityGrammar.g:9618:7: () ( ( ruleOpCompare ) ) |
| { |
| // InternalEntityGrammar.g:9618:7: () |
| // InternalEntityGrammar.g:9619:8: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:9625:7: ( ( ruleOpCompare ) ) |
| // InternalEntityGrammar.g:9626:8: ( ruleOpCompare ) |
| { |
| // InternalEntityGrammar.g:9626:8: ( ruleOpCompare ) |
| // InternalEntityGrammar.g:9627:9: 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_68); |
| ruleOpCompare(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:9643:5: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) |
| // InternalEntityGrammar.g:9644:6: (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) |
| { |
| // InternalEntityGrammar.g:9644:6: (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) |
| // InternalEntityGrammar.g:9645:7: lv_rightOperand_6_0= ruleXOtherOperatorExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_130); |
| 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, |
| "org.eclipse.xtext.xbase.Xbase.XOtherOperatorExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop201; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXRelationalExpression" |
| |
| |
| // $ANTLR start "entryRuleOpCompare" |
| // InternalEntityGrammar.g:9668:1: entryRuleOpCompare returns [String current=null] : iv_ruleOpCompare= ruleOpCompare EOF ; |
| public final String entryRuleOpCompare() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpCompare = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9668:49: (iv_ruleOpCompare= ruleOpCompare EOF ) |
| // InternalEntityGrammar.g:9669:2: iv_ruleOpCompare= ruleOpCompare EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpCompareRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpCompare=ruleOpCompare(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpCompare.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpCompare" |
| |
| |
| // $ANTLR start "ruleOpCompare" |
| // InternalEntityGrammar.g:9675: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 { |
| // InternalEntityGrammar.g:9681:2: ( (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) ) |
| // InternalEntityGrammar.g:9682:2: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) |
| { |
| // InternalEntityGrammar.g:9682:2: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) |
| int alt202=4; |
| switch ( input.LA(1) ) { |
| case 127: |
| { |
| alt202=1; |
| } |
| break; |
| case 125: |
| { |
| int LA202_2 = input.LA(2); |
| |
| if ( (LA202_2==EOF||(LA202_2>=RULE_STRING && LA202_2<=RULE_DECIMAL)||LA202_2==16||(LA202_2>=20 && LA202_2<=21)||LA202_2==38||(LA202_2>=110 && LA202_2<=114)||LA202_2==119||LA202_2==125||LA202_2==143||LA202_2==150||LA202_2==152||(LA202_2>=156 && LA202_2<=158)||(LA202_2>=160 && LA202_2<=168)||LA202_2==170) ) { |
| alt202=4; |
| } |
| else if ( (LA202_2==65) ) { |
| alt202=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 202, 2, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 126: |
| { |
| alt202=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 202, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt202) { |
| case 1 : |
| // InternalEntityGrammar.g:9683:3: kw= '>=' |
| { |
| kw=(Token)match(input,127,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:9689:3: (kw= '<' kw= '=' ) |
| { |
| // InternalEntityGrammar.g:9689:3: (kw= '<' kw= '=' ) |
| // InternalEntityGrammar.g:9690:4: kw= '<' kw= '=' |
| { |
| kw=(Token)match(input,125,FOLLOW_96); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0()); |
| |
| } |
| kw=(Token)match(input,65,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:9702:3: kw= '>' |
| { |
| kw=(Token)match(input,126,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:9708:3: kw= '<' |
| { |
| kw=(Token)match(input,125,FOLLOW_2); 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" |
| // InternalEntityGrammar.g:9717:1: entryRuleXOtherOperatorExpression returns [EObject current=null] : iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ; |
| public final EObject entryRuleXOtherOperatorExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXOtherOperatorExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9717:65: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ) |
| // InternalEntityGrammar.g:9718:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXOtherOperatorExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXOtherOperatorExpression" |
| |
| |
| // $ANTLR start "ruleXOtherOperatorExpression" |
| // InternalEntityGrammar.g:9724: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 { |
| // InternalEntityGrammar.g:9730:2: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) ) |
| // InternalEntityGrammar.g:9731:2: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) |
| { |
| // InternalEntityGrammar.g:9731:2: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) |
| // InternalEntityGrammar.g:9732:3: this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_131); |
| this_XAdditiveExpression_0=ruleXAdditiveExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XAdditiveExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:9740:3: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* |
| loop203: |
| do { |
| int alt203=2; |
| alt203 = dfa203.predict(input); |
| switch (alt203) { |
| case 1 : |
| // InternalEntityGrammar.g:9741:4: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) |
| { |
| // InternalEntityGrammar.g:9741:4: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) |
| // InternalEntityGrammar.g:9742:5: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) |
| { |
| // InternalEntityGrammar.g:9752:5: ( () ( ( ruleOpOther ) ) ) |
| // InternalEntityGrammar.g:9753:6: () ( ( ruleOpOther ) ) |
| { |
| // InternalEntityGrammar.g:9753:6: () |
| // InternalEntityGrammar.g:9754:7: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:9760:6: ( ( ruleOpOther ) ) |
| // InternalEntityGrammar.g:9761:7: ( ruleOpOther ) |
| { |
| // InternalEntityGrammar.g:9761:7: ( ruleOpOther ) |
| // InternalEntityGrammar.g:9762:8: 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_68); |
| ruleOpOther(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:9778:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) |
| // InternalEntityGrammar.g:9779:5: (lv_rightOperand_3_0= ruleXAdditiveExpression ) |
| { |
| // InternalEntityGrammar.g:9779:5: (lv_rightOperand_3_0= ruleXAdditiveExpression ) |
| // InternalEntityGrammar.g:9780:6: lv_rightOperand_3_0= ruleXAdditiveExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_131); |
| 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, |
| "org.eclipse.xtext.xbase.Xbase.XAdditiveExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop203; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXOtherOperatorExpression" |
| |
| |
| // $ANTLR start "entryRuleOpOther" |
| // InternalEntityGrammar.g:9802:1: entryRuleOpOther returns [String current=null] : iv_ruleOpOther= ruleOpOther EOF ; |
| public final String entryRuleOpOther() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpOther = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9802:47: (iv_ruleOpOther= ruleOpOther EOF ) |
| // InternalEntityGrammar.g:9803:2: iv_ruleOpOther= ruleOpOther EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpOtherRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpOther=ruleOpOther(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpOther.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpOther" |
| |
| |
| // $ANTLR start "ruleOpOther" |
| // InternalEntityGrammar.g:9809: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 { |
| // InternalEntityGrammar.g:9815:2: ( (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) ) |
| // InternalEntityGrammar.g:9816:2: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) |
| { |
| // InternalEntityGrammar.g:9816:2: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) |
| int alt206=9; |
| alt206 = dfa206.predict(input); |
| switch (alt206) { |
| case 1 : |
| // InternalEntityGrammar.g:9817:3: kw= '->' |
| { |
| kw=(Token)match(input,135,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:9823:3: kw= '..<' |
| { |
| kw=(Token)match(input,136,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:9829:3: (kw= '>' kw= '..' ) |
| { |
| // InternalEntityGrammar.g:9829:3: (kw= '>' kw= '..' ) |
| // InternalEntityGrammar.g:9830:4: kw= '>' kw= '..' |
| { |
| kw=(Token)match(input,126,FOLLOW_132); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0()); |
| |
| } |
| kw=(Token)match(input,109,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:9842:3: kw= '..' |
| { |
| kw=(Token)match(input,109,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:9848:3: kw= '=>' |
| { |
| kw=(Token)match(input,137,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4()); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // InternalEntityGrammar.g:9854:3: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) |
| { |
| // InternalEntityGrammar.g:9854:3: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) |
| // InternalEntityGrammar.g:9855:4: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) |
| { |
| kw=(Token)match(input,126,FOLLOW_133); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0()); |
| |
| } |
| // InternalEntityGrammar.g:9860:4: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) |
| int alt204=2; |
| int LA204_0 = input.LA(1); |
| |
| if ( (LA204_0==126) ) { |
| int LA204_1 = input.LA(2); |
| |
| if ( (LA204_1==EOF||(LA204_1>=RULE_STRING && LA204_1<=RULE_DECIMAL)||LA204_1==16||(LA204_1>=20 && LA204_1<=21)||LA204_1==38||(LA204_1>=110 && LA204_1<=114)||LA204_1==119||LA204_1==125||LA204_1==143||LA204_1==150||LA204_1==152||(LA204_1>=156 && LA204_1<=158)||(LA204_1>=160 && LA204_1<=168)||LA204_1==170) ) { |
| alt204=2; |
| } |
| else if ( (LA204_1==126) && (synpred16_InternalEntityGrammar())) { |
| alt204=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 204, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 204, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt204) { |
| case 1 : |
| // InternalEntityGrammar.g:9861:5: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) |
| { |
| // InternalEntityGrammar.g:9861:5: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) |
| // InternalEntityGrammar.g:9862:6: ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) |
| { |
| // InternalEntityGrammar.g:9867:6: (kw= '>' kw= '>' ) |
| // InternalEntityGrammar.g:9868:7: kw= '>' kw= '>' |
| { |
| kw=(Token)match(input,126,FOLLOW_133); 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,126,FOLLOW_2); 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 : |
| // InternalEntityGrammar.g:9881:5: kw= '>' |
| { |
| kw=(Token)match(input,126,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 7 : |
| // InternalEntityGrammar.g:9889:3: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) |
| { |
| // InternalEntityGrammar.g:9889:3: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) |
| // InternalEntityGrammar.g:9890:4: kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) |
| { |
| kw=(Token)match(input,125,FOLLOW_134); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0()); |
| |
| } |
| // InternalEntityGrammar.g:9895:4: ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) |
| int alt205=3; |
| int LA205_0 = input.LA(1); |
| |
| if ( (LA205_0==125) ) { |
| int LA205_1 = input.LA(2); |
| |
| if ( (synpred17_InternalEntityGrammar()) ) { |
| alt205=1; |
| } |
| else if ( (true) ) { |
| alt205=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 205, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else if ( (LA205_0==137) ) { |
| alt205=3; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 205, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt205) { |
| case 1 : |
| // InternalEntityGrammar.g:9896:5: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) |
| { |
| // InternalEntityGrammar.g:9896:5: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) |
| // InternalEntityGrammar.g:9897:6: ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) |
| { |
| // InternalEntityGrammar.g:9902:6: (kw= '<' kw= '<' ) |
| // InternalEntityGrammar.g:9903:7: kw= '<' kw= '<' |
| { |
| kw=(Token)match(input,125,FOLLOW_124); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_0()); |
| |
| } |
| kw=(Token)match(input,125,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:9916:5: kw= '<' |
| { |
| kw=(Token)match(input,125,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:9922:5: kw= '=>' |
| { |
| kw=(Token)match(input,137,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 8 : |
| // InternalEntityGrammar.g:9930:3: kw= '<>' |
| { |
| kw=(Token)match(input,138,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7()); |
| |
| } |
| |
| } |
| break; |
| case 9 : |
| // InternalEntityGrammar.g:9936:3: kw= '?:' |
| { |
| kw=(Token)match(input,139,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleOpOther" |
| |
| |
| // $ANTLR start "entryRuleXAdditiveExpression" |
| // InternalEntityGrammar.g:9945:1: entryRuleXAdditiveExpression returns [EObject current=null] : iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF ; |
| public final EObject entryRuleXAdditiveExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXAdditiveExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:9945:60: (iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF ) |
| // InternalEntityGrammar.g:9946:2: iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXAdditiveExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXAdditiveExpression=ruleXAdditiveExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXAdditiveExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXAdditiveExpression" |
| |
| |
| // $ANTLR start "ruleXAdditiveExpression" |
| // InternalEntityGrammar.g:9952:1: ruleXAdditiveExpression returns [EObject current=null] : (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) ; |
| public final EObject ruleXAdditiveExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_XMultiplicativeExpression_0 = null; |
| |
| EObject lv_rightOperand_3_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:9958:2: ( (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) ) |
| // InternalEntityGrammar.g:9959:2: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) |
| { |
| // InternalEntityGrammar.g:9959:2: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) |
| // InternalEntityGrammar.g:9960:3: this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getXMultiplicativeExpressionParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_135); |
| this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XMultiplicativeExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:9968:3: ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* |
| loop207: |
| do { |
| int alt207=2; |
| int LA207_0 = input.LA(1); |
| |
| if ( (LA207_0==110) ) { |
| int LA207_2 = input.LA(2); |
| |
| if ( (synpred18_InternalEntityGrammar()) ) { |
| alt207=1; |
| } |
| |
| |
| } |
| else if ( (LA207_0==111) ) { |
| int LA207_3 = input.LA(2); |
| |
| if ( (synpred18_InternalEntityGrammar()) ) { |
| alt207=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt207) { |
| case 1 : |
| // InternalEntityGrammar.g:9969:4: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) |
| { |
| // InternalEntityGrammar.g:9969:4: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) |
| // InternalEntityGrammar.g:9970:5: ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) |
| { |
| // InternalEntityGrammar.g:9980:5: ( () ( ( ruleOpAdd ) ) ) |
| // InternalEntityGrammar.g:9981:6: () ( ( ruleOpAdd ) ) |
| { |
| // InternalEntityGrammar.g:9981:6: () |
| // InternalEntityGrammar.g:9982:7: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:9988:6: ( ( ruleOpAdd ) ) |
| // InternalEntityGrammar.g:9989:7: ( ruleOpAdd ) |
| { |
| // InternalEntityGrammar.g:9989:7: ( ruleOpAdd ) |
| // InternalEntityGrammar.g:9990:8: ruleOpAdd |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXAdditiveExpressionRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_68); |
| ruleOpAdd(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10006:4: ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) |
| // InternalEntityGrammar.g:10007:5: (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) |
| { |
| // InternalEntityGrammar.g:10007:5: (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) |
| // InternalEntityGrammar.g:10008:6: lv_rightOperand_3_0= ruleXMultiplicativeExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_135); |
| lv_rightOperand_3_0=ruleXMultiplicativeExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXAdditiveExpressionRule()); |
| } |
| set( |
| current, |
| "rightOperand", |
| lv_rightOperand_3_0, |
| "org.eclipse.xtext.xbase.Xbase.XMultiplicativeExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop207; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXAdditiveExpression" |
| |
| |
| // $ANTLR start "entryRuleOpAdd" |
| // InternalEntityGrammar.g:10030:1: entryRuleOpAdd returns [String current=null] : iv_ruleOpAdd= ruleOpAdd EOF ; |
| public final String entryRuleOpAdd() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpAdd = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:10030:45: (iv_ruleOpAdd= ruleOpAdd EOF ) |
| // InternalEntityGrammar.g:10031:2: iv_ruleOpAdd= ruleOpAdd EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpAddRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpAdd=ruleOpAdd(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpAdd.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpAdd" |
| |
| |
| // $ANTLR start "ruleOpAdd" |
| // InternalEntityGrammar.g:10037:1: ruleOpAdd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+' | kw= '-' ) ; |
| public final AntlrDatatypeRuleToken ruleOpAdd() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:10043:2: ( (kw= '+' | kw= '-' ) ) |
| // InternalEntityGrammar.g:10044:2: (kw= '+' | kw= '-' ) |
| { |
| // InternalEntityGrammar.g:10044:2: (kw= '+' | kw= '-' ) |
| int alt208=2; |
| int LA208_0 = input.LA(1); |
| |
| if ( (LA208_0==110) ) { |
| alt208=1; |
| } |
| else if ( (LA208_0==111) ) { |
| alt208=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 208, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt208) { |
| case 1 : |
| // InternalEntityGrammar.g:10045:3: kw= '+' |
| { |
| kw=(Token)match(input,110,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10051:3: kw= '-' |
| { |
| kw=(Token)match(input,111,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleOpAdd" |
| |
| |
| // $ANTLR start "entryRuleXMultiplicativeExpression" |
| // InternalEntityGrammar.g:10060:1: entryRuleXMultiplicativeExpression returns [EObject current=null] : iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF ; |
| public final EObject entryRuleXMultiplicativeExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXMultiplicativeExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:10060:66: (iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF ) |
| // InternalEntityGrammar.g:10061:2: iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXMultiplicativeExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXMultiplicativeExpression" |
| |
| |
| // $ANTLR start "ruleXMultiplicativeExpression" |
| // InternalEntityGrammar.g:10067:1: ruleXMultiplicativeExpression returns [EObject current=null] : (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) ; |
| public final EObject ruleXMultiplicativeExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_XUnaryOperation_0 = null; |
| |
| EObject lv_rightOperand_3_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:10073:2: ( (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) ) |
| // InternalEntityGrammar.g:10074:2: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) |
| { |
| // InternalEntityGrammar.g:10074:2: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) |
| // InternalEntityGrammar.g:10075:3: this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getXUnaryOperationParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_136); |
| this_XUnaryOperation_0=ruleXUnaryOperation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XUnaryOperation_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:10083:3: ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* |
| loop209: |
| do { |
| int alt209=2; |
| switch ( input.LA(1) ) { |
| case 115: |
| { |
| int LA209_2 = input.LA(2); |
| |
| if ( (synpred19_InternalEntityGrammar()) ) { |
| alt209=1; |
| } |
| |
| |
| } |
| break; |
| case 140: |
| { |
| int LA209_3 = input.LA(2); |
| |
| if ( (synpred19_InternalEntityGrammar()) ) { |
| alt209=1; |
| } |
| |
| |
| } |
| break; |
| case 141: |
| { |
| int LA209_4 = input.LA(2); |
| |
| if ( (synpred19_InternalEntityGrammar()) ) { |
| alt209=1; |
| } |
| |
| |
| } |
| break; |
| case 142: |
| { |
| int LA209_5 = input.LA(2); |
| |
| if ( (synpred19_InternalEntityGrammar()) ) { |
| alt209=1; |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| switch (alt209) { |
| case 1 : |
| // InternalEntityGrammar.g:10084:4: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) |
| { |
| // InternalEntityGrammar.g:10084:4: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) |
| // InternalEntityGrammar.g:10085:5: ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) |
| { |
| // InternalEntityGrammar.g:10095:5: ( () ( ( ruleOpMulti ) ) ) |
| // InternalEntityGrammar.g:10096:6: () ( ( ruleOpMulti ) ) |
| { |
| // InternalEntityGrammar.g:10096:6: () |
| // InternalEntityGrammar.g:10097:7: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:10103:6: ( ( ruleOpMulti ) ) |
| // InternalEntityGrammar.g:10104:7: ( ruleOpMulti ) |
| { |
| // InternalEntityGrammar.g:10104:7: ( ruleOpMulti ) |
| // InternalEntityGrammar.g:10105:8: ruleOpMulti |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXMultiplicativeExpressionRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_68); |
| ruleOpMulti(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10121:4: ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) |
| // InternalEntityGrammar.g:10122:5: (lv_rightOperand_3_0= ruleXUnaryOperation ) |
| { |
| // InternalEntityGrammar.g:10122:5: (lv_rightOperand_3_0= ruleXUnaryOperation ) |
| // InternalEntityGrammar.g:10123:6: lv_rightOperand_3_0= ruleXUnaryOperation |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_136); |
| lv_rightOperand_3_0=ruleXUnaryOperation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMultiplicativeExpressionRule()); |
| } |
| set( |
| current, |
| "rightOperand", |
| lv_rightOperand_3_0, |
| "org.eclipse.xtext.xbase.Xbase.XUnaryOperation"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop209; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXMultiplicativeExpression" |
| |
| |
| // $ANTLR start "entryRuleOpMulti" |
| // InternalEntityGrammar.g:10145:1: entryRuleOpMulti returns [String current=null] : iv_ruleOpMulti= ruleOpMulti EOF ; |
| public final String entryRuleOpMulti() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpMulti = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:10145:47: (iv_ruleOpMulti= ruleOpMulti EOF ) |
| // InternalEntityGrammar.g:10146:2: iv_ruleOpMulti= ruleOpMulti EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpMultiRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpMulti=ruleOpMulti(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpMulti.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpMulti" |
| |
| |
| // $ANTLR start "ruleOpMulti" |
| // InternalEntityGrammar.g:10152:1: ruleOpMulti returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) ; |
| public final AntlrDatatypeRuleToken ruleOpMulti() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:10158:2: ( (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) ) |
| // InternalEntityGrammar.g:10159:2: (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) |
| { |
| // InternalEntityGrammar.g:10159:2: (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) |
| int alt210=4; |
| switch ( input.LA(1) ) { |
| case 115: |
| { |
| alt210=1; |
| } |
| break; |
| case 140: |
| { |
| alt210=2; |
| } |
| break; |
| case 141: |
| { |
| alt210=3; |
| } |
| break; |
| case 142: |
| { |
| alt210=4; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 210, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt210) { |
| case 1 : |
| // InternalEntityGrammar.g:10160:3: kw= '*' |
| { |
| kw=(Token)match(input,115,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10166:3: kw= '**' |
| { |
| kw=(Token)match(input,140,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:10172:3: kw= '/' |
| { |
| kw=(Token)match(input,141,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:10178:3: kw= '%' |
| { |
| kw=(Token)match(input,142,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpMultiAccess().getPercentSignKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleOpMulti" |
| |
| |
| // $ANTLR start "entryRuleXUnaryOperation" |
| // InternalEntityGrammar.g:10187:1: entryRuleXUnaryOperation returns [EObject current=null] : iv_ruleXUnaryOperation= ruleXUnaryOperation EOF ; |
| public final EObject entryRuleXUnaryOperation() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXUnaryOperation = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:10187:56: (iv_ruleXUnaryOperation= ruleXUnaryOperation EOF ) |
| // InternalEntityGrammar.g:10188:2: iv_ruleXUnaryOperation= ruleXUnaryOperation EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXUnaryOperationRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXUnaryOperation=ruleXUnaryOperation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXUnaryOperation; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXUnaryOperation" |
| |
| |
| // $ANTLR start "ruleXUnaryOperation" |
| // InternalEntityGrammar.g:10194:1: ruleXUnaryOperation returns [EObject current=null] : ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) ; |
| public final EObject ruleXUnaryOperation() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_operand_2_0 = null; |
| |
| EObject this_XCastedExpression_3 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:10200:2: ( ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) ) |
| // InternalEntityGrammar.g:10201:2: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) |
| { |
| // InternalEntityGrammar.g:10201:2: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) |
| int alt211=2; |
| int LA211_0 = input.LA(1); |
| |
| if ( ((LA211_0>=110 && LA211_0<=111)||LA211_0==143) ) { |
| alt211=1; |
| } |
| else if ( ((LA211_0>=RULE_STRING && LA211_0<=RULE_DECIMAL)||LA211_0==16||(LA211_0>=20 && LA211_0<=21)||LA211_0==38||(LA211_0>=112 && LA211_0<=114)||LA211_0==119||LA211_0==125||LA211_0==150||LA211_0==152||(LA211_0>=156 && LA211_0<=158)||(LA211_0>=160 && LA211_0<=168)||LA211_0==170) ) { |
| alt211=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 211, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt211) { |
| case 1 : |
| // InternalEntityGrammar.g:10202:3: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) |
| { |
| // InternalEntityGrammar.g:10202:3: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) |
| // InternalEntityGrammar.g:10203:4: () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) |
| { |
| // InternalEntityGrammar.g:10203:4: () |
| // InternalEntityGrammar.g:10204:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:10210:4: ( ( ruleOpUnary ) ) |
| // InternalEntityGrammar.g:10211:5: ( ruleOpUnary ) |
| { |
| // InternalEntityGrammar.g:10211:5: ( ruleOpUnary ) |
| // InternalEntityGrammar.g:10212:6: ruleOpUnary |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXUnaryOperationRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXUnaryOperationAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_68); |
| ruleOpUnary(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10226:4: ( (lv_operand_2_0= ruleXUnaryOperation ) ) |
| // InternalEntityGrammar.g:10227:5: (lv_operand_2_0= ruleXUnaryOperation ) |
| { |
| // InternalEntityGrammar.g:10227:5: (lv_operand_2_0= ruleXUnaryOperation ) |
| // InternalEntityGrammar.g:10228:6: lv_operand_2_0= ruleXUnaryOperation |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXUnaryOperationParserRuleCall_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_operand_2_0=ruleXUnaryOperation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXUnaryOperationRule()); |
| } |
| set( |
| current, |
| "operand", |
| lv_operand_2_0, |
| "org.eclipse.xtext.xbase.Xbase.XUnaryOperation"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10247:3: this_XCastedExpression_3= ruleXCastedExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XCastedExpression_3=ruleXCastedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XCastedExpression_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXUnaryOperation" |
| |
| |
| // $ANTLR start "entryRuleOpUnary" |
| // InternalEntityGrammar.g:10259:1: entryRuleOpUnary returns [String current=null] : iv_ruleOpUnary= ruleOpUnary EOF ; |
| public final String entryRuleOpUnary() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpUnary = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:10259:47: (iv_ruleOpUnary= ruleOpUnary EOF ) |
| // InternalEntityGrammar.g:10260:2: iv_ruleOpUnary= ruleOpUnary EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpUnaryRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpUnary=ruleOpUnary(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpUnary.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpUnary" |
| |
| |
| // $ANTLR start "ruleOpUnary" |
| // InternalEntityGrammar.g:10266:1: ruleOpUnary returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '!' | kw= '-' | kw= '+' ) ; |
| public final AntlrDatatypeRuleToken ruleOpUnary() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:10272:2: ( (kw= '!' | kw= '-' | kw= '+' ) ) |
| // InternalEntityGrammar.g:10273:2: (kw= '!' | kw= '-' | kw= '+' ) |
| { |
| // InternalEntityGrammar.g:10273:2: (kw= '!' | kw= '-' | kw= '+' ) |
| int alt212=3; |
| switch ( input.LA(1) ) { |
| case 143: |
| { |
| alt212=1; |
| } |
| break; |
| case 111: |
| { |
| alt212=2; |
| } |
| break; |
| case 110: |
| { |
| alt212=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 212, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt212) { |
| case 1 : |
| // InternalEntityGrammar.g:10274:3: kw= '!' |
| { |
| kw=(Token)match(input,143,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10280:3: kw= '-' |
| { |
| kw=(Token)match(input,111,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:10286:3: kw= '+' |
| { |
| kw=(Token)match(input,110,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleOpUnary" |
| |
| |
| // $ANTLR start "entryRuleXCastedExpression" |
| // InternalEntityGrammar.g:10295:1: entryRuleXCastedExpression returns [EObject current=null] : iv_ruleXCastedExpression= ruleXCastedExpression EOF ; |
| public final EObject entryRuleXCastedExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXCastedExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:10295:58: (iv_ruleXCastedExpression= ruleXCastedExpression EOF ) |
| // InternalEntityGrammar.g:10296:2: iv_ruleXCastedExpression= ruleXCastedExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXCastedExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXCastedExpression=ruleXCastedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXCastedExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXCastedExpression" |
| |
| |
| // $ANTLR start "ruleXCastedExpression" |
| // InternalEntityGrammar.g:10302:1: ruleXCastedExpression returns [EObject current=null] : (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) ; |
| public final EObject ruleXCastedExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_2=null; |
| EObject this_XPostfixOperation_0 = null; |
| |
| EObject lv_type_3_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:10308:2: ( (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) ) |
| // InternalEntityGrammar.g:10309:2: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) |
| { |
| // InternalEntityGrammar.g:10309:2: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) |
| // InternalEntityGrammar.g:10310:3: this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCastedExpressionAccess().getXPostfixOperationParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_137); |
| this_XPostfixOperation_0=ruleXPostfixOperation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XPostfixOperation_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:10318:3: ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* |
| loop213: |
| do { |
| int alt213=2; |
| int LA213_0 = input.LA(1); |
| |
| if ( (LA213_0==144) ) { |
| int LA213_2 = input.LA(2); |
| |
| if ( (synpred20_InternalEntityGrammar()) ) { |
| alt213=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt213) { |
| case 1 : |
| // InternalEntityGrammar.g:10319:4: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| { |
| // InternalEntityGrammar.g:10319:4: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) |
| // InternalEntityGrammar.g:10320:5: ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) |
| { |
| // InternalEntityGrammar.g:10326:5: ( () otherlv_2= 'as' ) |
| // InternalEntityGrammar.g:10327:6: () otherlv_2= 'as' |
| { |
| // InternalEntityGrammar.g:10327:6: () |
| // InternalEntityGrammar.g:10328:7: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_2=(Token)match(input,144,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10340:4: ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:10341:5: (lv_type_3_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:10341:5: (lv_type_3_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:10342:6: lv_type_3_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_137); |
| lv_type_3_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXCastedExpressionRule()); |
| } |
| set( |
| current, |
| "type", |
| lv_type_3_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop213; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXCastedExpression" |
| |
| |
| // $ANTLR start "entryRuleXPostfixOperation" |
| // InternalEntityGrammar.g:10364:1: entryRuleXPostfixOperation returns [EObject current=null] : iv_ruleXPostfixOperation= ruleXPostfixOperation EOF ; |
| public final EObject entryRuleXPostfixOperation() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXPostfixOperation = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:10364:58: (iv_ruleXPostfixOperation= ruleXPostfixOperation EOF ) |
| // InternalEntityGrammar.g:10365:2: iv_ruleXPostfixOperation= ruleXPostfixOperation EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXPostfixOperationRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXPostfixOperation=ruleXPostfixOperation(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXPostfixOperation; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXPostfixOperation" |
| |
| |
| // $ANTLR start "ruleXPostfixOperation" |
| // InternalEntityGrammar.g:10371:1: ruleXPostfixOperation returns [EObject current=null] : (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) ; |
| public final EObject ruleXPostfixOperation() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_XMemberFeatureCall_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:10377:2: ( (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) ) |
| // InternalEntityGrammar.g:10378:2: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) |
| { |
| // InternalEntityGrammar.g:10378:2: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) |
| // InternalEntityGrammar.g:10379:3: this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_138); |
| this_XMemberFeatureCall_0=ruleXMemberFeatureCall(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XMemberFeatureCall_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:10387:3: ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? |
| int alt214=2; |
| int LA214_0 = input.LA(1); |
| |
| if ( (LA214_0==145) ) { |
| int LA214_1 = input.LA(2); |
| |
| if ( (synpred21_InternalEntityGrammar()) ) { |
| alt214=1; |
| } |
| } |
| else if ( (LA214_0==146) ) { |
| int LA214_2 = input.LA(2); |
| |
| if ( (synpred21_InternalEntityGrammar()) ) { |
| alt214=1; |
| } |
| } |
| switch (alt214) { |
| case 1 : |
| // InternalEntityGrammar.g:10388:4: ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) |
| { |
| // InternalEntityGrammar.g:10398:4: ( () ( ( ruleOpPostfix ) ) ) |
| // InternalEntityGrammar.g:10399:5: () ( ( ruleOpPostfix ) ) |
| { |
| // InternalEntityGrammar.g:10399:5: () |
| // InternalEntityGrammar.g:10400:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:10406:5: ( ( ruleOpPostfix ) ) |
| // InternalEntityGrammar.g:10407:6: ( ruleOpPostfix ) |
| { |
| // InternalEntityGrammar.g:10407:6: ( ruleOpPostfix ) |
| // InternalEntityGrammar.g:10408:7: ruleOpPostfix |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXPostfixOperationRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPostfixOperationAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| ruleOpPostfix(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXPostfixOperation" |
| |
| |
| // $ANTLR start "entryRuleOpPostfix" |
| // InternalEntityGrammar.g:10428:1: entryRuleOpPostfix returns [String current=null] : iv_ruleOpPostfix= ruleOpPostfix EOF ; |
| public final String entryRuleOpPostfix() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleOpPostfix = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:10428:49: (iv_ruleOpPostfix= ruleOpPostfix EOF ) |
| // InternalEntityGrammar.g:10429:2: iv_ruleOpPostfix= ruleOpPostfix EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getOpPostfixRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleOpPostfix=ruleOpPostfix(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleOpPostfix.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleOpPostfix" |
| |
| |
| // $ANTLR start "ruleOpPostfix" |
| // InternalEntityGrammar.g:10435:1: ruleOpPostfix returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '++' | kw= '--' ) ; |
| public final AntlrDatatypeRuleToken ruleOpPostfix() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:10441:2: ( (kw= '++' | kw= '--' ) ) |
| // InternalEntityGrammar.g:10442:2: (kw= '++' | kw= '--' ) |
| { |
| // InternalEntityGrammar.g:10442:2: (kw= '++' | kw= '--' ) |
| int alt215=2; |
| int LA215_0 = input.LA(1); |
| |
| if ( (LA215_0==145) ) { |
| alt215=1; |
| } |
| else if ( (LA215_0==146) ) { |
| alt215=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 215, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt215) { |
| case 1 : |
| // InternalEntityGrammar.g:10443:3: kw= '++' |
| { |
| kw=(Token)match(input,145,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10449:3: kw= '--' |
| { |
| kw=(Token)match(input,146,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleOpPostfix" |
| |
| |
| // $ANTLR start "entryRuleXMemberFeatureCall" |
| // InternalEntityGrammar.g:10458:1: entryRuleXMemberFeatureCall returns [EObject current=null] : iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF ; |
| public final EObject entryRuleXMemberFeatureCall() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXMemberFeatureCall = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:10458:59: (iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF ) |
| // InternalEntityGrammar.g:10459:2: iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXMemberFeatureCall; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXMemberFeatureCall" |
| |
| |
| // $ANTLR start "ruleXMemberFeatureCall" |
| // InternalEntityGrammar.g:10465:1: ruleXMemberFeatureCall returns [EObject current=null] : (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) ; |
| public final EObject ruleXMemberFeatureCall() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_2=null; |
| Token lv_explicitStatic_3_0=null; |
| Token otherlv_8=null; |
| Token lv_nullSafe_9_0=null; |
| Token lv_explicitStatic_10_0=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| Token otherlv_15=null; |
| Token lv_explicitOperationCall_17_0=null; |
| Token otherlv_20=null; |
| Token otherlv_22=null; |
| EObject this_XPrimaryExpression_0 = null; |
| |
| EObject lv_value_6_0 = null; |
| |
| EObject lv_typeArguments_12_0 = null; |
| |
| EObject lv_typeArguments_14_0 = null; |
| |
| EObject lv_memberCallArguments_18_0 = null; |
| |
| EObject lv_memberCallArguments_19_0 = null; |
| |
| EObject lv_memberCallArguments_21_0 = null; |
| |
| EObject lv_memberCallArguments_23_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:10471:2: ( (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) ) |
| // InternalEntityGrammar.g:10472:2: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) |
| { |
| // InternalEntityGrammar.g:10472:2: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) |
| // InternalEntityGrammar.g:10473:3: this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_139); |
| this_XPrimaryExpression_0=ruleXPrimaryExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XPrimaryExpression_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:10481:3: ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* |
| loop224: |
| do { |
| int alt224=3; |
| switch ( input.LA(1) ) { |
| case 67: |
| { |
| int LA224_2 = input.LA(2); |
| |
| if ( (synpred22_InternalEntityGrammar()) ) { |
| alt224=1; |
| } |
| else if ( (synpred23_InternalEntityGrammar()) ) { |
| alt224=2; |
| } |
| |
| |
| } |
| break; |
| case 147: |
| { |
| int LA224_3 = input.LA(2); |
| |
| if ( (synpred22_InternalEntityGrammar()) ) { |
| alt224=1; |
| } |
| else if ( (synpred23_InternalEntityGrammar()) ) { |
| alt224=2; |
| } |
| |
| |
| } |
| break; |
| case 148: |
| { |
| int LA224_4 = input.LA(2); |
| |
| if ( (synpred23_InternalEntityGrammar()) ) { |
| alt224=2; |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| switch (alt224) { |
| case 1 : |
| // InternalEntityGrammar.g:10482:4: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) |
| { |
| // InternalEntityGrammar.g:10482:4: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) |
| // InternalEntityGrammar.g:10483:5: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) |
| { |
| // InternalEntityGrammar.g:10483:5: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) |
| // InternalEntityGrammar.g:10484:6: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) |
| { |
| // InternalEntityGrammar.g:10504:6: ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) |
| // InternalEntityGrammar.g:10505:7: () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign |
| { |
| // InternalEntityGrammar.g:10505:7: () |
| // InternalEntityGrammar.g:10506:8: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:10512:7: (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) |
| int alt216=2; |
| int LA216_0 = input.LA(1); |
| |
| if ( (LA216_0==67) ) { |
| alt216=1; |
| } |
| else if ( (LA216_0==147) ) { |
| alt216=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 216, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt216) { |
| case 1 : |
| // InternalEntityGrammar.g:10513:8: otherlv_2= '.' |
| { |
| otherlv_2=(Token)match(input,67,FOLLOW_140); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10518:8: ( (lv_explicitStatic_3_0= '::' ) ) |
| { |
| // InternalEntityGrammar.g:10518:8: ( (lv_explicitStatic_3_0= '::' ) ) |
| // InternalEntityGrammar.g:10519:9: (lv_explicitStatic_3_0= '::' ) |
| { |
| // InternalEntityGrammar.g:10519:9: (lv_explicitStatic_3_0= '::' ) |
| // InternalEntityGrammar.g:10520:10: lv_explicitStatic_3_0= '::' |
| { |
| lv_explicitStatic_3_0=(Token)match(input,147,FOLLOW_140); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_explicitStatic_3_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_0_0_0_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| setWithLastConsumed(current, "explicitStatic", true, "::"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:10533:7: ( ( ruleFeatureCallID ) ) |
| // InternalEntityGrammar.g:10534:8: ( ruleFeatureCallID ) |
| { |
| // InternalEntityGrammar.g:10534:8: ( ruleFeatureCallID ) |
| // InternalEntityGrammar.g:10535:9: ruleFeatureCallID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_0_2_0()); |
| |
| } |
| pushFollow(FOLLOW_96); |
| ruleFeatureCallID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getOpSingleAssignParserRuleCall_1_0_0_0_3()); |
| |
| } |
| pushFollow(FOLLOW_68); |
| ruleOpSingleAssign(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10558:5: ( (lv_value_6_0= ruleXAssignment ) ) |
| // InternalEntityGrammar.g:10559:6: (lv_value_6_0= ruleXAssignment ) |
| { |
| // InternalEntityGrammar.g:10559:6: (lv_value_6_0= ruleXAssignment ) |
| // InternalEntityGrammar.g:10560:7: lv_value_6_0= ruleXAssignment |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_139); |
| lv_value_6_0=ruleXAssignment(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| set( |
| current, |
| "value", |
| lv_value_6_0, |
| "org.eclipse.xtext.xbase.Xbase.XAssignment"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10579:4: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) |
| { |
| // InternalEntityGrammar.g:10579:4: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) |
| // InternalEntityGrammar.g:10580:5: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? |
| { |
| // InternalEntityGrammar.g:10580:5: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) |
| // InternalEntityGrammar.g:10581:6: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) |
| { |
| // InternalEntityGrammar.g:10601:6: ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) |
| // InternalEntityGrammar.g:10602:7: () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) |
| { |
| // InternalEntityGrammar.g:10602:7: () |
| // InternalEntityGrammar.g:10603:8: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:10609:7: (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) |
| int alt217=3; |
| switch ( input.LA(1) ) { |
| case 67: |
| { |
| alt217=1; |
| } |
| break; |
| case 148: |
| { |
| alt217=2; |
| } |
| break; |
| case 147: |
| { |
| alt217=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 217, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt217) { |
| case 1 : |
| // InternalEntityGrammar.g:10610:8: otherlv_8= '.' |
| { |
| otherlv_8=(Token)match(input,67,FOLLOW_141); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10615:8: ( (lv_nullSafe_9_0= '?.' ) ) |
| { |
| // InternalEntityGrammar.g:10615:8: ( (lv_nullSafe_9_0= '?.' ) ) |
| // InternalEntityGrammar.g:10616:9: (lv_nullSafe_9_0= '?.' ) |
| { |
| // InternalEntityGrammar.g:10616:9: (lv_nullSafe_9_0= '?.' ) |
| // InternalEntityGrammar.g:10617:10: lv_nullSafe_9_0= '?.' |
| { |
| lv_nullSafe_9_0=(Token)match(input,148,FOLLOW_141); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_nullSafe_9_0, grammarAccess.getXMemberFeatureCallAccess().getNullSafeQuestionMarkFullStopKeyword_1_1_0_0_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| setWithLastConsumed(current, "nullSafe", true, "?."); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:10630:8: ( (lv_explicitStatic_10_0= '::' ) ) |
| { |
| // InternalEntityGrammar.g:10630:8: ( (lv_explicitStatic_10_0= '::' ) ) |
| // InternalEntityGrammar.g:10631:9: (lv_explicitStatic_10_0= '::' ) |
| { |
| // InternalEntityGrammar.g:10631:9: (lv_explicitStatic_10_0= '::' ) |
| // InternalEntityGrammar.g:10632:10: lv_explicitStatic_10_0= '::' |
| { |
| lv_explicitStatic_10_0=(Token)match(input,147,FOLLOW_141); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_explicitStatic_10_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_1_0_0_1_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| setWithLastConsumed(current, "explicitStatic", true, "::"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10647:5: (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? |
| int alt219=2; |
| int LA219_0 = input.LA(1); |
| |
| if ( (LA219_0==125) ) { |
| alt219=1; |
| } |
| switch (alt219) { |
| case 1 : |
| // InternalEntityGrammar.g:10648:6: otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' |
| { |
| otherlv_11=(Token)match(input,125,FOLLOW_142); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:10652:6: ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) |
| // InternalEntityGrammar.g:10653:7: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) |
| { |
| // InternalEntityGrammar.g:10653:7: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) |
| // InternalEntityGrammar.g:10654:8: lv_typeArguments_12_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_143); |
| lv_typeArguments_12_0=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| current, |
| "typeArguments", |
| lv_typeArguments_12_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10671:6: (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* |
| loop218: |
| do { |
| int alt218=2; |
| int LA218_0 = input.LA(1); |
| |
| if ( (LA218_0==30) ) { |
| alt218=1; |
| } |
| |
| |
| switch (alt218) { |
| case 1 : |
| // InternalEntityGrammar.g:10672:7: otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) |
| { |
| otherlv_13=(Token)match(input,30,FOLLOW_142); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:10676:7: ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) |
| // InternalEntityGrammar.g:10677:8: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) |
| { |
| // InternalEntityGrammar.g:10677:8: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) |
| // InternalEntityGrammar.g:10678:9: lv_typeArguments_14_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_143); |
| lv_typeArguments_14_0=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| current, |
| "typeArguments", |
| lv_typeArguments_14_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop218; |
| } |
| } while (true); |
| |
| otherlv_15=(Token)match(input,126,FOLLOW_141); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:10701:5: ( ( ruleIdOrSuper ) ) |
| // InternalEntityGrammar.g:10702:6: ( ruleIdOrSuper ) |
| { |
| // InternalEntityGrammar.g:10702:6: ( ruleIdOrSuper ) |
| // InternalEntityGrammar.g:10703:7: ruleIdOrSuper |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_2_0()); |
| |
| } |
| pushFollow(FOLLOW_144); |
| ruleIdOrSuper(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10717:5: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? |
| int alt222=2; |
| alt222 = dfa222.predict(input); |
| switch (alt222) { |
| case 1 : |
| // InternalEntityGrammar.g:10718:6: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' |
| { |
| // InternalEntityGrammar.g:10718:6: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) |
| // InternalEntityGrammar.g:10719:7: ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) |
| { |
| // InternalEntityGrammar.g:10723:7: (lv_explicitOperationCall_17_0= '(' ) |
| // InternalEntityGrammar.g:10724:8: lv_explicitOperationCall_17_0= '(' |
| { |
| lv_explicitOperationCall_17_0=(Token)match(input,16,FOLLOW_145); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_explicitOperationCall_17_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| setWithLastConsumed(current, "explicitOperationCall", true, "("); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10736:6: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? |
| int alt221=3; |
| alt221 = dfa221.predict(input); |
| switch (alt221) { |
| case 1 : |
| // InternalEntityGrammar.g:10737:7: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) |
| { |
| // InternalEntityGrammar.g:10737:7: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) |
| // InternalEntityGrammar.g:10738:8: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) |
| { |
| // InternalEntityGrammar.g:10763:8: (lv_memberCallArguments_18_0= ruleXShortClosure ) |
| // InternalEntityGrammar.g:10764:9: lv_memberCallArguments_18_0= ruleXShortClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_memberCallArguments_18_0=ruleXShortClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| current, |
| "memberCallArguments", |
| lv_memberCallArguments_18_0, |
| "org.eclipse.xtext.xbase.Xbase.XShortClosure"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10782:7: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) |
| { |
| // InternalEntityGrammar.g:10782:7: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) |
| // InternalEntityGrammar.g:10783:8: ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* |
| { |
| // InternalEntityGrammar.g:10783:8: ( (lv_memberCallArguments_19_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:10784:9: (lv_memberCallArguments_19_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:10784:9: (lv_memberCallArguments_19_0= ruleXExpression ) |
| // InternalEntityGrammar.g:10785:10: lv_memberCallArguments_19_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_memberCallArguments_19_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| current, |
| "memberCallArguments", |
| lv_memberCallArguments_19_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10802:8: (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* |
| loop220: |
| do { |
| int alt220=2; |
| int LA220_0 = input.LA(1); |
| |
| if ( (LA220_0==30) ) { |
| alt220=1; |
| } |
| |
| |
| switch (alt220) { |
| case 1 : |
| // InternalEntityGrammar.g:10803:9: otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) |
| { |
| otherlv_20=(Token)match(input,30,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_20, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_3_1_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:10807:9: ( (lv_memberCallArguments_21_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:10808:10: (lv_memberCallArguments_21_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:10808:10: (lv_memberCallArguments_21_0= ruleXExpression ) |
| // InternalEntityGrammar.g:10809:11: lv_memberCallArguments_21_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_memberCallArguments_21_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| current, |
| "memberCallArguments", |
| lv_memberCallArguments_21_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop220; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_22=(Token)match(input,17,FOLLOW_146); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_22, grammarAccess.getXMemberFeatureCallAccess().getRightParenthesisKeyword_1_1_3_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:10834:5: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? |
| int alt223=2; |
| alt223 = dfa223.predict(input); |
| switch (alt223) { |
| case 1 : |
| // InternalEntityGrammar.g:10835:6: ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) |
| { |
| // InternalEntityGrammar.g:10841:6: (lv_memberCallArguments_23_0= ruleXClosure ) |
| // InternalEntityGrammar.g:10842:7: lv_memberCallArguments_23_0= ruleXClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0()); |
| |
| } |
| pushFollow(FOLLOW_139); |
| lv_memberCallArguments_23_0=ruleXClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule()); |
| } |
| add( |
| current, |
| "memberCallArguments", |
| lv_memberCallArguments_23_0, |
| "org.eclipse.xtext.xbase.Xbase.XClosure"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop224; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXMemberFeatureCall" |
| |
| |
| // $ANTLR start "entryRuleXPrimaryExpression" |
| // InternalEntityGrammar.g:10865:1: entryRuleXPrimaryExpression returns [EObject current=null] : iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF ; |
| public final EObject entryRuleXPrimaryExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXPrimaryExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:10865:59: (iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF ) |
| // InternalEntityGrammar.g:10866:2: iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXPrimaryExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXPrimaryExpression=ruleXPrimaryExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXPrimaryExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXPrimaryExpression" |
| |
| |
| // $ANTLR start "ruleXPrimaryExpression" |
| // InternalEntityGrammar.g:10872:1: ruleXPrimaryExpression returns [EObject current=null] : (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) ; |
| public final EObject ruleXPrimaryExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_XConstructorCall_0 = null; |
| |
| EObject this_XBlockExpression_1 = null; |
| |
| EObject this_XSwitchExpression_2 = null; |
| |
| EObject this_XSynchronizedExpression_3 = null; |
| |
| EObject this_XFeatureCall_4 = null; |
| |
| EObject this_XLiteral_5 = null; |
| |
| EObject this_XIfExpression_6 = null; |
| |
| EObject this_XForLoopExpression_7 = null; |
| |
| EObject this_XBasicForLoopExpression_8 = null; |
| |
| EObject this_XWhileExpression_9 = null; |
| |
| EObject this_XDoWhileExpression_10 = null; |
| |
| EObject this_XThrowExpression_11 = null; |
| |
| EObject this_XReturnExpression_12 = null; |
| |
| EObject this_XTryCatchFinallyExpression_13 = null; |
| |
| EObject this_XParenthesizedExpression_14 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:10878:2: ( (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) ) |
| // InternalEntityGrammar.g:10879:2: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) |
| { |
| // InternalEntityGrammar.g:10879:2: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) |
| int alt225=15; |
| alt225 = dfa225.predict(input); |
| switch (alt225) { |
| case 1 : |
| // InternalEntityGrammar.g:10880:3: this_XConstructorCall_0= ruleXConstructorCall |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XConstructorCall_0=ruleXConstructorCall(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XConstructorCall_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10889:3: this_XBlockExpression_1= ruleXBlockExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XBlockExpression_1=ruleXBlockExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XBlockExpression_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:10898:3: this_XSwitchExpression_2= ruleXSwitchExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XSwitchExpression_2=ruleXSwitchExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XSwitchExpression_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:10907:3: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) |
| { |
| // InternalEntityGrammar.g:10907:3: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) |
| // InternalEntityGrammar.g:10908:4: ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XSynchronizedExpression_3=ruleXSynchronizedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XSynchronizedExpression_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:10925:3: this_XFeatureCall_4= ruleXFeatureCall |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XFeatureCall_4=ruleXFeatureCall(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XFeatureCall_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // InternalEntityGrammar.g:10934:3: this_XLiteral_5= ruleXLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XLiteral_5=ruleXLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XLiteral_5; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // InternalEntityGrammar.g:10943:3: this_XIfExpression_6= ruleXIfExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XIfExpression_6=ruleXIfExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XIfExpression_6; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 8 : |
| // InternalEntityGrammar.g:10952:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) |
| { |
| // InternalEntityGrammar.g:10952:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) |
| // InternalEntityGrammar.g:10953:4: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XForLoopExpression_7=ruleXForLoopExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XForLoopExpression_7; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 9 : |
| // InternalEntityGrammar.g:10976:3: this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XBasicForLoopExpression_8=ruleXBasicForLoopExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XBasicForLoopExpression_8; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 10 : |
| // InternalEntityGrammar.g:10985:3: this_XWhileExpression_9= ruleXWhileExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XWhileExpression_9=ruleXWhileExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XWhileExpression_9; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 11 : |
| // InternalEntityGrammar.g:10994:3: this_XDoWhileExpression_10= ruleXDoWhileExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XDoWhileExpression_10=ruleXDoWhileExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XDoWhileExpression_10; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 12 : |
| // InternalEntityGrammar.g:11003:3: this_XThrowExpression_11= ruleXThrowExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XThrowExpression_11=ruleXThrowExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XThrowExpression_11; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 13 : |
| // InternalEntityGrammar.g:11012:3: this_XReturnExpression_12= ruleXReturnExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XReturnExpression_12=ruleXReturnExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XReturnExpression_12; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 14 : |
| // InternalEntityGrammar.g:11021:3: this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XTryCatchFinallyExpression_13=ruleXTryCatchFinallyExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XTryCatchFinallyExpression_13; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 15 : |
| // InternalEntityGrammar.g:11030:3: this_XParenthesizedExpression_14= ruleXParenthesizedExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XParenthesizedExpression_14=ruleXParenthesizedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XParenthesizedExpression_14; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXPrimaryExpression" |
| |
| |
| // $ANTLR start "entryRuleXLiteral" |
| // InternalEntityGrammar.g:11042:1: entryRuleXLiteral returns [EObject current=null] : iv_ruleXLiteral= ruleXLiteral EOF ; |
| public final EObject entryRuleXLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXLiteral = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:11042:49: (iv_ruleXLiteral= ruleXLiteral EOF ) |
| // InternalEntityGrammar.g:11043:2: iv_ruleXLiteral= ruleXLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXLiteralRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXLiteral=ruleXLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXLiteral; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXLiteral" |
| |
| |
| // $ANTLR start "ruleXLiteral" |
| // InternalEntityGrammar.g:11049:1: ruleXLiteral returns [EObject current=null] : (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) ; |
| public final EObject ruleXLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_XCollectionLiteral_0 = null; |
| |
| EObject this_XClosure_1 = null; |
| |
| EObject this_XBooleanLiteral_2 = null; |
| |
| EObject this_XNumberLiteral_3 = null; |
| |
| EObject this_XNullLiteral_4 = null; |
| |
| EObject this_XStringLiteral_5 = null; |
| |
| EObject this_XTypeLiteral_6 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:11055:2: ( (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) ) |
| // InternalEntityGrammar.g:11056:2: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) |
| { |
| // InternalEntityGrammar.g:11056:2: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) |
| int alt226=7; |
| int LA226_0 = input.LA(1); |
| |
| if ( (LA226_0==119) ) { |
| alt226=1; |
| } |
| else if ( (LA226_0==38) && (synpred29_InternalEntityGrammar())) { |
| alt226=2; |
| } |
| else if ( ((LA226_0>=162 && LA226_0<=163)) ) { |
| alt226=3; |
| } |
| else if ( ((LA226_0>=RULE_INT && LA226_0<=RULE_DECIMAL)) ) { |
| alt226=4; |
| } |
| else if ( (LA226_0==164) ) { |
| alt226=5; |
| } |
| else if ( (LA226_0==RULE_STRING) ) { |
| alt226=6; |
| } |
| else if ( (LA226_0==165) ) { |
| alt226=7; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 226, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt226) { |
| case 1 : |
| // InternalEntityGrammar.g:11057:3: this_XCollectionLiteral_0= ruleXCollectionLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XCollectionLiteral_0=ruleXCollectionLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XCollectionLiteral_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:11066:3: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) |
| { |
| // InternalEntityGrammar.g:11066:3: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) |
| // InternalEntityGrammar.g:11067:4: ( ( () '[' ) )=>this_XClosure_1= ruleXClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XClosure_1=ruleXClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XClosure_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:11083:3: this_XBooleanLiteral_2= ruleXBooleanLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XBooleanLiteral_2=ruleXBooleanLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XBooleanLiteral_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:11092:3: this_XNumberLiteral_3= ruleXNumberLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XNumberLiteral_3=ruleXNumberLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XNumberLiteral_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:11101:3: this_XNullLiteral_4= ruleXNullLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XNullLiteral_4=ruleXNullLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XNullLiteral_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // InternalEntityGrammar.g:11110:3: this_XStringLiteral_5= ruleXStringLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XStringLiteral_5=ruleXStringLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XStringLiteral_5; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // InternalEntityGrammar.g:11119:3: this_XTypeLiteral_6= ruleXTypeLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XTypeLiteral_6=ruleXTypeLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XTypeLiteral_6; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXLiteral" |
| |
| |
| // $ANTLR start "entryRuleXCollectionLiteral" |
| // InternalEntityGrammar.g:11131:1: entryRuleXCollectionLiteral returns [EObject current=null] : iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF ; |
| public final EObject entryRuleXCollectionLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXCollectionLiteral = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:11131:59: (iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF ) |
| // InternalEntityGrammar.g:11132:2: iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXCollectionLiteralRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXCollectionLiteral=ruleXCollectionLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXCollectionLiteral; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXCollectionLiteral" |
| |
| |
| // $ANTLR start "ruleXCollectionLiteral" |
| // InternalEntityGrammar.g:11138:1: ruleXCollectionLiteral returns [EObject current=null] : (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) ; |
| public final EObject ruleXCollectionLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_XSetLiteral_0 = null; |
| |
| EObject this_XListLiteral_1 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:11144:2: ( (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) ) |
| // InternalEntityGrammar.g:11145:2: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) |
| { |
| // InternalEntityGrammar.g:11145:2: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) |
| int alt227=2; |
| int LA227_0 = input.LA(1); |
| |
| if ( (LA227_0==119) ) { |
| int LA227_1 = input.LA(2); |
| |
| if ( (LA227_1==38) ) { |
| alt227=2; |
| } |
| else if ( (LA227_1==21) ) { |
| alt227=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 227, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 227, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt227) { |
| case 1 : |
| // InternalEntityGrammar.g:11146:3: this_XSetLiteral_0= ruleXSetLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XSetLiteral_0=ruleXSetLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XSetLiteral_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:11155:3: this_XListLiteral_1= ruleXListLiteral |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XListLiteral_1=ruleXListLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XListLiteral_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXCollectionLiteral" |
| |
| |
| // $ANTLR start "entryRuleXSetLiteral" |
| // InternalEntityGrammar.g:11167:1: entryRuleXSetLiteral returns [EObject current=null] : iv_ruleXSetLiteral= ruleXSetLiteral EOF ; |
| public final EObject entryRuleXSetLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXSetLiteral = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:11167:52: (iv_ruleXSetLiteral= ruleXSetLiteral EOF ) |
| // InternalEntityGrammar.g:11168:2: iv_ruleXSetLiteral= ruleXSetLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXSetLiteralRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXSetLiteral=ruleXSetLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXSetLiteral; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXSetLiteral" |
| |
| |
| // $ANTLR start "ruleXSetLiteral" |
| // InternalEntityGrammar.g:11174:1: ruleXSetLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) ; |
| public final EObject ruleXSetLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| EObject lv_elements_3_0 = null; |
| |
| EObject lv_elements_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:11180:2: ( ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) ) |
| // InternalEntityGrammar.g:11181:2: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) |
| { |
| // InternalEntityGrammar.g:11181:2: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) |
| // InternalEntityGrammar.g:11182:3: () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' |
| { |
| // InternalEntityGrammar.g:11182:3: () |
| // InternalEntityGrammar.g:11183:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,119,FOLLOW_14); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,21,FOLLOW_147); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXSetLiteralAccess().getLeftCurlyBracketKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:11197:3: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? |
| int alt229=2; |
| int LA229_0 = input.LA(1); |
| |
| if ( ((LA229_0>=RULE_STRING && LA229_0<=RULE_DECIMAL)||LA229_0==16||(LA229_0>=20 && LA229_0<=21)||LA229_0==38||(LA229_0>=110 && LA229_0<=114)||LA229_0==119||LA229_0==125||LA229_0==143||LA229_0==150||LA229_0==152||(LA229_0>=156 && LA229_0<=158)||(LA229_0>=160 && LA229_0<=168)||LA229_0==170) ) { |
| alt229=1; |
| } |
| switch (alt229) { |
| case 1 : |
| // InternalEntityGrammar.g:11198:4: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* |
| { |
| // InternalEntityGrammar.g:11198:4: ( (lv_elements_3_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11199:5: (lv_elements_3_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11199:5: (lv_elements_3_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11200:6: lv_elements_3_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0()); |
| |
| } |
| pushFollow(FOLLOW_30); |
| lv_elements_3_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSetLiteralRule()); |
| } |
| add( |
| current, |
| "elements", |
| lv_elements_3_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:11217:4: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* |
| loop228: |
| do { |
| int alt228=2; |
| int LA228_0 = input.LA(1); |
| |
| if ( (LA228_0==30) ) { |
| alt228=1; |
| } |
| |
| |
| switch (alt228) { |
| case 1 : |
| // InternalEntityGrammar.g:11218:5: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) |
| { |
| otherlv_4=(Token)match(input,30,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:11222:5: ( (lv_elements_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11223:6: (lv_elements_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11223:6: (lv_elements_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11224:7: lv_elements_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_30); |
| lv_elements_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSetLiteralRule()); |
| } |
| add( |
| current, |
| "elements", |
| lv_elements_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop228; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXSetLiteral" |
| |
| |
| // $ANTLR start "entryRuleXListLiteral" |
| // InternalEntityGrammar.g:11251:1: entryRuleXListLiteral returns [EObject current=null] : iv_ruleXListLiteral= ruleXListLiteral EOF ; |
| public final EObject entryRuleXListLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXListLiteral = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:11251:53: (iv_ruleXListLiteral= ruleXListLiteral EOF ) |
| // InternalEntityGrammar.g:11252:2: iv_ruleXListLiteral= ruleXListLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXListLiteralRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXListLiteral=ruleXListLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXListLiteral; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXListLiteral" |
| |
| |
| // $ANTLR start "ruleXListLiteral" |
| // InternalEntityGrammar.g:11258:1: ruleXListLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) ; |
| public final EObject ruleXListLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| EObject lv_elements_3_0 = null; |
| |
| EObject lv_elements_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:11264:2: ( ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) ) |
| // InternalEntityGrammar.g:11265:2: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) |
| { |
| // InternalEntityGrammar.g:11265:2: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) |
| // InternalEntityGrammar.g:11266:3: () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' |
| { |
| // InternalEntityGrammar.g:11266:3: () |
| // InternalEntityGrammar.g:11267:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXListLiteralAccess().getXListLiteralAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,119,FOLLOW_119); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXListLiteralAccess().getNumberSignKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,38,FOLLOW_148); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXListLiteralAccess().getLeftSquareBracketKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:11281:3: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? |
| int alt231=2; |
| int LA231_0 = input.LA(1); |
| |
| if ( ((LA231_0>=RULE_STRING && LA231_0<=RULE_DECIMAL)||LA231_0==16||(LA231_0>=20 && LA231_0<=21)||LA231_0==38||(LA231_0>=110 && LA231_0<=114)||LA231_0==119||LA231_0==125||LA231_0==143||LA231_0==150||LA231_0==152||(LA231_0>=156 && LA231_0<=158)||(LA231_0>=160 && LA231_0<=168)||LA231_0==170) ) { |
| alt231=1; |
| } |
| switch (alt231) { |
| case 1 : |
| // InternalEntityGrammar.g:11282:4: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* |
| { |
| // InternalEntityGrammar.g:11282:4: ( (lv_elements_3_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11283:5: (lv_elements_3_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11283:5: (lv_elements_3_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11284:6: lv_elements_3_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0()); |
| |
| } |
| pushFollow(FOLLOW_121); |
| lv_elements_3_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXListLiteralRule()); |
| } |
| add( |
| current, |
| "elements", |
| lv_elements_3_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:11301:4: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* |
| loop230: |
| do { |
| int alt230=2; |
| int LA230_0 = input.LA(1); |
| |
| if ( (LA230_0==30) ) { |
| alt230=1; |
| } |
| |
| |
| switch (alt230) { |
| case 1 : |
| // InternalEntityGrammar.g:11302:5: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) |
| { |
| otherlv_4=(Token)match(input,30,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXListLiteralAccess().getCommaKeyword_3_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:11306:5: ( (lv_elements_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11307:6: (lv_elements_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11307:6: (lv_elements_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11308:7: lv_elements_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_121); |
| lv_elements_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXListLiteralRule()); |
| } |
| add( |
| current, |
| "elements", |
| lv_elements_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop230; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXListLiteralAccess().getRightSquareBracketKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXListLiteral" |
| |
| |
| // $ANTLR start "entryRuleXClosure" |
| // InternalEntityGrammar.g:11335:1: entryRuleXClosure returns [EObject current=null] : iv_ruleXClosure= ruleXClosure EOF ; |
| public final EObject entryRuleXClosure() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXClosure = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:11335:49: (iv_ruleXClosure= ruleXClosure EOF ) |
| // InternalEntityGrammar.g:11336:2: iv_ruleXClosure= ruleXClosure EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXClosureRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXClosure=ruleXClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXClosure; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXClosure" |
| |
| |
| // $ANTLR start "ruleXClosure" |
| // InternalEntityGrammar.g:11342:1: ruleXClosure returns [EObject current=null] : ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) ; |
| public final EObject ruleXClosure() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token lv_explicitSyntax_5_0=null; |
| Token otherlv_7=null; |
| EObject lv_declaredFormalParameters_2_0 = null; |
| |
| EObject lv_declaredFormalParameters_4_0 = null; |
| |
| EObject lv_expression_6_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:11348:2: ( ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) ) |
| // InternalEntityGrammar.g:11349:2: ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) |
| { |
| // InternalEntityGrammar.g:11349:2: ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) |
| // InternalEntityGrammar.g:11350:3: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' |
| { |
| // InternalEntityGrammar.g:11350:3: ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) |
| // InternalEntityGrammar.g:11351:4: ( ( () '[' ) )=> ( () otherlv_1= '[' ) |
| { |
| // InternalEntityGrammar.g:11357:4: ( () otherlv_1= '[' ) |
| // InternalEntityGrammar.g:11358:5: () otherlv_1= '[' |
| { |
| // InternalEntityGrammar.g:11358:5: () |
| // InternalEntityGrammar.g:11359:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXClosureAccess().getXClosureAction_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,38,FOLLOW_149); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXClosureAccess().getLeftSquareBracketKeyword_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:11371:3: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? |
| int alt234=2; |
| alt234 = dfa234.predict(input); |
| switch (alt234) { |
| case 1 : |
| // InternalEntityGrammar.g:11372:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) |
| { |
| // InternalEntityGrammar.g:11395:4: ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) |
| // InternalEntityGrammar.g:11396:5: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) |
| { |
| // InternalEntityGrammar.g:11396:5: ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? |
| int alt233=2; |
| int LA233_0 = input.LA(1); |
| |
| if ( (LA233_0==RULE_ID||LA233_0==16||LA233_0==137) ) { |
| alt233=1; |
| } |
| switch (alt233) { |
| case 1 : |
| // InternalEntityGrammar.g:11397:6: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* |
| { |
| // InternalEntityGrammar.g:11397:6: ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:11398:7: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:11398:7: (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:11399:8: lv_declaredFormalParameters_2_0= ruleJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_0_0()); |
| |
| } |
| pushFollow(FOLLOW_150); |
| lv_declaredFormalParameters_2_0=ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXClosureRule()); |
| } |
| add( |
| current, |
| "declaredFormalParameters", |
| lv_declaredFormalParameters_2_0, |
| "org.eclipse.xtext.xbase.Xbase.JvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:11416:6: (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* |
| loop232: |
| do { |
| int alt232=2; |
| int LA232_0 = input.LA(1); |
| |
| if ( (LA232_0==30) ) { |
| alt232=1; |
| } |
| |
| |
| switch (alt232) { |
| case 1 : |
| // InternalEntityGrammar.g:11417:7: otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) |
| { |
| otherlv_3=(Token)match(input,30,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getXClosureAccess().getCommaKeyword_1_0_0_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:11421:7: ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:11422:8: (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:11422:8: (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:11423:9: lv_declaredFormalParameters_4_0= ruleJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_1_0_0_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_150); |
| lv_declaredFormalParameters_4_0=ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXClosureRule()); |
| } |
| add( |
| current, |
| "declaredFormalParameters", |
| lv_declaredFormalParameters_4_0, |
| "org.eclipse.xtext.xbase.Xbase.JvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop232; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:11442:5: ( (lv_explicitSyntax_5_0= '|' ) ) |
| // InternalEntityGrammar.g:11443:6: (lv_explicitSyntax_5_0= '|' ) |
| { |
| // InternalEntityGrammar.g:11443:6: (lv_explicitSyntax_5_0= '|' ) |
| // InternalEntityGrammar.g:11444:7: lv_explicitSyntax_5_0= '|' |
| { |
| lv_explicitSyntax_5_0=(Token)match(input,149,FOLLOW_151); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_explicitSyntax_5_0, grammarAccess.getXClosureAccess().getExplicitSyntaxVerticalLineKeyword_1_0_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXClosureRule()); |
| } |
| setWithLastConsumed(current, "explicitSyntax", true, "|"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:11458:3: ( (lv_expression_6_0= ruleXExpressionInClosure ) ) |
| // InternalEntityGrammar.g:11459:4: (lv_expression_6_0= ruleXExpressionInClosure ) |
| { |
| // InternalEntityGrammar.g:11459:4: (lv_expression_6_0= ruleXExpressionInClosure ) |
| // InternalEntityGrammar.g:11460:5: lv_expression_6_0= ruleXExpressionInClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXClosureAccess().getExpressionXExpressionInClosureParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_111); |
| lv_expression_6_0=ruleXExpressionInClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXClosureRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_6_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpressionInClosure"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_7=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getXClosureAccess().getRightSquareBracketKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXClosure" |
| |
| |
| // $ANTLR start "entryRuleXExpressionInClosure" |
| // InternalEntityGrammar.g:11485:1: entryRuleXExpressionInClosure returns [EObject current=null] : iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF ; |
| public final EObject entryRuleXExpressionInClosure() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXExpressionInClosure = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:11485:61: (iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF ) |
| // InternalEntityGrammar.g:11486:2: iv_ruleXExpressionInClosure= ruleXExpressionInClosure EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXExpressionInClosureRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXExpressionInClosure=ruleXExpressionInClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXExpressionInClosure; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXExpressionInClosure" |
| |
| |
| // $ANTLR start "ruleXExpressionInClosure" |
| // InternalEntityGrammar.g:11492:1: ruleXExpressionInClosure returns [EObject current=null] : ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* ) ; |
| public final EObject ruleXExpressionInClosure() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_2=null; |
| EObject lv_expressions_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:11498:2: ( ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* ) ) |
| // InternalEntityGrammar.g:11499:2: ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* ) |
| { |
| // InternalEntityGrammar.g:11499:2: ( () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* ) |
| // InternalEntityGrammar.g:11500:3: () ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* |
| { |
| // InternalEntityGrammar.g:11500:3: () |
| // InternalEntityGrammar.g:11501:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXExpressionInClosureAccess().getXBlockExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:11507:3: ( ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? )* |
| loop236: |
| do { |
| int alt236=2; |
| int LA236_0 = input.LA(1); |
| |
| if ( ((LA236_0>=RULE_STRING && LA236_0<=RULE_DECIMAL)||LA236_0==16||(LA236_0>=20 && LA236_0<=21)||LA236_0==38||LA236_0==52||(LA236_0>=110 && LA236_0<=114)||LA236_0==119||LA236_0==125||LA236_0==143||LA236_0==150||LA236_0==152||(LA236_0>=156 && LA236_0<=168)||LA236_0==170) ) { |
| alt236=1; |
| } |
| |
| |
| switch (alt236) { |
| case 1 : |
| // InternalEntityGrammar.g:11508:4: ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_2= ';' )? |
| { |
| // InternalEntityGrammar.g:11508:4: ( (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) ) |
| // InternalEntityGrammar.g:11509:5: (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) |
| { |
| // InternalEntityGrammar.g:11509:5: (lv_expressions_1_0= ruleXExpressionOrVarDeclaration ) |
| // InternalEntityGrammar.g:11510:6: lv_expressions_1_0= ruleXExpressionOrVarDeclaration |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXExpressionInClosureAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_152); |
| lv_expressions_1_0=ruleXExpressionOrVarDeclaration(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXExpressionInClosureRule()); |
| } |
| add( |
| current, |
| "expressions", |
| lv_expressions_1_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:11527:4: (otherlv_2= ';' )? |
| int alt235=2; |
| int LA235_0 = input.LA(1); |
| |
| if ( (LA235_0==117) ) { |
| alt235=1; |
| } |
| switch (alt235) { |
| case 1 : |
| // InternalEntityGrammar.g:11528:5: otherlv_2= ';' |
| { |
| otherlv_2=(Token)match(input,117,FOLLOW_153); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXExpressionInClosureAccess().getSemicolonKeyword_1_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop236; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXExpressionInClosure" |
| |
| |
| // $ANTLR start "entryRuleXShortClosure" |
| // InternalEntityGrammar.g:11538:1: entryRuleXShortClosure returns [EObject current=null] : iv_ruleXShortClosure= ruleXShortClosure EOF ; |
| public final EObject entryRuleXShortClosure() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXShortClosure = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:11538:54: (iv_ruleXShortClosure= ruleXShortClosure EOF ) |
| // InternalEntityGrammar.g:11539:2: iv_ruleXShortClosure= ruleXShortClosure EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXShortClosureRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXShortClosure=ruleXShortClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXShortClosure; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXShortClosure" |
| |
| |
| // $ANTLR start "ruleXShortClosure" |
| // InternalEntityGrammar.g:11545:1: ruleXShortClosure returns [EObject current=null] : ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) ) ; |
| public final EObject ruleXShortClosure() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_2=null; |
| Token lv_explicitSyntax_4_0=null; |
| EObject lv_declaredFormalParameters_1_0 = null; |
| |
| EObject lv_declaredFormalParameters_3_0 = null; |
| |
| EObject lv_expression_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:11551:2: ( ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) ) ) |
| // InternalEntityGrammar.g:11552:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:11552:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:11553:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) ( (lv_expression_5_0= ruleXExpression ) ) |
| { |
| // InternalEntityGrammar.g:11553:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) ) |
| // InternalEntityGrammar.g:11554:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) |
| { |
| // InternalEntityGrammar.g:11579:4: ( () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) ) |
| // InternalEntityGrammar.g:11580:5: () ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_4_0= '|' ) ) |
| { |
| // InternalEntityGrammar.g:11580:5: () |
| // InternalEntityGrammar.g:11581:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXShortClosureAccess().getXClosureAction_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:11587:5: ( ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* )? |
| int alt238=2; |
| int LA238_0 = input.LA(1); |
| |
| if ( (LA238_0==RULE_ID||LA238_0==16||LA238_0==137) ) { |
| alt238=1; |
| } |
| switch (alt238) { |
| case 1 : |
| // InternalEntityGrammar.g:11588:6: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* |
| { |
| // InternalEntityGrammar.g:11588:6: ( (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:11589:7: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:11589:7: (lv_declaredFormalParameters_1_0= ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:11590:8: lv_declaredFormalParameters_1_0= ruleJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_150); |
| lv_declaredFormalParameters_1_0=ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXShortClosureRule()); |
| } |
| add( |
| current, |
| "declaredFormalParameters", |
| lv_declaredFormalParameters_1_0, |
| "org.eclipse.xtext.xbase.Xbase.JvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:11607:6: (otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) )* |
| loop237: |
| do { |
| int alt237=2; |
| int LA237_0 = input.LA(1); |
| |
| if ( (LA237_0==30) ) { |
| alt237=1; |
| } |
| |
| |
| switch (alt237) { |
| case 1 : |
| // InternalEntityGrammar.g:11608:7: otherlv_2= ',' ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) |
| { |
| otherlv_2=(Token)match(input,30,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXShortClosureAccess().getCommaKeyword_0_0_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:11612:7: ( (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:11613:8: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:11613:8: (lv_declaredFormalParameters_3_0= ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:11614:9: lv_declaredFormalParameters_3_0= ruleJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXShortClosureAccess().getDeclaredFormalParametersJvmFormalParameterParserRuleCall_0_0_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_150); |
| lv_declaredFormalParameters_3_0=ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXShortClosureRule()); |
| } |
| add( |
| current, |
| "declaredFormalParameters", |
| lv_declaredFormalParameters_3_0, |
| "org.eclipse.xtext.xbase.Xbase.JvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop237; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:11633:5: ( (lv_explicitSyntax_4_0= '|' ) ) |
| // InternalEntityGrammar.g:11634:6: (lv_explicitSyntax_4_0= '|' ) |
| { |
| // InternalEntityGrammar.g:11634:6: (lv_explicitSyntax_4_0= '|' ) |
| // InternalEntityGrammar.g:11635:7: lv_explicitSyntax_4_0= '|' |
| { |
| lv_explicitSyntax_4_0=(Token)match(input,149,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_explicitSyntax_4_0, grammarAccess.getXShortClosureAccess().getExplicitSyntaxVerticalLineKeyword_0_0_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXShortClosureRule()); |
| } |
| setWithLastConsumed(current, "explicitSyntax", true, "|"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:11649:3: ( (lv_expression_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11650:4: (lv_expression_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11650:4: (lv_expression_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11651:5: lv_expression_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXShortClosureAccess().getExpressionXExpressionParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_expression_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXShortClosureRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXShortClosure" |
| |
| |
| // $ANTLR start "entryRuleXParenthesizedExpression" |
| // InternalEntityGrammar.g:11672:1: entryRuleXParenthesizedExpression returns [EObject current=null] : iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF ; |
| public final EObject entryRuleXParenthesizedExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXParenthesizedExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:11672:65: (iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF ) |
| // InternalEntityGrammar.g:11673:2: iv_ruleXParenthesizedExpression= ruleXParenthesizedExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXParenthesizedExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXParenthesizedExpression=ruleXParenthesizedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXParenthesizedExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXParenthesizedExpression" |
| |
| |
| // $ANTLR start "ruleXParenthesizedExpression" |
| // InternalEntityGrammar.g:11679:1: ruleXParenthesizedExpression returns [EObject current=null] : (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' ) ; |
| public final EObject ruleXParenthesizedExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| EObject this_XExpression_1 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:11685:2: ( (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' ) ) |
| // InternalEntityGrammar.g:11686:2: (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' ) |
| { |
| // InternalEntityGrammar.g:11686:2: (otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' ) |
| // InternalEntityGrammar.g:11687:3: otherlv_0= '(' this_XExpression_1= ruleXExpression otherlv_2= ')' |
| { |
| otherlv_0=(Token)match(input,16,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getXParenthesizedExpressionAccess().getLeftParenthesisKeyword_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXParenthesizedExpressionAccess().getXExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| this_XExpression_1=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XExpression_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| otherlv_2=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXParenthesizedExpressionAccess().getRightParenthesisKeyword_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXParenthesizedExpression" |
| |
| |
| // $ANTLR start "entryRuleXIfExpression" |
| // InternalEntityGrammar.g:11707:1: entryRuleXIfExpression returns [EObject current=null] : iv_ruleXIfExpression= ruleXIfExpression EOF ; |
| public final EObject entryRuleXIfExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXIfExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:11707:54: (iv_ruleXIfExpression= ruleXIfExpression EOF ) |
| // InternalEntityGrammar.g:11708:2: iv_ruleXIfExpression= ruleXIfExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXIfExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXIfExpression=ruleXIfExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXIfExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXIfExpression" |
| |
| |
| // $ANTLR start "ruleXIfExpression" |
| // InternalEntityGrammar.g:11714:1: ruleXIfExpression returns [EObject current=null] : ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? ) ; |
| public final EObject ruleXIfExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| EObject lv_if_3_0 = null; |
| |
| EObject lv_then_5_0 = null; |
| |
| EObject lv_else_7_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:11720:2: ( ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? ) ) |
| // InternalEntityGrammar.g:11721:2: ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? ) |
| { |
| // InternalEntityGrammar.g:11721:2: ( () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? ) |
| // InternalEntityGrammar.g:11722:3: () otherlv_1= 'if' otherlv_2= '(' ( (lv_if_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_then_5_0= ruleXExpression ) ) ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? |
| { |
| // InternalEntityGrammar.g:11722:3: () |
| // InternalEntityGrammar.g:11723:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXIfExpressionAccess().getXIfExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,150,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXIfExpressionAccess().getIfKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXIfExpressionAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:11737:3: ( (lv_if_3_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11738:4: (lv_if_3_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11738:4: (lv_if_3_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11739:5: lv_if_3_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXIfExpressionAccess().getIfXExpressionParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_if_3_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXIfExpressionRule()); |
| } |
| set( |
| current, |
| "if", |
| lv_if_3_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_4=(Token)match(input,17,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXIfExpressionAccess().getRightParenthesisKeyword_4()); |
| |
| } |
| // InternalEntityGrammar.g:11760:3: ( (lv_then_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11761:4: (lv_then_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11761:4: (lv_then_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11762:5: lv_then_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXIfExpressionAccess().getThenXExpressionParserRuleCall_5_0()); |
| |
| } |
| pushFollow(FOLLOW_154); |
| lv_then_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXIfExpressionRule()); |
| } |
| set( |
| current, |
| "then", |
| lv_then_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:11779:3: ( ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) )? |
| int alt239=2; |
| int LA239_0 = input.LA(1); |
| |
| if ( (LA239_0==151) ) { |
| int LA239_1 = input.LA(2); |
| |
| if ( (synpred33_InternalEntityGrammar()) ) { |
| alt239=1; |
| } |
| } |
| switch (alt239) { |
| case 1 : |
| // InternalEntityGrammar.g:11780:4: ( ( 'else' )=>otherlv_6= 'else' ) ( (lv_else_7_0= ruleXExpression ) ) |
| { |
| // InternalEntityGrammar.g:11780:4: ( ( 'else' )=>otherlv_6= 'else' ) |
| // InternalEntityGrammar.g:11781:5: ( 'else' )=>otherlv_6= 'else' |
| { |
| otherlv_6=(Token)match(input,151,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXIfExpressionAccess().getElseKeyword_6_0()); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:11787:4: ( (lv_else_7_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11788:5: (lv_else_7_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11788:5: (lv_else_7_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11789:6: lv_else_7_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXIfExpressionAccess().getElseXExpressionParserRuleCall_6_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_else_7_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXIfExpressionRule()); |
| } |
| set( |
| current, |
| "else", |
| lv_else_7_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXIfExpression" |
| |
| |
| // $ANTLR start "entryRuleXSwitchExpression" |
| // InternalEntityGrammar.g:11811:1: entryRuleXSwitchExpression returns [EObject current=null] : iv_ruleXSwitchExpression= ruleXSwitchExpression EOF ; |
| public final EObject entryRuleXSwitchExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXSwitchExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:11811:58: (iv_ruleXSwitchExpression= ruleXSwitchExpression EOF ) |
| // InternalEntityGrammar.g:11812:2: iv_ruleXSwitchExpression= ruleXSwitchExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXSwitchExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXSwitchExpression=ruleXSwitchExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXSwitchExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXSwitchExpression" |
| |
| |
| // $ANTLR start "ruleXSwitchExpression" |
| // InternalEntityGrammar.g:11818:1: ruleXSwitchExpression returns [EObject current=null] : ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) ; |
| public final EObject ruleXSwitchExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token otherlv_13=null; |
| Token otherlv_15=null; |
| EObject lv_declaredParam_3_0 = null; |
| |
| EObject lv_switch_5_0 = null; |
| |
| EObject lv_declaredParam_7_0 = null; |
| |
| EObject lv_switch_9_0 = null; |
| |
| EObject lv_cases_11_0 = null; |
| |
| EObject lv_default_14_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:11824:2: ( ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) ) |
| // InternalEntityGrammar.g:11825:2: ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) |
| { |
| // InternalEntityGrammar.g:11825:2: ( () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' ) |
| // InternalEntityGrammar.g:11826:3: () otherlv_1= 'switch' ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) otherlv_10= '{' ( (lv_cases_11_0= ruleXCasePart ) )* (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? otherlv_15= '}' |
| { |
| // InternalEntityGrammar.g:11826:3: () |
| // InternalEntityGrammar.g:11827:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXSwitchExpressionAccess().getXSwitchExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,152,FOLLOW_155); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXSwitchExpressionAccess().getSwitchKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:11837:3: ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) ) |
| int alt241=2; |
| alt241 = dfa241.predict(input); |
| switch (alt241) { |
| case 1 : |
| // InternalEntityGrammar.g:11838:4: ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) |
| { |
| // InternalEntityGrammar.g:11838:4: ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) |
| // InternalEntityGrammar.g:11839:5: ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' |
| { |
| // InternalEntityGrammar.g:11839:5: ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) |
| // InternalEntityGrammar.g:11840:6: ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) |
| { |
| // InternalEntityGrammar.g:11850:6: (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) |
| // InternalEntityGrammar.g:11851:7: otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' |
| { |
| otherlv_2=(Token)match(input,16,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXSwitchExpressionAccess().getLeftParenthesisKeyword_2_0_0_0_0()); |
| |
| } |
| // InternalEntityGrammar.g:11855:7: ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:11856:8: (lv_declaredParam_3_0= ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:11856:8: (lv_declaredParam_3_0= ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:11857:9: lv_declaredParam_3_0= ruleJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_2_0_0_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_156); |
| lv_declaredParam_3_0=ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); |
| } |
| set( |
| current, |
| "declaredParam", |
| lv_declaredParam_3_0, |
| "org.eclipse.xtext.xbase.Xbase.JvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_4=(Token)match(input,153,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_0_0_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:11880:5: ( (lv_switch_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11881:6: (lv_switch_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11881:6: (lv_switch_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11882:7: lv_switch_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_switch_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); |
| } |
| set( |
| current, |
| "switch", |
| lv_switch_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_6=(Token)match(input,17,FOLLOW_14); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXSwitchExpressionAccess().getRightParenthesisKeyword_2_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:11905:4: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:11905:4: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:11906:5: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) |
| { |
| // InternalEntityGrammar.g:11906:5: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? |
| int alt240=2; |
| alt240 = dfa240.predict(input); |
| switch (alt240) { |
| case 1 : |
| // InternalEntityGrammar.g:11907:6: ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) |
| { |
| // InternalEntityGrammar.g:11916:6: ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) |
| // InternalEntityGrammar.g:11917:7: ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' |
| { |
| // InternalEntityGrammar.g:11917:7: ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:11918:8: (lv_declaredParam_7_0= ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:11918:8: (lv_declaredParam_7_0= ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:11919:9: lv_declaredParam_7_0= ruleJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_2_1_0_0_0_0()); |
| |
| } |
| pushFollow(FOLLOW_156); |
| lv_declaredParam_7_0=ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); |
| } |
| set( |
| current, |
| "declaredParam", |
| lv_declaredParam_7_0, |
| "org.eclipse.xtext.xbase.Xbase.JvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_8=(Token)match(input,153,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_2_1_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:11942:5: ( (lv_switch_9_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11943:6: (lv_switch_9_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11943:6: (lv_switch_9_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11944:7: lv_switch_9_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getSwitchXExpressionParserRuleCall_2_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_14); |
| lv_switch_9_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); |
| } |
| set( |
| current, |
| "switch", |
| lv_switch_9_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_10=(Token)match(input,21,FOLLOW_157); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getXSwitchExpressionAccess().getLeftCurlyBracketKeyword_3()); |
| |
| } |
| // InternalEntityGrammar.g:11967:3: ( (lv_cases_11_0= ruleXCasePart ) )* |
| loop242: |
| do { |
| int alt242=2; |
| int LA242_0 = input.LA(1); |
| |
| if ( (LA242_0==RULE_ID||LA242_0==16||LA242_0==30||LA242_0==137||LA242_0==153||LA242_0==155) ) { |
| alt242=1; |
| } |
| |
| |
| switch (alt242) { |
| case 1 : |
| // InternalEntityGrammar.g:11968:4: (lv_cases_11_0= ruleXCasePart ) |
| { |
| // InternalEntityGrammar.g:11968:4: (lv_cases_11_0= ruleXCasePart ) |
| // InternalEntityGrammar.g:11969:5: lv_cases_11_0= ruleXCasePart |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getCasesXCasePartParserRuleCall_4_0()); |
| |
| } |
| pushFollow(FOLLOW_157); |
| lv_cases_11_0=ruleXCasePart(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); |
| } |
| add( |
| current, |
| "cases", |
| lv_cases_11_0, |
| "org.eclipse.xtext.xbase.Xbase.XCasePart"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop242; |
| } |
| } while (true); |
| |
| // InternalEntityGrammar.g:11986:3: (otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) )? |
| int alt243=2; |
| int LA243_0 = input.LA(1); |
| |
| if ( (LA243_0==154) ) { |
| alt243=1; |
| } |
| switch (alt243) { |
| case 1 : |
| // InternalEntityGrammar.g:11987:4: otherlv_12= 'default' otherlv_13= ':' ( (lv_default_14_0= ruleXExpression ) ) |
| { |
| otherlv_12=(Token)match(input,154,FOLLOW_156); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getXSwitchExpressionAccess().getDefaultKeyword_5_0()); |
| |
| } |
| otherlv_13=(Token)match(input,153,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getXSwitchExpressionAccess().getColonKeyword_5_1()); |
| |
| } |
| // InternalEntityGrammar.g:11995:4: ( (lv_default_14_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:11996:5: (lv_default_14_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:11996:5: (lv_default_14_0= ruleXExpression ) |
| // InternalEntityGrammar.g:11997:6: lv_default_14_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSwitchExpressionAccess().getDefaultXExpressionParserRuleCall_5_2_0()); |
| |
| } |
| pushFollow(FOLLOW_85); |
| lv_default_14_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSwitchExpressionRule()); |
| } |
| set( |
| current, |
| "default", |
| lv_default_14_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_15=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getXSwitchExpressionAccess().getRightCurlyBracketKeyword_6()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXSwitchExpression" |
| |
| |
| // $ANTLR start "entryRuleXCasePart" |
| // InternalEntityGrammar.g:12023:1: entryRuleXCasePart returns [EObject current=null] : iv_ruleXCasePart= ruleXCasePart EOF ; |
| public final EObject entryRuleXCasePart() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXCasePart = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12023:50: (iv_ruleXCasePart= ruleXCasePart EOF ) |
| // InternalEntityGrammar.g:12024:2: iv_ruleXCasePart= ruleXCasePart EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXCasePartRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXCasePart=ruleXCasePart(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXCasePart; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXCasePart" |
| |
| |
| // $ANTLR start "ruleXCasePart" |
| // InternalEntityGrammar.g:12030:1: ruleXCasePart returns [EObject current=null] : ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) ) ; |
| public final EObject ruleXCasePart() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token lv_fallThrough_6_0=null; |
| EObject lv_typeGuard_1_0 = null; |
| |
| EObject lv_case_3_0 = null; |
| |
| EObject lv_then_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12036:2: ( ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) ) ) |
| // InternalEntityGrammar.g:12037:2: ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) ) |
| { |
| // InternalEntityGrammar.g:12037:2: ( () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) ) |
| // InternalEntityGrammar.g:12038:3: () ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) |
| { |
| // InternalEntityGrammar.g:12038:3: () |
| // InternalEntityGrammar.g:12039:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXCasePartAccess().getXCasePartAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:12045:3: ( (lv_typeGuard_1_0= ruleJvmTypeReference ) )? |
| int alt244=2; |
| int LA244_0 = input.LA(1); |
| |
| if ( (LA244_0==RULE_ID||LA244_0==16||LA244_0==137) ) { |
| alt244=1; |
| } |
| switch (alt244) { |
| case 1 : |
| // InternalEntityGrammar.g:12046:4: (lv_typeGuard_1_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:12046:4: (lv_typeGuard_1_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:12047:5: lv_typeGuard_1_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCasePartAccess().getTypeGuardJvmTypeReferenceParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_158); |
| lv_typeGuard_1_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXCasePartRule()); |
| } |
| set( |
| current, |
| "typeGuard", |
| lv_typeGuard_1_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:12064:3: (otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) )? |
| int alt245=2; |
| int LA245_0 = input.LA(1); |
| |
| if ( (LA245_0==155) ) { |
| alt245=1; |
| } |
| switch (alt245) { |
| case 1 : |
| // InternalEntityGrammar.g:12065:4: otherlv_2= 'case' ( (lv_case_3_0= ruleXExpression ) ) |
| { |
| otherlv_2=(Token)match(input,155,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXCasePartAccess().getCaseKeyword_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:12069:4: ( (lv_case_3_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12070:5: (lv_case_3_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12070:5: (lv_case_3_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12071:6: lv_case_3_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCasePartAccess().getCaseXExpressionParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_159); |
| lv_case_3_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXCasePartRule()); |
| } |
| set( |
| current, |
| "case", |
| lv_case_3_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:12089:3: ( (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) | ( (lv_fallThrough_6_0= ',' ) ) ) |
| int alt246=2; |
| int LA246_0 = input.LA(1); |
| |
| if ( (LA246_0==153) ) { |
| alt246=1; |
| } |
| else if ( (LA246_0==30) ) { |
| alt246=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 246, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt246) { |
| case 1 : |
| // InternalEntityGrammar.g:12090:4: (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:12090:4: (otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:12091:5: otherlv_4= ':' ( (lv_then_5_0= ruleXExpression ) ) |
| { |
| otherlv_4=(Token)match(input,153,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXCasePartAccess().getColonKeyword_3_0_0()); |
| |
| } |
| // InternalEntityGrammar.g:12095:5: ( (lv_then_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12096:6: (lv_then_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12096:6: (lv_then_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12097:7: lv_then_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCasePartAccess().getThenXExpressionParserRuleCall_3_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_then_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXCasePartRule()); |
| } |
| set( |
| current, |
| "then", |
| lv_then_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:12116:4: ( (lv_fallThrough_6_0= ',' ) ) |
| { |
| // InternalEntityGrammar.g:12116:4: ( (lv_fallThrough_6_0= ',' ) ) |
| // InternalEntityGrammar.g:12117:5: (lv_fallThrough_6_0= ',' ) |
| { |
| // InternalEntityGrammar.g:12117:5: (lv_fallThrough_6_0= ',' ) |
| // InternalEntityGrammar.g:12118:6: lv_fallThrough_6_0= ',' |
| { |
| lv_fallThrough_6_0=(Token)match(input,30,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_fallThrough_6_0, grammarAccess.getXCasePartAccess().getFallThroughCommaKeyword_3_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXCasePartRule()); |
| } |
| setWithLastConsumed(current, "fallThrough", true, ","); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXCasePart" |
| |
| |
| // $ANTLR start "entryRuleXForLoopExpression" |
| // InternalEntityGrammar.g:12135:1: entryRuleXForLoopExpression returns [EObject current=null] : iv_ruleXForLoopExpression= ruleXForLoopExpression EOF ; |
| public final EObject entryRuleXForLoopExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXForLoopExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12135:59: (iv_ruleXForLoopExpression= ruleXForLoopExpression EOF ) |
| // InternalEntityGrammar.g:12136:2: iv_ruleXForLoopExpression= ruleXForLoopExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXForLoopExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXForLoopExpression=ruleXForLoopExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXForLoopExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXForLoopExpression" |
| |
| |
| // $ANTLR start "ruleXForLoopExpression" |
| // InternalEntityGrammar.g:12142:1: ruleXForLoopExpression returns [EObject current=null] : ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) ) ; |
| public final EObject ruleXForLoopExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| EObject lv_declaredParam_3_0 = null; |
| |
| EObject lv_forExpression_5_0 = null; |
| |
| EObject lv_eachExpression_7_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12148:2: ( ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) ) ) |
| // InternalEntityGrammar.g:12149:2: ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:12149:2: ( ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:12150:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_forExpression_5_0= ruleXExpression ) ) otherlv_6= ')' ( (lv_eachExpression_7_0= ruleXExpression ) ) |
| { |
| // InternalEntityGrammar.g:12150:3: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) |
| // InternalEntityGrammar.g:12151:4: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) |
| { |
| // InternalEntityGrammar.g:12164:4: ( () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) |
| // InternalEntityGrammar.g:12165:5: () otherlv_1= 'for' otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' |
| { |
| // InternalEntityGrammar.g:12165:5: () |
| // InternalEntityGrammar.g:12166:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXForLoopExpressionAccess().getXForLoopExpressionAction_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,156,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXForLoopExpressionAccess().getForKeyword_0_0_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXForLoopExpressionAccess().getLeftParenthesisKeyword_0_0_2()); |
| |
| } |
| // InternalEntityGrammar.g:12180:5: ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:12181:6: (lv_declaredParam_3_0= ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:12181:6: (lv_declaredParam_3_0= ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:12182:7: lv_declaredParam_3_0= ruleJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getDeclaredParamJvmFormalParameterParserRuleCall_0_0_3_0()); |
| |
| } |
| pushFollow(FOLLOW_156); |
| lv_declaredParam_3_0=ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule()); |
| } |
| set( |
| current, |
| "declaredParam", |
| lv_declaredParam_3_0, |
| "org.eclipse.xtext.xbase.Xbase.JvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_4=(Token)match(input,153,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXForLoopExpressionAccess().getColonKeyword_0_0_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:12205:3: ( (lv_forExpression_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12206:4: (lv_forExpression_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12206:4: (lv_forExpression_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12207:5: lv_forExpression_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getForExpressionXExpressionParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_forExpression_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule()); |
| } |
| set( |
| current, |
| "forExpression", |
| lv_forExpression_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_6=(Token)match(input,17,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXForLoopExpressionAccess().getRightParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:12228:3: ( (lv_eachExpression_7_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12229:4: (lv_eachExpression_7_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12229:4: (lv_eachExpression_7_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12230:5: lv_eachExpression_7_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_eachExpression_7_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXForLoopExpressionRule()); |
| } |
| set( |
| current, |
| "eachExpression", |
| lv_eachExpression_7_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXForLoopExpression" |
| |
| |
| // $ANTLR start "entryRuleXBasicForLoopExpression" |
| // InternalEntityGrammar.g:12251:1: entryRuleXBasicForLoopExpression returns [EObject current=null] : iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF ; |
| public final EObject entryRuleXBasicForLoopExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXBasicForLoopExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12251:64: (iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF ) |
| // InternalEntityGrammar.g:12252:2: iv_ruleXBasicForLoopExpression= ruleXBasicForLoopExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXBasicForLoopExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXBasicForLoopExpression=ruleXBasicForLoopExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXBasicForLoopExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXBasicForLoopExpression" |
| |
| |
| // $ANTLR start "ruleXBasicForLoopExpression" |
| // InternalEntityGrammar.g:12258:1: ruleXBasicForLoopExpression returns [EObject current=null] : ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) ) ; |
| public final EObject ruleXBasicForLoopExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| EObject lv_initExpressions_3_0 = null; |
| |
| EObject lv_initExpressions_5_0 = null; |
| |
| EObject lv_expression_7_0 = null; |
| |
| EObject lv_updateExpressions_9_0 = null; |
| |
| EObject lv_updateExpressions_11_0 = null; |
| |
| EObject lv_eachExpression_13_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12264:2: ( ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) ) ) |
| // InternalEntityGrammar.g:12265:2: ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:12265:2: ( () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:12266:3: () otherlv_1= 'for' otherlv_2= '(' ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? otherlv_6= ';' ( (lv_expression_7_0= ruleXExpression ) )? otherlv_8= ';' ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? otherlv_12= ')' ( (lv_eachExpression_13_0= ruleXExpression ) ) |
| { |
| // InternalEntityGrammar.g:12266:3: () |
| // InternalEntityGrammar.g:12267:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXBasicForLoopExpressionAccess().getXBasicForLoopExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,156,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXBasicForLoopExpressionAccess().getForKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_160); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXBasicForLoopExpressionAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:12281:3: ( ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* )? |
| int alt248=2; |
| int LA248_0 = input.LA(1); |
| |
| if ( ((LA248_0>=RULE_STRING && LA248_0<=RULE_DECIMAL)||LA248_0==16||(LA248_0>=20 && LA248_0<=21)||LA248_0==38||LA248_0==52||(LA248_0>=110 && LA248_0<=114)||LA248_0==119||LA248_0==125||LA248_0==143||LA248_0==150||LA248_0==152||(LA248_0>=156 && LA248_0<=168)||LA248_0==170) ) { |
| alt248=1; |
| } |
| switch (alt248) { |
| case 1 : |
| // InternalEntityGrammar.g:12282:4: ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* |
| { |
| // InternalEntityGrammar.g:12282:4: ( (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) ) |
| // InternalEntityGrammar.g:12283:5: (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) |
| { |
| // InternalEntityGrammar.g:12283:5: (lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration ) |
| // InternalEntityGrammar.g:12284:6: lv_initExpressions_3_0= ruleXExpressionOrVarDeclaration |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsXExpressionOrVarDeclarationParserRuleCall_3_0_0()); |
| |
| } |
| pushFollow(FOLLOW_161); |
| lv_initExpressions_3_0=ruleXExpressionOrVarDeclaration(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); |
| } |
| add( |
| current, |
| "initExpressions", |
| lv_initExpressions_3_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:12301:4: (otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) )* |
| loop247: |
| do { |
| int alt247=2; |
| int LA247_0 = input.LA(1); |
| |
| if ( (LA247_0==30) ) { |
| alt247=1; |
| } |
| |
| |
| switch (alt247) { |
| case 1 : |
| // InternalEntityGrammar.g:12302:5: otherlv_4= ',' ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) |
| { |
| otherlv_4=(Token)match(input,30,FOLLOW_162); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXBasicForLoopExpressionAccess().getCommaKeyword_3_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:12306:5: ( (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) ) |
| // InternalEntityGrammar.g:12307:6: (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) |
| { |
| // InternalEntityGrammar.g:12307:6: (lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration ) |
| // InternalEntityGrammar.g:12308:7: lv_initExpressions_5_0= ruleXExpressionOrVarDeclaration |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getInitExpressionsXExpressionOrVarDeclarationParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_161); |
| lv_initExpressions_5_0=ruleXExpressionOrVarDeclaration(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); |
| } |
| add( |
| current, |
| "initExpressions", |
| lv_initExpressions_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop247; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_6=(Token)match(input,117,FOLLOW_163); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_4()); |
| |
| } |
| // InternalEntityGrammar.g:12331:3: ( (lv_expression_7_0= ruleXExpression ) )? |
| int alt249=2; |
| int LA249_0 = input.LA(1); |
| |
| if ( ((LA249_0>=RULE_STRING && LA249_0<=RULE_DECIMAL)||LA249_0==16||(LA249_0>=20 && LA249_0<=21)||LA249_0==38||(LA249_0>=110 && LA249_0<=114)||LA249_0==119||LA249_0==125||LA249_0==143||LA249_0==150||LA249_0==152||(LA249_0>=156 && LA249_0<=158)||(LA249_0>=160 && LA249_0<=168)||LA249_0==170) ) { |
| alt249=1; |
| } |
| switch (alt249) { |
| case 1 : |
| // InternalEntityGrammar.g:12332:4: (lv_expression_7_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12332:4: (lv_expression_7_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12333:5: lv_expression_7_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getExpressionXExpressionParserRuleCall_5_0()); |
| |
| } |
| pushFollow(FOLLOW_164); |
| lv_expression_7_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_7_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_8=(Token)match(input,117,FOLLOW_165); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getXBasicForLoopExpressionAccess().getSemicolonKeyword_6()); |
| |
| } |
| // InternalEntityGrammar.g:12354:3: ( ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* )? |
| int alt251=2; |
| int LA251_0 = input.LA(1); |
| |
| if ( ((LA251_0>=RULE_STRING && LA251_0<=RULE_DECIMAL)||LA251_0==16||(LA251_0>=20 && LA251_0<=21)||LA251_0==38||(LA251_0>=110 && LA251_0<=114)||LA251_0==119||LA251_0==125||LA251_0==143||LA251_0==150||LA251_0==152||(LA251_0>=156 && LA251_0<=158)||(LA251_0>=160 && LA251_0<=168)||LA251_0==170) ) { |
| alt251=1; |
| } |
| switch (alt251) { |
| case 1 : |
| // InternalEntityGrammar.g:12355:4: ( (lv_updateExpressions_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* |
| { |
| // InternalEntityGrammar.g:12355:4: ( (lv_updateExpressions_9_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12356:5: (lv_updateExpressions_9_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12356:5: (lv_updateExpressions_9_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12357:6: lv_updateExpressions_9_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsXExpressionParserRuleCall_7_0_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_updateExpressions_9_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); |
| } |
| add( |
| current, |
| "updateExpressions", |
| lv_updateExpressions_9_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:12374:4: (otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) )* |
| loop250: |
| do { |
| int alt250=2; |
| int LA250_0 = input.LA(1); |
| |
| if ( (LA250_0==30) ) { |
| alt250=1; |
| } |
| |
| |
| switch (alt250) { |
| case 1 : |
| // InternalEntityGrammar.g:12375:5: otherlv_10= ',' ( (lv_updateExpressions_11_0= ruleXExpression ) ) |
| { |
| otherlv_10=(Token)match(input,30,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getXBasicForLoopExpressionAccess().getCommaKeyword_7_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:12379:5: ( (lv_updateExpressions_11_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12380:6: (lv_updateExpressions_11_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12380:6: (lv_updateExpressions_11_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12381:7: lv_updateExpressions_11_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getUpdateExpressionsXExpressionParserRuleCall_7_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_updateExpressions_11_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); |
| } |
| add( |
| current, |
| "updateExpressions", |
| lv_updateExpressions_11_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop250; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_12=(Token)match(input,17,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getXBasicForLoopExpressionAccess().getRightParenthesisKeyword_8()); |
| |
| } |
| // InternalEntityGrammar.g:12404:3: ( (lv_eachExpression_13_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12405:4: (lv_eachExpression_13_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12405:4: (lv_eachExpression_13_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12406:5: lv_eachExpression_13_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXBasicForLoopExpressionAccess().getEachExpressionXExpressionParserRuleCall_9_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_eachExpression_13_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXBasicForLoopExpressionRule()); |
| } |
| set( |
| current, |
| "eachExpression", |
| lv_eachExpression_13_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXBasicForLoopExpression" |
| |
| |
| // $ANTLR start "entryRuleXWhileExpression" |
| // InternalEntityGrammar.g:12427:1: entryRuleXWhileExpression returns [EObject current=null] : iv_ruleXWhileExpression= ruleXWhileExpression EOF ; |
| public final EObject entryRuleXWhileExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXWhileExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12427:57: (iv_ruleXWhileExpression= ruleXWhileExpression EOF ) |
| // InternalEntityGrammar.g:12428:2: iv_ruleXWhileExpression= ruleXWhileExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXWhileExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXWhileExpression=ruleXWhileExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXWhileExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXWhileExpression" |
| |
| |
| // $ANTLR start "ruleXWhileExpression" |
| // InternalEntityGrammar.g:12434:1: ruleXWhileExpression returns [EObject current=null] : ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) ) ; |
| public final EObject ruleXWhileExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| EObject lv_predicate_3_0 = null; |
| |
| EObject lv_body_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12440:2: ( ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) ) ) |
| // InternalEntityGrammar.g:12441:2: ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:12441:2: ( () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:12442:3: () otherlv_1= 'while' otherlv_2= '(' ( (lv_predicate_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_body_5_0= ruleXExpression ) ) |
| { |
| // InternalEntityGrammar.g:12442:3: () |
| // InternalEntityGrammar.g:12443:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXWhileExpressionAccess().getXWhileExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,157,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXWhileExpressionAccess().getWhileKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXWhileExpressionAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:12457:3: ( (lv_predicate_3_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12458:4: (lv_predicate_3_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12458:4: (lv_predicate_3_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12459:5: lv_predicate_3_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXWhileExpressionAccess().getPredicateXExpressionParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_predicate_3_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXWhileExpressionRule()); |
| } |
| set( |
| current, |
| "predicate", |
| lv_predicate_3_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_4=(Token)match(input,17,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXWhileExpressionAccess().getRightParenthesisKeyword_4()); |
| |
| } |
| // InternalEntityGrammar.g:12480:3: ( (lv_body_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12481:4: (lv_body_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12481:4: (lv_body_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12482:5: lv_body_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXWhileExpressionAccess().getBodyXExpressionParserRuleCall_5_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_body_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXWhileExpressionRule()); |
| } |
| set( |
| current, |
| "body", |
| lv_body_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXWhileExpression" |
| |
| |
| // $ANTLR start "entryRuleXDoWhileExpression" |
| // InternalEntityGrammar.g:12503:1: entryRuleXDoWhileExpression returns [EObject current=null] : iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF ; |
| public final EObject entryRuleXDoWhileExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXDoWhileExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12503:59: (iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF ) |
| // InternalEntityGrammar.g:12504:2: iv_ruleXDoWhileExpression= ruleXDoWhileExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXDoWhileExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXDoWhileExpression=ruleXDoWhileExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXDoWhileExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXDoWhileExpression" |
| |
| |
| // $ANTLR start "ruleXDoWhileExpression" |
| // InternalEntityGrammar.g:12510:1: ruleXDoWhileExpression returns [EObject current=null] : ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' ) ; |
| public final EObject ruleXDoWhileExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| EObject lv_body_2_0 = null; |
| |
| EObject lv_predicate_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12516:2: ( ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' ) ) |
| // InternalEntityGrammar.g:12517:2: ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' ) |
| { |
| // InternalEntityGrammar.g:12517:2: ( () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' ) |
| // InternalEntityGrammar.g:12518:3: () otherlv_1= 'do' ( (lv_body_2_0= ruleXExpression ) ) otherlv_3= 'while' otherlv_4= '(' ( (lv_predicate_5_0= ruleXExpression ) ) otherlv_6= ')' |
| { |
| // InternalEntityGrammar.g:12518:3: () |
| // InternalEntityGrammar.g:12519:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXDoWhileExpressionAccess().getXDoWhileExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,158,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXDoWhileExpressionAccess().getDoKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:12529:3: ( (lv_body_2_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12530:4: (lv_body_2_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12530:4: (lv_body_2_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12531:5: lv_body_2_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getBodyXExpressionParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_166); |
| lv_body_2_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXDoWhileExpressionRule()); |
| } |
| set( |
| current, |
| "body", |
| lv_body_2_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,157,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getXDoWhileExpressionAccess().getWhileKeyword_3()); |
| |
| } |
| otherlv_4=(Token)match(input,16,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXDoWhileExpressionAccess().getLeftParenthesisKeyword_4()); |
| |
| } |
| // InternalEntityGrammar.g:12556:3: ( (lv_predicate_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12557:4: (lv_predicate_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12557:4: (lv_predicate_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12558:5: lv_predicate_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXDoWhileExpressionAccess().getPredicateXExpressionParserRuleCall_5_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_predicate_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXDoWhileExpressionRule()); |
| } |
| set( |
| current, |
| "predicate", |
| lv_predicate_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_6=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXDoWhileExpressionAccess().getRightParenthesisKeyword_6()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXDoWhileExpression" |
| |
| |
| // $ANTLR start "entryRuleXBlockExpression" |
| // InternalEntityGrammar.g:12583:1: entryRuleXBlockExpression returns [EObject current=null] : iv_ruleXBlockExpression= ruleXBlockExpression EOF ; |
| public final EObject entryRuleXBlockExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXBlockExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12583:57: (iv_ruleXBlockExpression= ruleXBlockExpression EOF ) |
| // InternalEntityGrammar.g:12584:2: iv_ruleXBlockExpression= ruleXBlockExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXBlockExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXBlockExpression=ruleXBlockExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXBlockExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXBlockExpression" |
| |
| |
| // $ANTLR start "ruleXBlockExpression" |
| // InternalEntityGrammar.g:12590:1: ruleXBlockExpression returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) ; |
| public final EObject ruleXBlockExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_4=null; |
| EObject lv_expressions_2_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12596:2: ( ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) ) |
| // InternalEntityGrammar.g:12597:2: ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) |
| { |
| // InternalEntityGrammar.g:12597:2: ( () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' ) |
| // InternalEntityGrammar.g:12598:3: () otherlv_1= '{' ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* otherlv_4= '}' |
| { |
| // InternalEntityGrammar.g:12598:3: () |
| // InternalEntityGrammar.g:12599:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXBlockExpressionAccess().getXBlockExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,21,FOLLOW_167); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXBlockExpressionAccess().getLeftCurlyBracketKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:12609:3: ( ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? )* |
| loop253: |
| do { |
| int alt253=2; |
| int LA253_0 = input.LA(1); |
| |
| if ( ((LA253_0>=RULE_STRING && LA253_0<=RULE_DECIMAL)||LA253_0==16||(LA253_0>=20 && LA253_0<=21)||LA253_0==38||LA253_0==52||(LA253_0>=110 && LA253_0<=114)||LA253_0==119||LA253_0==125||LA253_0==143||LA253_0==150||LA253_0==152||(LA253_0>=156 && LA253_0<=168)||LA253_0==170) ) { |
| alt253=1; |
| } |
| |
| |
| switch (alt253) { |
| case 1 : |
| // InternalEntityGrammar.g:12610:4: ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) (otherlv_3= ';' )? |
| { |
| // InternalEntityGrammar.g:12610:4: ( (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) ) |
| // InternalEntityGrammar.g:12611:5: (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) |
| { |
| // InternalEntityGrammar.g:12611:5: (lv_expressions_2_0= ruleXExpressionOrVarDeclaration ) |
| // InternalEntityGrammar.g:12612:6: lv_expressions_2_0= ruleXExpressionOrVarDeclaration |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXBlockExpressionAccess().getExpressionsXExpressionOrVarDeclarationParserRuleCall_2_0_0()); |
| |
| } |
| pushFollow(FOLLOW_168); |
| lv_expressions_2_0=ruleXExpressionOrVarDeclaration(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXBlockExpressionRule()); |
| } |
| add( |
| current, |
| "expressions", |
| lv_expressions_2_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpressionOrVarDeclaration"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:12629:4: (otherlv_3= ';' )? |
| int alt252=2; |
| int LA252_0 = input.LA(1); |
| |
| if ( (LA252_0==117) ) { |
| alt252=1; |
| } |
| switch (alt252) { |
| case 1 : |
| // InternalEntityGrammar.g:12630:5: otherlv_3= ';' |
| { |
| otherlv_3=(Token)match(input,117,FOLLOW_167); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getXBlockExpressionAccess().getSemicolonKeyword_2_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop253; |
| } |
| } while (true); |
| |
| otherlv_4=(Token)match(input,24,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXBlockExpressionAccess().getRightCurlyBracketKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXBlockExpression" |
| |
| |
| // $ANTLR start "entryRuleXExpressionOrVarDeclaration" |
| // InternalEntityGrammar.g:12644:1: entryRuleXExpressionOrVarDeclaration returns [EObject current=null] : iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF ; |
| public final EObject entryRuleXExpressionOrVarDeclaration() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXExpressionOrVarDeclaration = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12644:68: (iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF ) |
| // InternalEntityGrammar.g:12645:2: iv_ruleXExpressionOrVarDeclaration= ruleXExpressionOrVarDeclaration EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXExpressionOrVarDeclaration=ruleXExpressionOrVarDeclaration(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXExpressionOrVarDeclaration; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXExpressionOrVarDeclaration" |
| |
| |
| // $ANTLR start "ruleXExpressionOrVarDeclaration" |
| // InternalEntityGrammar.g:12651:1: ruleXExpressionOrVarDeclaration returns [EObject current=null] : (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) ; |
| public final EObject ruleXExpressionOrVarDeclaration() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_XVariableDeclaration_0 = null; |
| |
| EObject this_XExpression_1 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12657:2: ( (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12658:2: (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12658:2: (this_XVariableDeclaration_0= ruleXVariableDeclaration | this_XExpression_1= ruleXExpression ) |
| int alt254=2; |
| int LA254_0 = input.LA(1); |
| |
| if ( (LA254_0==52||LA254_0==159) ) { |
| alt254=1; |
| } |
| else if ( ((LA254_0>=RULE_STRING && LA254_0<=RULE_DECIMAL)||LA254_0==16||(LA254_0>=20 && LA254_0<=21)||LA254_0==38||(LA254_0>=110 && LA254_0<=114)||LA254_0==119||LA254_0==125||LA254_0==143||LA254_0==150||LA254_0==152||(LA254_0>=156 && LA254_0<=158)||(LA254_0>=160 && LA254_0<=168)||LA254_0==170) ) { |
| alt254=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 254, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt254) { |
| case 1 : |
| // InternalEntityGrammar.g:12659:3: this_XVariableDeclaration_0= ruleXVariableDeclaration |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationAccess().getXVariableDeclarationParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XVariableDeclaration_0=ruleXVariableDeclaration(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XVariableDeclaration_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:12668:3: this_XExpression_1= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXExpressionOrVarDeclarationAccess().getXExpressionParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| 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 "ruleXExpressionOrVarDeclaration" |
| |
| |
| // $ANTLR start "entryRuleXVariableDeclaration" |
| // InternalEntityGrammar.g:12680:1: entryRuleXVariableDeclaration returns [EObject current=null] : iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF ; |
| public final EObject entryRuleXVariableDeclaration() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXVariableDeclaration = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12680:61: (iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF ) |
| // InternalEntityGrammar.g:12681:2: iv_ruleXVariableDeclaration= ruleXVariableDeclaration EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXVariableDeclarationRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXVariableDeclaration=ruleXVariableDeclaration(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXVariableDeclaration; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXVariableDeclaration" |
| |
| |
| // $ANTLR start "ruleXVariableDeclaration" |
| // InternalEntityGrammar.g:12687:1: ruleXVariableDeclaration returns [EObject current=null] : ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? ) ; |
| public final EObject ruleXVariableDeclaration() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_writeable_1_0=null; |
| Token otherlv_2=null; |
| Token otherlv_6=null; |
| EObject lv_type_3_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_4_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_5_0 = null; |
| |
| EObject lv_right_7_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12693:2: ( ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? ) ) |
| // InternalEntityGrammar.g:12694:2: ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? ) |
| { |
| // InternalEntityGrammar.g:12694:2: ( () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? ) |
| // InternalEntityGrammar.g:12695:3: () ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? |
| { |
| // InternalEntityGrammar.g:12695:3: () |
| // InternalEntityGrammar.g:12696:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXVariableDeclarationAccess().getXVariableDeclarationAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:12702:3: ( ( (lv_writeable_1_0= 'var' ) ) | otherlv_2= 'val' ) |
| int alt255=2; |
| int LA255_0 = input.LA(1); |
| |
| if ( (LA255_0==52) ) { |
| alt255=1; |
| } |
| else if ( (LA255_0==159) ) { |
| alt255=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 255, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt255) { |
| case 1 : |
| // InternalEntityGrammar.g:12703:4: ( (lv_writeable_1_0= 'var' ) ) |
| { |
| // InternalEntityGrammar.g:12703:4: ( (lv_writeable_1_0= 'var' ) ) |
| // InternalEntityGrammar.g:12704:5: (lv_writeable_1_0= 'var' ) |
| { |
| // InternalEntityGrammar.g:12704:5: (lv_writeable_1_0= 'var' ) |
| // InternalEntityGrammar.g:12705:6: lv_writeable_1_0= 'var' |
| { |
| lv_writeable_1_0=(Token)match(input,52,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_writeable_1_0, grammarAccess.getXVariableDeclarationAccess().getWriteableVarKeyword_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXVariableDeclarationRule()); |
| } |
| setWithLastConsumed(current, "writeable", true, "var"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:12718:4: otherlv_2= 'val' |
| { |
| otherlv_2=(Token)match(input,159,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXVariableDeclarationAccess().getValKeyword_1_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:12723:3: ( ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) | ( (lv_name_5_0= ruleValidID ) ) ) |
| int alt256=2; |
| int LA256_0 = input.LA(1); |
| |
| if ( (LA256_0==RULE_ID) ) { |
| int LA256_1 = input.LA(2); |
| |
| if ( (synpred37_InternalEntityGrammar()) ) { |
| alt256=1; |
| } |
| else if ( (true) ) { |
| alt256=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 256, 1, input); |
| |
| throw nvae; |
| } |
| } |
| else if ( (LA256_0==16) && (synpred37_InternalEntityGrammar())) { |
| alt256=1; |
| } |
| else if ( (LA256_0==137) && (synpred37_InternalEntityGrammar())) { |
| alt256=1; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 256, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt256) { |
| case 1 : |
| // InternalEntityGrammar.g:12724:4: ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) |
| { |
| // InternalEntityGrammar.g:12724:4: ( ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) ) |
| // InternalEntityGrammar.g:12725:5: ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) )=> ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) |
| { |
| // InternalEntityGrammar.g:12738:5: ( ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) ) |
| // InternalEntityGrammar.g:12739:6: ( (lv_type_3_0= ruleJvmTypeReference ) ) ( (lv_name_4_0= ruleValidID ) ) |
| { |
| // InternalEntityGrammar.g:12739:6: ( (lv_type_3_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:12740:7: (lv_type_3_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:12740:7: (lv_type_3_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:12741:8: lv_type_3_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getTypeJvmTypeReferenceParserRuleCall_2_0_0_0_0()); |
| |
| } |
| pushFollow(FOLLOW_13); |
| lv_type_3_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule()); |
| } |
| set( |
| current, |
| "type", |
| lv_type_3_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:12758:6: ( (lv_name_4_0= ruleValidID ) ) |
| // InternalEntityGrammar.g:12759:7: (lv_name_4_0= ruleValidID ) |
| { |
| // InternalEntityGrammar.g:12759:7: (lv_name_4_0= ruleValidID ) |
| // InternalEntityGrammar.g:12760:8: lv_name_4_0= ruleValidID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_0_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_70); |
| lv_name_4_0=ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_4_0, |
| "org.eclipse.xtext.xbase.Xtype.ValidID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:12780:4: ( (lv_name_5_0= ruleValidID ) ) |
| { |
| // InternalEntityGrammar.g:12780:4: ( (lv_name_5_0= ruleValidID ) ) |
| // InternalEntityGrammar.g:12781:5: (lv_name_5_0= ruleValidID ) |
| { |
| // InternalEntityGrammar.g:12781:5: (lv_name_5_0= ruleValidID ) |
| // InternalEntityGrammar.g:12782:6: lv_name_5_0= ruleValidID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getNameValidIDParserRuleCall_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_70); |
| lv_name_5_0=ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_5_0, |
| "org.eclipse.xtext.xbase.Xtype.ValidID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:12800:3: (otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) )? |
| int alt257=2; |
| int LA257_0 = input.LA(1); |
| |
| if ( (LA257_0==65) ) { |
| alt257=1; |
| } |
| switch (alt257) { |
| case 1 : |
| // InternalEntityGrammar.g:12801:4: otherlv_6= '=' ( (lv_right_7_0= ruleXExpression ) ) |
| { |
| otherlv_6=(Token)match(input,65,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXVariableDeclarationAccess().getEqualsSignKeyword_3_0()); |
| |
| } |
| // InternalEntityGrammar.g:12805:4: ( (lv_right_7_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:12806:5: (lv_right_7_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:12806:5: (lv_right_7_0= ruleXExpression ) |
| // InternalEntityGrammar.g:12807:6: lv_right_7_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXVariableDeclarationAccess().getRightXExpressionParserRuleCall_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_right_7_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXVariableDeclarationRule()); |
| } |
| set( |
| current, |
| "right", |
| lv_right_7_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXVariableDeclaration" |
| |
| |
| // $ANTLR start "entryRuleJvmFormalParameter" |
| // InternalEntityGrammar.g:12829:1: entryRuleJvmFormalParameter returns [EObject current=null] : iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF ; |
| public final EObject entryRuleJvmFormalParameter() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleJvmFormalParameter = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12829:59: (iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF ) |
| // InternalEntityGrammar.g:12830:2: iv_ruleJvmFormalParameter= ruleJvmFormalParameter EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getJvmFormalParameterRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleJvmFormalParameter=ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleJvmFormalParameter; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleJvmFormalParameter" |
| |
| |
| // $ANTLR start "ruleJvmFormalParameter" |
| // InternalEntityGrammar.g:12836:1: ruleJvmFormalParameter returns [EObject current=null] : ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) ) ; |
| public final EObject ruleJvmFormalParameter() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_parameterType_0_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12842:2: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) ) ) |
| // InternalEntityGrammar.g:12843:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) ) |
| { |
| // InternalEntityGrammar.g:12843:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) ) |
| // InternalEntityGrammar.g:12844:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? ( (lv_name_1_0= ruleValidID ) ) |
| { |
| // InternalEntityGrammar.g:12844:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) )? |
| int alt258=2; |
| int LA258_0 = input.LA(1); |
| |
| if ( (LA258_0==RULE_ID) ) { |
| int LA258_1 = input.LA(2); |
| |
| if ( (LA258_1==RULE_ID||LA258_1==38||LA258_1==67||LA258_1==125) ) { |
| alt258=1; |
| } |
| } |
| else if ( (LA258_0==16||LA258_0==137) ) { |
| alt258=1; |
| } |
| switch (alt258) { |
| case 1 : |
| // InternalEntityGrammar.g:12845:4: (lv_parameterType_0_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:12845:4: (lv_parameterType_0_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:12846:5: lv_parameterType_0_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FOLLOW_13); |
| lv_parameterType_0_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmFormalParameterRule()); |
| } |
| set( |
| current, |
| "parameterType", |
| lv_parameterType_0_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:12863:3: ( (lv_name_1_0= ruleValidID ) ) |
| // InternalEntityGrammar.g:12864:4: (lv_name_1_0= ruleValidID ) |
| { |
| // InternalEntityGrammar.g:12864:4: (lv_name_1_0= ruleValidID ) |
| // InternalEntityGrammar.g:12865:5: lv_name_1_0= ruleValidID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_name_1_0=ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmFormalParameterRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_1_0, |
| "org.eclipse.xtext.xbase.Xtype.ValidID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleJvmFormalParameter" |
| |
| |
| // $ANTLR start "entryRuleFullJvmFormalParameter" |
| // InternalEntityGrammar.g:12886:1: entryRuleFullJvmFormalParameter returns [EObject current=null] : iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF ; |
| public final EObject entryRuleFullJvmFormalParameter() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleFullJvmFormalParameter = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12886:63: (iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF ) |
| // InternalEntityGrammar.g:12887:2: iv_ruleFullJvmFormalParameter= ruleFullJvmFormalParameter EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getFullJvmFormalParameterRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleFullJvmFormalParameter=ruleFullJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleFullJvmFormalParameter; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleFullJvmFormalParameter" |
| |
| |
| // $ANTLR start "ruleFullJvmFormalParameter" |
| // InternalEntityGrammar.g:12893:1: ruleFullJvmFormalParameter returns [EObject current=null] : ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) ) ; |
| public final EObject ruleFullJvmFormalParameter() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_parameterType_0_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12899:2: ( ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) ) ) |
| // InternalEntityGrammar.g:12900:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) ) |
| { |
| // InternalEntityGrammar.g:12900:2: ( ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) ) |
| // InternalEntityGrammar.g:12901:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) ( (lv_name_1_0= ruleValidID ) ) |
| { |
| // InternalEntityGrammar.g:12901:3: ( (lv_parameterType_0_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:12902:4: (lv_parameterType_0_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:12902:4: (lv_parameterType_0_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:12903:5: lv_parameterType_0_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getParameterTypeJvmTypeReferenceParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FOLLOW_13); |
| lv_parameterType_0_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getFullJvmFormalParameterRule()); |
| } |
| set( |
| current, |
| "parameterType", |
| lv_parameterType_0_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:12920:3: ( (lv_name_1_0= ruleValidID ) ) |
| // InternalEntityGrammar.g:12921:4: (lv_name_1_0= ruleValidID ) |
| { |
| // InternalEntityGrammar.g:12921:4: (lv_name_1_0= ruleValidID ) |
| // InternalEntityGrammar.g:12922:5: lv_name_1_0= ruleValidID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getFullJvmFormalParameterAccess().getNameValidIDParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_name_1_0=ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getFullJvmFormalParameterRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_1_0, |
| "org.eclipse.xtext.xbase.Xtype.ValidID"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleFullJvmFormalParameter" |
| |
| |
| // $ANTLR start "entryRuleXFeatureCall" |
| // InternalEntityGrammar.g:12943:1: entryRuleXFeatureCall returns [EObject current=null] : iv_ruleXFeatureCall= ruleXFeatureCall EOF ; |
| public final EObject entryRuleXFeatureCall() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXFeatureCall = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:12943:53: (iv_ruleXFeatureCall= ruleXFeatureCall EOF ) |
| // InternalEntityGrammar.g:12944:2: iv_ruleXFeatureCall= ruleXFeatureCall EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXFeatureCallRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXFeatureCall=ruleXFeatureCall(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXFeatureCall; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXFeatureCall" |
| |
| |
| // $ANTLR start "ruleXFeatureCall" |
| // InternalEntityGrammar.g:12950:1: ruleXFeatureCall returns [EObject current=null] : ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) ; |
| public final EObject ruleXFeatureCall() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token lv_explicitOperationCall_7_0=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| EObject lv_typeArguments_2_0 = null; |
| |
| EObject lv_typeArguments_4_0 = null; |
| |
| EObject lv_featureCallArguments_8_0 = null; |
| |
| EObject lv_featureCallArguments_9_0 = null; |
| |
| EObject lv_featureCallArguments_11_0 = null; |
| |
| EObject lv_featureCallArguments_13_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:12956:2: ( ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) ) |
| // InternalEntityGrammar.g:12957:2: ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) |
| { |
| // InternalEntityGrammar.g:12957:2: ( () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? ) |
| // InternalEntityGrammar.g:12958:3: () (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? |
| { |
| // InternalEntityGrammar.g:12958:3: () |
| // InternalEntityGrammar.g:12959:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXFeatureCallAccess().getXFeatureCallAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:12965:3: (otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' )? |
| int alt260=2; |
| int LA260_0 = input.LA(1); |
| |
| if ( (LA260_0==125) ) { |
| alt260=1; |
| } |
| switch (alt260) { |
| case 1 : |
| // InternalEntityGrammar.g:12966:4: otherlv_1= '<' ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' |
| { |
| otherlv_1=(Token)match(input,125,FOLLOW_142); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXFeatureCallAccess().getLessThanSignKeyword_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:12970:4: ( (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) ) |
| // InternalEntityGrammar.g:12971:5: (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) |
| { |
| // InternalEntityGrammar.g:12971:5: (lv_typeArguments_2_0= ruleJvmArgumentTypeReference ) |
| // InternalEntityGrammar.g:12972:6: lv_typeArguments_2_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_143); |
| lv_typeArguments_2_0=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); |
| } |
| add( |
| current, |
| "typeArguments", |
| lv_typeArguments_2_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:12989:4: (otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) )* |
| loop259: |
| do { |
| int alt259=2; |
| int LA259_0 = input.LA(1); |
| |
| if ( (LA259_0==30) ) { |
| alt259=1; |
| } |
| |
| |
| switch (alt259) { |
| case 1 : |
| // InternalEntityGrammar.g:12990:5: otherlv_3= ',' ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) |
| { |
| otherlv_3=(Token)match(input,30,FOLLOW_142); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getXFeatureCallAccess().getCommaKeyword_1_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:12994:5: ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) |
| // InternalEntityGrammar.g:12995:6: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) |
| { |
| // InternalEntityGrammar.g:12995:6: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) |
| // InternalEntityGrammar.g:12996:7: lv_typeArguments_4_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_143); |
| lv_typeArguments_4_0=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); |
| } |
| add( |
| current, |
| "typeArguments", |
| lv_typeArguments_4_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop259; |
| } |
| } while (true); |
| |
| otherlv_5=(Token)match(input,126,FOLLOW_141); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getXFeatureCallAccess().getGreaterThanSignKeyword_1_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:13019:3: ( ( ruleIdOrSuper ) ) |
| // InternalEntityGrammar.g:13020:4: ( ruleIdOrSuper ) |
| { |
| // InternalEntityGrammar.g:13020:4: ( ruleIdOrSuper ) |
| // InternalEntityGrammar.g:13021:5: ruleIdOrSuper |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXFeatureCallRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_2_0()); |
| |
| } |
| pushFollow(FOLLOW_169); |
| ruleIdOrSuper(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13035:3: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )? |
| int alt263=2; |
| alt263 = dfa263.predict(input); |
| switch (alt263) { |
| case 1 : |
| // InternalEntityGrammar.g:13036:4: ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' |
| { |
| // InternalEntityGrammar.g:13036:4: ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) |
| // InternalEntityGrammar.g:13037:5: ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) |
| { |
| // InternalEntityGrammar.g:13041:5: (lv_explicitOperationCall_7_0= '(' ) |
| // InternalEntityGrammar.g:13042:6: lv_explicitOperationCall_7_0= '(' |
| { |
| lv_explicitOperationCall_7_0=(Token)match(input,16,FOLLOW_145); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_explicitOperationCall_7_0, grammarAccess.getXFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_3_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXFeatureCallRule()); |
| } |
| setWithLastConsumed(current, "explicitOperationCall", true, "("); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13054:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? |
| int alt262=3; |
| alt262 = dfa262.predict(input); |
| switch (alt262) { |
| case 1 : |
| // InternalEntityGrammar.g:13055:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) |
| { |
| // InternalEntityGrammar.g:13055:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) |
| // InternalEntityGrammar.g:13056:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) |
| { |
| // InternalEntityGrammar.g:13081:6: (lv_featureCallArguments_8_0= ruleXShortClosure ) |
| // InternalEntityGrammar.g:13082:7: lv_featureCallArguments_8_0= ruleXShortClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXShortClosureParserRuleCall_3_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_featureCallArguments_8_0=ruleXShortClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); |
| } |
| add( |
| current, |
| "featureCallArguments", |
| lv_featureCallArguments_8_0, |
| "org.eclipse.xtext.xbase.Xbase.XShortClosure"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:13100:5: ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) |
| { |
| // InternalEntityGrammar.g:13100:5: ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) |
| // InternalEntityGrammar.g:13101:6: ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* |
| { |
| // InternalEntityGrammar.g:13101:6: ( (lv_featureCallArguments_9_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:13102:7: (lv_featureCallArguments_9_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:13102:7: (lv_featureCallArguments_9_0= ruleXExpression ) |
| // InternalEntityGrammar.g:13103:8: lv_featureCallArguments_9_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_featureCallArguments_9_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); |
| } |
| add( |
| current, |
| "featureCallArguments", |
| lv_featureCallArguments_9_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13120:6: (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* |
| loop261: |
| do { |
| int alt261=2; |
| int LA261_0 = input.LA(1); |
| |
| if ( (LA261_0==30) ) { |
| alt261=1; |
| } |
| |
| |
| switch (alt261) { |
| case 1 : |
| // InternalEntityGrammar.g:13121:7: otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) |
| { |
| otherlv_10=(Token)match(input,30,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getXFeatureCallAccess().getCommaKeyword_3_1_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:13125:7: ( (lv_featureCallArguments_11_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:13126:8: (lv_featureCallArguments_11_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:13126:8: (lv_featureCallArguments_11_0= ruleXExpression ) |
| // InternalEntityGrammar.g:13127:9: lv_featureCallArguments_11_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXExpressionParserRuleCall_3_1_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_featureCallArguments_11_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); |
| } |
| add( |
| current, |
| "featureCallArguments", |
| lv_featureCallArguments_11_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop261; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_12=(Token)match(input,17,FOLLOW_94); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getXFeatureCallAccess().getRightParenthesisKeyword_3_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:13152:3: ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )? |
| int alt264=2; |
| alt264 = dfa264.predict(input); |
| switch (alt264) { |
| case 1 : |
| // InternalEntityGrammar.g:13153:4: ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) |
| { |
| // InternalEntityGrammar.g:13159:4: (lv_featureCallArguments_13_0= ruleXClosure ) |
| // InternalEntityGrammar.g:13160:5: lv_featureCallArguments_13_0= ruleXClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXFeatureCallAccess().getFeatureCallArgumentsXClosureParserRuleCall_4_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_featureCallArguments_13_0=ruleXClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXFeatureCallRule()); |
| } |
| add( |
| current, |
| "featureCallArguments", |
| lv_featureCallArguments_13_0, |
| "org.eclipse.xtext.xbase.Xbase.XClosure"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXFeatureCall" |
| |
| |
| // $ANTLR start "entryRuleFeatureCallID" |
| // InternalEntityGrammar.g:13181:1: entryRuleFeatureCallID returns [String current=null] : iv_ruleFeatureCallID= ruleFeatureCallID EOF ; |
| public final String entryRuleFeatureCallID() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleFeatureCallID = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13181:53: (iv_ruleFeatureCallID= ruleFeatureCallID EOF ) |
| // InternalEntityGrammar.g:13182:2: iv_ruleFeatureCallID= ruleFeatureCallID EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getFeatureCallIDRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleFeatureCallID=ruleFeatureCallID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleFeatureCallID.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleFeatureCallID" |
| |
| |
| // $ANTLR start "ruleFeatureCallID" |
| // InternalEntityGrammar.g:13188:1: ruleFeatureCallID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' ) ; |
| public final AntlrDatatypeRuleToken ruleFeatureCallID() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| AntlrDatatypeRuleToken this_ValidID_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13194:2: ( (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' ) ) |
| // InternalEntityGrammar.g:13195:2: (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' ) |
| { |
| // InternalEntityGrammar.g:13195:2: (this_ValidID_0= ruleValidID | kw= 'extends' | kw= 'static' | kw= 'import' | kw= 'extension' ) |
| int alt265=5; |
| switch ( input.LA(1) ) { |
| case RULE_ID: |
| { |
| alt265=1; |
| } |
| break; |
| case 20: |
| { |
| alt265=2; |
| } |
| break; |
| case 113: |
| { |
| alt265=3; |
| } |
| break; |
| case 112: |
| { |
| alt265=4; |
| } |
| break; |
| case 114: |
| { |
| alt265=5; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 265, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt265) { |
| case 1 : |
| // InternalEntityGrammar.g:13196:3: this_ValidID_0= ruleValidID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getFeatureCallIDAccess().getValidIDParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| 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(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:13207:3: kw= 'extends' |
| { |
| kw=(Token)match(input,20,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getExtendsKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:13213:3: kw= 'static' |
| { |
| kw=(Token)match(input,113,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getStaticKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:13219:3: kw= 'import' |
| { |
| kw=(Token)match(input,112,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getImportKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:13225:3: kw= 'extension' |
| { |
| kw=(Token)match(input,114,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getFeatureCallIDAccess().getExtensionKeyword_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleFeatureCallID" |
| |
| |
| // $ANTLR start "entryRuleIdOrSuper" |
| // InternalEntityGrammar.g:13234:1: entryRuleIdOrSuper returns [String current=null] : iv_ruleIdOrSuper= ruleIdOrSuper EOF ; |
| public final String entryRuleIdOrSuper() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleIdOrSuper = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13234:49: (iv_ruleIdOrSuper= ruleIdOrSuper EOF ) |
| // InternalEntityGrammar.g:13235:2: iv_ruleIdOrSuper= ruleIdOrSuper EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getIdOrSuperRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleIdOrSuper=ruleIdOrSuper(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleIdOrSuper.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleIdOrSuper" |
| |
| |
| // $ANTLR start "ruleIdOrSuper" |
| // InternalEntityGrammar.g:13241:1: ruleIdOrSuper returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' ) ; |
| public final AntlrDatatypeRuleToken ruleIdOrSuper() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| AntlrDatatypeRuleToken this_FeatureCallID_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13247:2: ( (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' ) ) |
| // InternalEntityGrammar.g:13248:2: (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' ) |
| { |
| // InternalEntityGrammar.g:13248:2: (this_FeatureCallID_0= ruleFeatureCallID | kw= 'super' ) |
| int alt266=2; |
| int LA266_0 = input.LA(1); |
| |
| if ( (LA266_0==RULE_ID||LA266_0==20||(LA266_0>=112 && LA266_0<=114)) ) { |
| alt266=1; |
| } |
| else if ( (LA266_0==160) ) { |
| alt266=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 266, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt266) { |
| case 1 : |
| // InternalEntityGrammar.g:13249:3: this_FeatureCallID_0= ruleFeatureCallID |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getIdOrSuperAccess().getFeatureCallIDParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_FeatureCallID_0=ruleFeatureCallID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_FeatureCallID_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:13260:3: kw= 'super' |
| { |
| kw=(Token)match(input,160,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getIdOrSuperAccess().getSuperKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleIdOrSuper" |
| |
| |
| // $ANTLR start "entryRuleXConstructorCall" |
| // InternalEntityGrammar.g:13269:1: entryRuleXConstructorCall returns [EObject current=null] : iv_ruleXConstructorCall= ruleXConstructorCall EOF ; |
| public final EObject entryRuleXConstructorCall() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXConstructorCall = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13269:57: (iv_ruleXConstructorCall= ruleXConstructorCall EOF ) |
| // InternalEntityGrammar.g:13270:2: iv_ruleXConstructorCall= ruleXConstructorCall EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXConstructorCallRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXConstructorCall=ruleXConstructorCall(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXConstructorCall; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXConstructorCall" |
| |
| |
| // $ANTLR start "ruleXConstructorCall" |
| // InternalEntityGrammar.g:13276:1: ruleXConstructorCall returns [EObject current=null] : ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? ) ; |
| public final EObject ruleXConstructorCall() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token lv_explicitConstructorCall_8_0=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| EObject lv_typeArguments_4_0 = null; |
| |
| EObject lv_typeArguments_6_0 = null; |
| |
| EObject lv_arguments_9_0 = null; |
| |
| EObject lv_arguments_10_0 = null; |
| |
| EObject lv_arguments_12_0 = null; |
| |
| EObject lv_arguments_14_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13282:2: ( ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? ) ) |
| // InternalEntityGrammar.g:13283:2: ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? ) |
| { |
| // InternalEntityGrammar.g:13283:2: ( () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? ) |
| // InternalEntityGrammar.g:13284:3: () otherlv_1= 'new' ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? |
| { |
| // InternalEntityGrammar.g:13284:3: () |
| // InternalEntityGrammar.g:13285:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXConstructorCallAccess().getXConstructorCallAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,161,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXConstructorCallAccess().getNewKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:13295:3: ( ( ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:13296:4: ( ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:13296:4: ( ruleQualifiedName ) |
| // InternalEntityGrammar.g:13297:5: ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXConstructorCallRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXConstructorCallAccess().getConstructorJvmConstructorCrossReference_2_0()); |
| |
| } |
| pushFollow(FOLLOW_170); |
| ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13311:3: ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )? |
| int alt268=2; |
| alt268 = dfa268.predict(input); |
| switch (alt268) { |
| case 1 : |
| // InternalEntityGrammar.g:13312:4: ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' |
| { |
| // InternalEntityGrammar.g:13312:4: ( ( '<' )=>otherlv_3= '<' ) |
| // InternalEntityGrammar.g:13313:5: ( '<' )=>otherlv_3= '<' |
| { |
| otherlv_3=(Token)match(input,125,FOLLOW_142); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getXConstructorCallAccess().getLessThanSignKeyword_3_0()); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:13319:4: ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) |
| // InternalEntityGrammar.g:13320:5: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) |
| { |
| // InternalEntityGrammar.g:13320:5: (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) |
| // InternalEntityGrammar.g:13321:6: lv_typeArguments_4_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_1_0()); |
| |
| } |
| pushFollow(FOLLOW_143); |
| lv_typeArguments_4_0=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); |
| } |
| add( |
| current, |
| "typeArguments", |
| lv_typeArguments_4_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13338:4: (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* |
| loop267: |
| do { |
| int alt267=2; |
| int LA267_0 = input.LA(1); |
| |
| if ( (LA267_0==30) ) { |
| alt267=1; |
| } |
| |
| |
| switch (alt267) { |
| case 1 : |
| // InternalEntityGrammar.g:13339:5: otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) |
| { |
| otherlv_5=(Token)match(input,30,FOLLOW_142); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getXConstructorCallAccess().getCommaKeyword_3_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:13343:5: ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) |
| // InternalEntityGrammar.g:13344:6: (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) |
| { |
| // InternalEntityGrammar.g:13344:6: (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) |
| // InternalEntityGrammar.g:13345:7: lv_typeArguments_6_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXConstructorCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_3_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_143); |
| lv_typeArguments_6_0=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); |
| } |
| add( |
| current, |
| "typeArguments", |
| lv_typeArguments_6_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop267; |
| } |
| } while (true); |
| |
| otherlv_7=(Token)match(input,126,FOLLOW_169); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getXConstructorCallAccess().getGreaterThanSignKeyword_3_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:13368:3: ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )? |
| int alt271=2; |
| alt271 = dfa271.predict(input); |
| switch (alt271) { |
| case 1 : |
| // InternalEntityGrammar.g:13369:4: ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' |
| { |
| // InternalEntityGrammar.g:13369:4: ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) |
| // InternalEntityGrammar.g:13370:5: ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) |
| { |
| // InternalEntityGrammar.g:13374:5: (lv_explicitConstructorCall_8_0= '(' ) |
| // InternalEntityGrammar.g:13375:6: lv_explicitConstructorCall_8_0= '(' |
| { |
| lv_explicitConstructorCall_8_0=(Token)match(input,16,FOLLOW_145); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_explicitConstructorCall_8_0, grammarAccess.getXConstructorCallAccess().getExplicitConstructorCallLeftParenthesisKeyword_4_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXConstructorCallRule()); |
| } |
| setWithLastConsumed(current, "explicitConstructorCall", true, "("); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13387:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? |
| int alt270=3; |
| alt270 = dfa270.predict(input); |
| switch (alt270) { |
| case 1 : |
| // InternalEntityGrammar.g:13388:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) |
| { |
| // InternalEntityGrammar.g:13388:5: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) |
| // InternalEntityGrammar.g:13389:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) |
| { |
| // InternalEntityGrammar.g:13414:6: (lv_arguments_9_0= ruleXShortClosure ) |
| // InternalEntityGrammar.g:13415:7: lv_arguments_9_0= ruleXShortClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXShortClosureParserRuleCall_4_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_arguments_9_0=ruleXShortClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); |
| } |
| add( |
| current, |
| "arguments", |
| lv_arguments_9_0, |
| "org.eclipse.xtext.xbase.Xbase.XShortClosure"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:13433:5: ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) |
| { |
| // InternalEntityGrammar.g:13433:5: ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) |
| // InternalEntityGrammar.g:13434:6: ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* |
| { |
| // InternalEntityGrammar.g:13434:6: ( (lv_arguments_10_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:13435:7: (lv_arguments_10_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:13435:7: (lv_arguments_10_0= ruleXExpression ) |
| // InternalEntityGrammar.g:13436:8: lv_arguments_10_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_arguments_10_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); |
| } |
| add( |
| current, |
| "arguments", |
| lv_arguments_10_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13453:6: (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* |
| loop269: |
| do { |
| int alt269=2; |
| int LA269_0 = input.LA(1); |
| |
| if ( (LA269_0==30) ) { |
| alt269=1; |
| } |
| |
| |
| switch (alt269) { |
| case 1 : |
| // InternalEntityGrammar.g:13454:7: otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) |
| { |
| otherlv_11=(Token)match(input,30,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getXConstructorCallAccess().getCommaKeyword_4_1_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:13458:7: ( (lv_arguments_12_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:13459:8: (lv_arguments_12_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:13459:8: (lv_arguments_12_0= ruleXExpression ) |
| // InternalEntityGrammar.g:13460:9: lv_arguments_12_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXExpressionParserRuleCall_4_1_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_arguments_12_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); |
| } |
| add( |
| current, |
| "arguments", |
| lv_arguments_12_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop269; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_13=(Token)match(input,17,FOLLOW_94); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getXConstructorCallAccess().getRightParenthesisKeyword_4_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:13485:3: ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )? |
| int alt272=2; |
| alt272 = dfa272.predict(input); |
| switch (alt272) { |
| case 1 : |
| // InternalEntityGrammar.g:13486:4: ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) |
| { |
| // InternalEntityGrammar.g:13492:4: (lv_arguments_14_0= ruleXClosure ) |
| // InternalEntityGrammar.g:13493:5: lv_arguments_14_0= ruleXClosure |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXConstructorCallAccess().getArgumentsXClosureParserRuleCall_5_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_arguments_14_0=ruleXClosure(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXConstructorCallRule()); |
| } |
| add( |
| current, |
| "arguments", |
| lv_arguments_14_0, |
| "org.eclipse.xtext.xbase.Xbase.XClosure"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXConstructorCall" |
| |
| |
| // $ANTLR start "entryRuleXBooleanLiteral" |
| // InternalEntityGrammar.g:13514:1: entryRuleXBooleanLiteral returns [EObject current=null] : iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF ; |
| public final EObject entryRuleXBooleanLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXBooleanLiteral = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13514:56: (iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF ) |
| // InternalEntityGrammar.g:13515:2: iv_ruleXBooleanLiteral= ruleXBooleanLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXBooleanLiteralRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXBooleanLiteral=ruleXBooleanLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXBooleanLiteral; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXBooleanLiteral" |
| |
| |
| // $ANTLR start "ruleXBooleanLiteral" |
| // InternalEntityGrammar.g:13521:1: ruleXBooleanLiteral returns [EObject current=null] : ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ; |
| public final EObject ruleXBooleanLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token lv_isTrue_2_0=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13527:2: ( ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) ) |
| // InternalEntityGrammar.g:13528:2: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) |
| { |
| // InternalEntityGrammar.g:13528:2: ( () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) ) |
| // InternalEntityGrammar.g:13529:3: () (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) |
| { |
| // InternalEntityGrammar.g:13529:3: () |
| // InternalEntityGrammar.g:13530:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXBooleanLiteralAccess().getXBooleanLiteralAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:13536:3: (otherlv_1= 'false' | ( (lv_isTrue_2_0= 'true' ) ) ) |
| int alt273=2; |
| int LA273_0 = input.LA(1); |
| |
| if ( (LA273_0==162) ) { |
| alt273=1; |
| } |
| else if ( (LA273_0==163) ) { |
| alt273=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 273, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt273) { |
| case 1 : |
| // InternalEntityGrammar.g:13537:4: otherlv_1= 'false' |
| { |
| otherlv_1=(Token)match(input,162,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXBooleanLiteralAccess().getFalseKeyword_1_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:13542:4: ( (lv_isTrue_2_0= 'true' ) ) |
| { |
| // InternalEntityGrammar.g:13542:4: ( (lv_isTrue_2_0= 'true' ) ) |
| // InternalEntityGrammar.g:13543:5: (lv_isTrue_2_0= 'true' ) |
| { |
| // InternalEntityGrammar.g:13543:5: (lv_isTrue_2_0= 'true' ) |
| // InternalEntityGrammar.g:13544:6: lv_isTrue_2_0= 'true' |
| { |
| lv_isTrue_2_0=(Token)match(input,163,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_isTrue_2_0, grammarAccess.getXBooleanLiteralAccess().getIsTrueTrueKeyword_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXBooleanLiteralRule()); |
| } |
| setWithLastConsumed(current, "isTrue", true, "true"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXBooleanLiteral" |
| |
| |
| // $ANTLR start "entryRuleXNullLiteral" |
| // InternalEntityGrammar.g:13561:1: entryRuleXNullLiteral returns [EObject current=null] : iv_ruleXNullLiteral= ruleXNullLiteral EOF ; |
| public final EObject entryRuleXNullLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXNullLiteral = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13561:53: (iv_ruleXNullLiteral= ruleXNullLiteral EOF ) |
| // InternalEntityGrammar.g:13562:2: iv_ruleXNullLiteral= ruleXNullLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXNullLiteralRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXNullLiteral=ruleXNullLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXNullLiteral; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXNullLiteral" |
| |
| |
| // $ANTLR start "ruleXNullLiteral" |
| // InternalEntityGrammar.g:13568:1: ruleXNullLiteral returns [EObject current=null] : ( () otherlv_1= 'null' ) ; |
| public final EObject ruleXNullLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13574:2: ( ( () otherlv_1= 'null' ) ) |
| // InternalEntityGrammar.g:13575:2: ( () otherlv_1= 'null' ) |
| { |
| // InternalEntityGrammar.g:13575:2: ( () otherlv_1= 'null' ) |
| // InternalEntityGrammar.g:13576:3: () otherlv_1= 'null' |
| { |
| // InternalEntityGrammar.g:13576:3: () |
| // InternalEntityGrammar.g:13577:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXNullLiteralAccess().getXNullLiteralAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,164,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXNullLiteralAccess().getNullKeyword_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXNullLiteral" |
| |
| |
| // $ANTLR start "entryRuleXNumberLiteral" |
| // InternalEntityGrammar.g:13591:1: entryRuleXNumberLiteral returns [EObject current=null] : iv_ruleXNumberLiteral= ruleXNumberLiteral EOF ; |
| public final EObject entryRuleXNumberLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXNumberLiteral = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13591:55: (iv_ruleXNumberLiteral= ruleXNumberLiteral EOF ) |
| // InternalEntityGrammar.g:13592:2: iv_ruleXNumberLiteral= ruleXNumberLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXNumberLiteralRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXNumberLiteral=ruleXNumberLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXNumberLiteral; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXNumberLiteral" |
| |
| |
| // $ANTLR start "ruleXNumberLiteral" |
| // InternalEntityGrammar.g:13598:1: ruleXNumberLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= ruleNumber ) ) ) ; |
| public final EObject ruleXNumberLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| AntlrDatatypeRuleToken lv_value_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13604:2: ( ( () ( (lv_value_1_0= ruleNumber ) ) ) ) |
| // InternalEntityGrammar.g:13605:2: ( () ( (lv_value_1_0= ruleNumber ) ) ) |
| { |
| // InternalEntityGrammar.g:13605:2: ( () ( (lv_value_1_0= ruleNumber ) ) ) |
| // InternalEntityGrammar.g:13606:3: () ( (lv_value_1_0= ruleNumber ) ) |
| { |
| // InternalEntityGrammar.g:13606:3: () |
| // InternalEntityGrammar.g:13607:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXNumberLiteralAccess().getXNumberLiteralAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:13613:3: ( (lv_value_1_0= ruleNumber ) ) |
| // InternalEntityGrammar.g:13614:4: (lv_value_1_0= ruleNumber ) |
| { |
| // InternalEntityGrammar.g:13614:4: (lv_value_1_0= ruleNumber ) |
| // InternalEntityGrammar.g:13615:5: lv_value_1_0= ruleNumber |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXNumberLiteralAccess().getValueNumberParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_value_1_0=ruleNumber(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXNumberLiteralRule()); |
| } |
| set( |
| current, |
| "value", |
| lv_value_1_0, |
| "org.eclipse.xtext.xbase.Xbase.Number"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXNumberLiteral" |
| |
| |
| // $ANTLR start "entryRuleXStringLiteral" |
| // InternalEntityGrammar.g:13636:1: entryRuleXStringLiteral returns [EObject current=null] : iv_ruleXStringLiteral= ruleXStringLiteral EOF ; |
| public final EObject entryRuleXStringLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXStringLiteral = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13636:55: (iv_ruleXStringLiteral= ruleXStringLiteral EOF ) |
| // InternalEntityGrammar.g:13637:2: iv_ruleXStringLiteral= ruleXStringLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXStringLiteralRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXStringLiteral=ruleXStringLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXStringLiteral; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXStringLiteral" |
| |
| |
| // $ANTLR start "ruleXStringLiteral" |
| // InternalEntityGrammar.g:13643:1: ruleXStringLiteral returns [EObject current=null] : ( () ( (lv_value_1_0= RULE_STRING ) ) ) ; |
| public final EObject ruleXStringLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_value_1_0=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13649:2: ( ( () ( (lv_value_1_0= RULE_STRING ) ) ) ) |
| // InternalEntityGrammar.g:13650:2: ( () ( (lv_value_1_0= RULE_STRING ) ) ) |
| { |
| // InternalEntityGrammar.g:13650:2: ( () ( (lv_value_1_0= RULE_STRING ) ) ) |
| // InternalEntityGrammar.g:13651:3: () ( (lv_value_1_0= RULE_STRING ) ) |
| { |
| // InternalEntityGrammar.g:13651:3: () |
| // InternalEntityGrammar.g:13652:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXStringLiteralAccess().getXStringLiteralAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:13658:3: ( (lv_value_1_0= RULE_STRING ) ) |
| // InternalEntityGrammar.g:13659:4: (lv_value_1_0= RULE_STRING ) |
| { |
| // InternalEntityGrammar.g:13659:4: (lv_value_1_0= RULE_STRING ) |
| // InternalEntityGrammar.g:13660:5: lv_value_1_0= RULE_STRING |
| { |
| lv_value_1_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_value_1_0, grammarAccess.getXStringLiteralAccess().getValueSTRINGTerminalRuleCall_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXStringLiteralRule()); |
| } |
| setWithLastConsumed( |
| current, |
| "value", |
| lv_value_1_0, |
| "org.eclipse.xtext.xbase.Xtype.STRING"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXStringLiteral" |
| |
| |
| // $ANTLR start "entryRuleXTypeLiteral" |
| // InternalEntityGrammar.g:13680:1: entryRuleXTypeLiteral returns [EObject current=null] : iv_ruleXTypeLiteral= ruleXTypeLiteral EOF ; |
| public final EObject entryRuleXTypeLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXTypeLiteral = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13680:53: (iv_ruleXTypeLiteral= ruleXTypeLiteral EOF ) |
| // InternalEntityGrammar.g:13681:2: iv_ruleXTypeLiteral= ruleXTypeLiteral EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXTypeLiteralRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXTypeLiteral=ruleXTypeLiteral(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXTypeLiteral; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXTypeLiteral" |
| |
| |
| // $ANTLR start "ruleXTypeLiteral" |
| // InternalEntityGrammar.g:13687:1: ruleXTypeLiteral returns [EObject current=null] : ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' ) ; |
| public final EObject ruleXTypeLiteral() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_5=null; |
| AntlrDatatypeRuleToken lv_arrayDimensions_4_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13693:2: ( ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' ) ) |
| // InternalEntityGrammar.g:13694:2: ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' ) |
| { |
| // InternalEntityGrammar.g:13694:2: ( () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' ) |
| // InternalEntityGrammar.g:13695:3: () otherlv_1= 'typeof' otherlv_2= '(' ( ( ruleQualifiedName ) ) ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* otherlv_5= ')' |
| { |
| // InternalEntityGrammar.g:13695:3: () |
| // InternalEntityGrammar.g:13696:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXTypeLiteralAccess().getXTypeLiteralAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,165,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXTypeLiteralAccess().getTypeofKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXTypeLiteralAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:13710:3: ( ( ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:13711:4: ( ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:13711:4: ( ruleQualifiedName ) |
| // InternalEntityGrammar.g:13712:5: ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getXTypeLiteralRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXTypeLiteralAccess().getTypeJvmTypeCrossReference_3_0()); |
| |
| } |
| pushFollow(FOLLOW_99); |
| ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13726:3: ( (lv_arrayDimensions_4_0= ruleArrayBrackets ) )* |
| loop274: |
| do { |
| int alt274=2; |
| int LA274_0 = input.LA(1); |
| |
| if ( (LA274_0==38) ) { |
| alt274=1; |
| } |
| |
| |
| switch (alt274) { |
| case 1 : |
| // InternalEntityGrammar.g:13727:4: (lv_arrayDimensions_4_0= ruleArrayBrackets ) |
| { |
| // InternalEntityGrammar.g:13727:4: (lv_arrayDimensions_4_0= ruleArrayBrackets ) |
| // InternalEntityGrammar.g:13728:5: lv_arrayDimensions_4_0= ruleArrayBrackets |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXTypeLiteralAccess().getArrayDimensionsArrayBracketsParserRuleCall_4_0()); |
| |
| } |
| pushFollow(FOLLOW_99); |
| lv_arrayDimensions_4_0=ruleArrayBrackets(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXTypeLiteralRule()); |
| } |
| add( |
| current, |
| "arrayDimensions", |
| lv_arrayDimensions_4_0, |
| "org.eclipse.xtext.xbase.Xtype.ArrayBrackets"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop274; |
| } |
| } while (true); |
| |
| otherlv_5=(Token)match(input,17,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getXTypeLiteralAccess().getRightParenthesisKeyword_5()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXTypeLiteral" |
| |
| |
| // $ANTLR start "entryRuleXThrowExpression" |
| // InternalEntityGrammar.g:13753:1: entryRuleXThrowExpression returns [EObject current=null] : iv_ruleXThrowExpression= ruleXThrowExpression EOF ; |
| public final EObject entryRuleXThrowExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXThrowExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13753:57: (iv_ruleXThrowExpression= ruleXThrowExpression EOF ) |
| // InternalEntityGrammar.g:13754:2: iv_ruleXThrowExpression= ruleXThrowExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXThrowExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXThrowExpression=ruleXThrowExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXThrowExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXThrowExpression" |
| |
| |
| // $ANTLR start "ruleXThrowExpression" |
| // InternalEntityGrammar.g:13760:1: ruleXThrowExpression returns [EObject current=null] : ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) ) ; |
| public final EObject ruleXThrowExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| EObject lv_expression_2_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13766:2: ( ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) ) ) |
| // InternalEntityGrammar.g:13767:2: ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:13767:2: ( () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:13768:3: () otherlv_1= 'throw' ( (lv_expression_2_0= ruleXExpression ) ) |
| { |
| // InternalEntityGrammar.g:13768:3: () |
| // InternalEntityGrammar.g:13769:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXThrowExpressionAccess().getXThrowExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,166,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXThrowExpressionAccess().getThrowKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:13779:3: ( (lv_expression_2_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:13780:4: (lv_expression_2_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:13780:4: (lv_expression_2_0= ruleXExpression ) |
| // InternalEntityGrammar.g:13781:5: lv_expression_2_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXThrowExpressionAccess().getExpressionXExpressionParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_expression_2_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXThrowExpressionRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_2_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXThrowExpression" |
| |
| |
| // $ANTLR start "entryRuleXReturnExpression" |
| // InternalEntityGrammar.g:13802:1: entryRuleXReturnExpression returns [EObject current=null] : iv_ruleXReturnExpression= ruleXReturnExpression EOF ; |
| public final EObject entryRuleXReturnExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXReturnExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13802:58: (iv_ruleXReturnExpression= ruleXReturnExpression EOF ) |
| // InternalEntityGrammar.g:13803:2: iv_ruleXReturnExpression= ruleXReturnExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXReturnExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXReturnExpression=ruleXReturnExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXReturnExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXReturnExpression" |
| |
| |
| // $ANTLR start "ruleXReturnExpression" |
| // InternalEntityGrammar.g:13809:1: ruleXReturnExpression returns [EObject current=null] : ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? ) ; |
| public final EObject ruleXReturnExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| EObject lv_expression_2_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13815:2: ( ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? ) ) |
| // InternalEntityGrammar.g:13816:2: ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? ) |
| { |
| // InternalEntityGrammar.g:13816:2: ( () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? ) |
| // InternalEntityGrammar.g:13817:3: () otherlv_1= 'return' ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? |
| { |
| // InternalEntityGrammar.g:13817:3: () |
| // InternalEntityGrammar.g:13818:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXReturnExpressionAccess().getXReturnExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,167,FOLLOW_171); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXReturnExpressionAccess().getReturnKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:13828:3: ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )? |
| int alt275=2; |
| alt275 = dfa275.predict(input); |
| switch (alt275) { |
| case 1 : |
| // InternalEntityGrammar.g:13829:4: ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:13830:4: (lv_expression_2_0= ruleXExpression ) |
| // InternalEntityGrammar.g:13831:5: lv_expression_2_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXReturnExpressionAccess().getExpressionXExpressionParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_expression_2_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXReturnExpressionRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_2_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXReturnExpression" |
| |
| |
| // $ANTLR start "entryRuleXTryCatchFinallyExpression" |
| // InternalEntityGrammar.g:13852:1: entryRuleXTryCatchFinallyExpression returns [EObject current=null] : iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF ; |
| public final EObject entryRuleXTryCatchFinallyExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXTryCatchFinallyExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13852:67: (iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF ) |
| // InternalEntityGrammar.g:13853:2: iv_ruleXTryCatchFinallyExpression= ruleXTryCatchFinallyExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXTryCatchFinallyExpression=ruleXTryCatchFinallyExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXTryCatchFinallyExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXTryCatchFinallyExpression" |
| |
| |
| // $ANTLR start "ruleXTryCatchFinallyExpression" |
| // InternalEntityGrammar.g:13859:1: ruleXTryCatchFinallyExpression returns [EObject current=null] : ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) ) ; |
| public final EObject ruleXTryCatchFinallyExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| EObject lv_expression_2_0 = null; |
| |
| EObject lv_catchClauses_3_0 = null; |
| |
| EObject lv_finallyExpression_5_0 = null; |
| |
| EObject lv_finallyExpression_7_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13865:2: ( ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) ) ) |
| // InternalEntityGrammar.g:13866:2: ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) ) |
| { |
| // InternalEntityGrammar.g:13866:2: ( () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) ) |
| // InternalEntityGrammar.g:13867:3: () otherlv_1= 'try' ( (lv_expression_2_0= ruleXExpression ) ) ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) |
| { |
| // InternalEntityGrammar.g:13867:3: () |
| // InternalEntityGrammar.g:13868:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXTryCatchFinallyExpressionAccess().getXTryCatchFinallyExpressionAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,168,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXTryCatchFinallyExpressionAccess().getTryKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:13878:3: ( (lv_expression_2_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:13879:4: (lv_expression_2_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:13879:4: (lv_expression_2_0= ruleXExpression ) |
| // InternalEntityGrammar.g:13880:5: lv_expression_2_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getExpressionXExpressionParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_172); |
| lv_expression_2_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_2_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13897:3: ( ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) | (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) ) |
| int alt278=2; |
| int LA278_0 = input.LA(1); |
| |
| if ( (LA278_0==171) ) { |
| alt278=1; |
| } |
| else if ( (LA278_0==169) ) { |
| alt278=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 278, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt278) { |
| case 1 : |
| // InternalEntityGrammar.g:13898:4: ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) |
| { |
| // InternalEntityGrammar.g:13898:4: ( ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? ) |
| // InternalEntityGrammar.g:13899:5: ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? |
| { |
| // InternalEntityGrammar.g:13899:5: ( ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) )+ |
| int cnt276=0; |
| loop276: |
| do { |
| int alt276=2; |
| int LA276_0 = input.LA(1); |
| |
| if ( (LA276_0==171) ) { |
| int LA276_2 = input.LA(2); |
| |
| if ( (synpred46_InternalEntityGrammar()) ) { |
| alt276=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt276) { |
| case 1 : |
| // InternalEntityGrammar.g:13900:6: ( 'catch' )=> (lv_catchClauses_3_0= ruleXCatchClause ) |
| { |
| // InternalEntityGrammar.g:13901:6: (lv_catchClauses_3_0= ruleXCatchClause ) |
| // InternalEntityGrammar.g:13902:7: lv_catchClauses_3_0= ruleXCatchClause |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getCatchClausesXCatchClauseParserRuleCall_3_0_0_0()); |
| |
| } |
| pushFollow(FOLLOW_173); |
| lv_catchClauses_3_0=ruleXCatchClause(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule()); |
| } |
| add( |
| current, |
| "catchClauses", |
| lv_catchClauses_3_0, |
| "org.eclipse.xtext.xbase.Xbase.XCatchClause"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| if ( cnt276 >= 1 ) break loop276; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(276, input); |
| throw eee; |
| } |
| cnt276++; |
| } while (true); |
| |
| // InternalEntityGrammar.g:13919:5: ( ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) )? |
| int alt277=2; |
| int LA277_0 = input.LA(1); |
| |
| if ( (LA277_0==169) ) { |
| int LA277_1 = input.LA(2); |
| |
| if ( (synpred47_InternalEntityGrammar()) ) { |
| alt277=1; |
| } |
| } |
| switch (alt277) { |
| case 1 : |
| // InternalEntityGrammar.g:13920:6: ( ( 'finally' )=>otherlv_4= 'finally' ) ( (lv_finallyExpression_5_0= ruleXExpression ) ) |
| { |
| // InternalEntityGrammar.g:13920:6: ( ( 'finally' )=>otherlv_4= 'finally' ) |
| // InternalEntityGrammar.g:13921:7: ( 'finally' )=>otherlv_4= 'finally' |
| { |
| otherlv_4=(Token)match(input,169,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_0_1_0()); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:13927:6: ( (lv_finallyExpression_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:13928:7: (lv_finallyExpression_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:13928:7: (lv_finallyExpression_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:13929:8: lv_finallyExpression_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_0_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_finallyExpression_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule()); |
| } |
| set( |
| current, |
| "finallyExpression", |
| lv_finallyExpression_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:13949:4: (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:13949:4: (otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:13950:5: otherlv_6= 'finally' ( (lv_finallyExpression_7_0= ruleXExpression ) ) |
| { |
| otherlv_6=(Token)match(input,169,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyKeyword_3_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:13954:5: ( (lv_finallyExpression_7_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:13955:6: (lv_finallyExpression_7_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:13955:6: (lv_finallyExpression_7_0= ruleXExpression ) |
| // InternalEntityGrammar.g:13956:7: lv_finallyExpression_7_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXTryCatchFinallyExpressionAccess().getFinallyExpressionXExpressionParserRuleCall_3_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_finallyExpression_7_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXTryCatchFinallyExpressionRule()); |
| } |
| set( |
| current, |
| "finallyExpression", |
| lv_finallyExpression_7_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXTryCatchFinallyExpression" |
| |
| |
| // $ANTLR start "entryRuleXSynchronizedExpression" |
| // InternalEntityGrammar.g:13979:1: entryRuleXSynchronizedExpression returns [EObject current=null] : iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF ; |
| public final EObject entryRuleXSynchronizedExpression() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXSynchronizedExpression = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:13979:64: (iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF ) |
| // InternalEntityGrammar.g:13980:2: iv_ruleXSynchronizedExpression= ruleXSynchronizedExpression EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXSynchronizedExpressionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXSynchronizedExpression=ruleXSynchronizedExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXSynchronizedExpression; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXSynchronizedExpression" |
| |
| |
| // $ANTLR start "ruleXSynchronizedExpression" |
| // InternalEntityGrammar.g:13986:1: ruleXSynchronizedExpression returns [EObject current=null] : ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) ) ; |
| public final EObject ruleXSynchronizedExpression() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| EObject lv_param_3_0 = null; |
| |
| EObject lv_expression_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:13992:2: ( ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) ) ) |
| // InternalEntityGrammar.g:13993:2: ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:13993:2: ( ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:13994:3: ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) ( (lv_param_3_0= ruleXExpression ) ) otherlv_4= ')' ( (lv_expression_5_0= ruleXExpression ) ) |
| { |
| // InternalEntityGrammar.g:13994:3: ( ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) ) |
| // InternalEntityGrammar.g:13995:4: ( ( () 'synchronized' '(' ) )=> ( () otherlv_1= 'synchronized' otherlv_2= '(' ) |
| { |
| // InternalEntityGrammar.g:14002:4: ( () otherlv_1= 'synchronized' otherlv_2= '(' ) |
| // InternalEntityGrammar.g:14003:5: () otherlv_1= 'synchronized' otherlv_2= '(' |
| { |
| // InternalEntityGrammar.g:14003:5: () |
| // InternalEntityGrammar.g:14004:6: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getXSynchronizedExpressionAccess().getXSynchronizedExpressionAction_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,170,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXSynchronizedExpressionAccess().getSynchronizedKeyword_0_0_1()); |
| |
| } |
| otherlv_2=(Token)match(input,16,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXSynchronizedExpressionAccess().getLeftParenthesisKeyword_0_0_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:14020:3: ( (lv_param_3_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:14021:4: (lv_param_3_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:14021:4: (lv_param_3_0= ruleXExpression ) |
| // InternalEntityGrammar.g:14022:5: lv_param_3_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSynchronizedExpressionAccess().getParamXExpressionParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_param_3_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSynchronizedExpressionRule()); |
| } |
| set( |
| current, |
| "param", |
| lv_param_3_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_4=(Token)match(input,17,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXSynchronizedExpressionAccess().getRightParenthesisKeyword_2()); |
| |
| } |
| // InternalEntityGrammar.g:14043:3: ( (lv_expression_5_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:14044:4: (lv_expression_5_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:14044:4: (lv_expression_5_0= ruleXExpression ) |
| // InternalEntityGrammar.g:14045:5: lv_expression_5_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXSynchronizedExpressionAccess().getExpressionXExpressionParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_expression_5_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXSynchronizedExpressionRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_5_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXSynchronizedExpression" |
| |
| |
| // $ANTLR start "entryRuleXCatchClause" |
| // InternalEntityGrammar.g:14066:1: entryRuleXCatchClause returns [EObject current=null] : iv_ruleXCatchClause= ruleXCatchClause EOF ; |
| public final EObject entryRuleXCatchClause() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXCatchClause = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14066:53: (iv_ruleXCatchClause= ruleXCatchClause EOF ) |
| // InternalEntityGrammar.g:14067:2: iv_ruleXCatchClause= ruleXCatchClause EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXCatchClauseRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXCatchClause=ruleXCatchClause(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXCatchClause; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXCatchClause" |
| |
| |
| // $ANTLR start "ruleXCatchClause" |
| // InternalEntityGrammar.g:14073:1: ruleXCatchClause returns [EObject current=null] : ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) ) ; |
| public final EObject ruleXCatchClause() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| EObject lv_declaredParam_2_0 = null; |
| |
| EObject lv_expression_4_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14079:2: ( ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) ) ) |
| // InternalEntityGrammar.g:14080:2: ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) ) |
| { |
| // InternalEntityGrammar.g:14080:2: ( ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) ) |
| // InternalEntityGrammar.g:14081:3: ( ( 'catch' )=>otherlv_0= 'catch' ) otherlv_1= '(' ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) otherlv_3= ')' ( (lv_expression_4_0= ruleXExpression ) ) |
| { |
| // InternalEntityGrammar.g:14081:3: ( ( 'catch' )=>otherlv_0= 'catch' ) |
| // InternalEntityGrammar.g:14082:4: ( 'catch' )=>otherlv_0= 'catch' |
| { |
| otherlv_0=(Token)match(input,171,FOLLOW_47); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getXCatchClauseAccess().getCatchKeyword_0()); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,16,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getXCatchClauseAccess().getLeftParenthesisKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:14092:3: ( (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:14093:4: (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:14093:4: (lv_declaredParam_2_0= ruleFullJvmFormalParameter ) |
| // InternalEntityGrammar.g:14094:5: lv_declaredParam_2_0= ruleFullJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCatchClauseAccess().getDeclaredParamFullJvmFormalParameterParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_9); |
| lv_declaredParam_2_0=ruleFullJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXCatchClauseRule()); |
| } |
| set( |
| current, |
| "declaredParam", |
| lv_declaredParam_2_0, |
| "org.eclipse.xtext.xbase.Xbase.FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,17,FOLLOW_68); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getXCatchClauseAccess().getRightParenthesisKeyword_3()); |
| |
| } |
| // InternalEntityGrammar.g:14115:3: ( (lv_expression_4_0= ruleXExpression ) ) |
| // InternalEntityGrammar.g:14116:4: (lv_expression_4_0= ruleXExpression ) |
| { |
| // InternalEntityGrammar.g:14116:4: (lv_expression_4_0= ruleXExpression ) |
| // InternalEntityGrammar.g:14117:5: lv_expression_4_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXCatchClauseAccess().getExpressionXExpressionParserRuleCall_4_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_expression_4_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXCatchClauseRule()); |
| } |
| set( |
| current, |
| "expression", |
| lv_expression_4_0, |
| "org.eclipse.xtext.xbase.Xbase.XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXCatchClause" |
| |
| |
| // $ANTLR start "entryRuleQualifiedName" |
| // InternalEntityGrammar.g:14138:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ; |
| public final String entryRuleQualifiedName() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleQualifiedName = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14138:53: (iv_ruleQualifiedName= ruleQualifiedName EOF ) |
| // InternalEntityGrammar.g:14139:2: iv_ruleQualifiedName= ruleQualifiedName EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getQualifiedNameRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleQualifiedName=ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleQualifiedName.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleQualifiedName" |
| |
| |
| // $ANTLR start "ruleQualifiedName" |
| // InternalEntityGrammar.g:14145: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 { |
| // InternalEntityGrammar.g:14151:2: ( (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) ) |
| // InternalEntityGrammar.g:14152:2: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) |
| { |
| // InternalEntityGrammar.g:14152:2: (this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* ) |
| // InternalEntityGrammar.g:14153:3: this_ValidID_0= ruleValidID ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getQualifiedNameAccess().getValidIDParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_80); |
| 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(); |
| |
| } |
| // InternalEntityGrammar.g:14163:3: ( ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID )* |
| loop279: |
| do { |
| int alt279=2; |
| int LA279_0 = input.LA(1); |
| |
| if ( (LA279_0==67) ) { |
| int LA279_2 = input.LA(2); |
| |
| if ( (LA279_2==RULE_ID) ) { |
| int LA279_3 = input.LA(3); |
| |
| if ( (synpred50_InternalEntityGrammar()) ) { |
| alt279=1; |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| switch (alt279) { |
| case 1 : |
| // InternalEntityGrammar.g:14164:4: ( ( '.' )=>kw= '.' ) this_ValidID_2= ruleValidID |
| { |
| // InternalEntityGrammar.g:14164:4: ( ( '.' )=>kw= '.' ) |
| // InternalEntityGrammar.g:14165:5: ( '.' )=>kw= '.' |
| { |
| kw=(Token)match(input,67,FOLLOW_13); 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_80); |
| 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 loop279; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleQualifiedName" |
| |
| |
| // $ANTLR start "entryRuleNumber" |
| // InternalEntityGrammar.g:14187:1: entryRuleNumber returns [String current=null] : iv_ruleNumber= ruleNumber EOF ; |
| public final String entryRuleNumber() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleNumber = null; |
| |
| |
| |
| HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); |
| |
| try { |
| // InternalEntityGrammar.g:14189:2: (iv_ruleNumber= ruleNumber EOF ) |
| // InternalEntityGrammar.g:14190:2: iv_ruleNumber= ruleNumber EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getNumberRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleNumber=ruleNumber(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleNumber.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| |
| myHiddenTokenState.restore(); |
| |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleNumber" |
| |
| |
| // $ANTLR start "ruleNumber" |
| // InternalEntityGrammar.g:14199:1: ruleNumber returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) ) ; |
| public final AntlrDatatypeRuleToken ruleNumber() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token this_HEX_0=null; |
| Token this_INT_1=null; |
| Token this_DECIMAL_2=null; |
| Token kw=null; |
| Token this_INT_4=null; |
| Token this_DECIMAL_5=null; |
| |
| |
| enterRule(); |
| HiddenTokens myHiddenTokenState = ((XtextTokenStream)input).setHiddenTokens(); |
| |
| try { |
| // InternalEntityGrammar.g:14206:2: ( (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) ) ) |
| // InternalEntityGrammar.g:14207:2: (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) ) |
| { |
| // InternalEntityGrammar.g:14207:2: (this_HEX_0= RULE_HEX | ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) ) |
| int alt283=2; |
| int LA283_0 = input.LA(1); |
| |
| if ( (LA283_0==RULE_HEX) ) { |
| alt283=1; |
| } |
| else if ( (LA283_0==RULE_INT||LA283_0==RULE_DECIMAL) ) { |
| alt283=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 283, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt283) { |
| case 1 : |
| // InternalEntityGrammar.g:14208:3: this_HEX_0= RULE_HEX |
| { |
| this_HEX_0=(Token)match(input,RULE_HEX,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_HEX_0); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_HEX_0, grammarAccess.getNumberAccess().getHEXTerminalRuleCall_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:14216:3: ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) |
| { |
| // InternalEntityGrammar.g:14216:3: ( (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? ) |
| // InternalEntityGrammar.g:14217:4: (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? |
| { |
| // InternalEntityGrammar.g:14217:4: (this_INT_1= RULE_INT | this_DECIMAL_2= RULE_DECIMAL ) |
| int alt280=2; |
| int LA280_0 = input.LA(1); |
| |
| if ( (LA280_0==RULE_INT) ) { |
| alt280=1; |
| } |
| else if ( (LA280_0==RULE_DECIMAL) ) { |
| alt280=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 280, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt280) { |
| case 1 : |
| // InternalEntityGrammar.g:14218:5: this_INT_1= RULE_INT |
| { |
| this_INT_1=(Token)match(input,RULE_INT,FOLLOW_80); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_INT_1); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_INT_1, grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_0_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:14226:5: this_DECIMAL_2= RULE_DECIMAL |
| { |
| this_DECIMAL_2=(Token)match(input,RULE_DECIMAL,FOLLOW_80); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_DECIMAL_2); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_DECIMAL_2, grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_0_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:14234:4: (kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) )? |
| int alt282=2; |
| int LA282_0 = input.LA(1); |
| |
| if ( (LA282_0==67) ) { |
| int LA282_1 = input.LA(2); |
| |
| if ( (LA282_1==RULE_INT||LA282_1==RULE_DECIMAL) ) { |
| alt282=1; |
| } |
| } |
| switch (alt282) { |
| case 1 : |
| // InternalEntityGrammar.g:14235:5: kw= '.' (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) |
| { |
| kw=(Token)match(input,67,FOLLOW_174); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getNumberAccess().getFullStopKeyword_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:14240:5: (this_INT_4= RULE_INT | this_DECIMAL_5= RULE_DECIMAL ) |
| int alt281=2; |
| int LA281_0 = input.LA(1); |
| |
| if ( (LA281_0==RULE_INT) ) { |
| alt281=1; |
| } |
| else if ( (LA281_0==RULE_DECIMAL) ) { |
| alt281=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 281, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt281) { |
| case 1 : |
| // InternalEntityGrammar.g:14241:6: this_INT_4= RULE_INT |
| { |
| this_INT_4=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_INT_4); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_INT_4, grammarAccess.getNumberAccess().getINTTerminalRuleCall_1_1_1_0()); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:14249:6: this_DECIMAL_5= RULE_DECIMAL |
| { |
| this_DECIMAL_5=(Token)match(input,RULE_DECIMAL,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(this_DECIMAL_5); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(this_DECIMAL_5, grammarAccess.getNumberAccess().getDECIMALTerminalRuleCall_1_1_1_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| |
| myHiddenTokenState.restore(); |
| |
| } |
| return current; |
| } |
| // $ANTLR end "ruleNumber" |
| |
| |
| // $ANTLR start "entryRuleJvmTypeReference" |
| // InternalEntityGrammar.g:14266:1: entryRuleJvmTypeReference returns [EObject current=null] : iv_ruleJvmTypeReference= ruleJvmTypeReference EOF ; |
| public final EObject entryRuleJvmTypeReference() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleJvmTypeReference = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14266:57: (iv_ruleJvmTypeReference= ruleJvmTypeReference EOF ) |
| // InternalEntityGrammar.g:14267:2: iv_ruleJvmTypeReference= ruleJvmTypeReference EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getJvmTypeReferenceRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleJvmTypeReference=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleJvmTypeReference; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleJvmTypeReference" |
| |
| |
| // $ANTLR start "ruleJvmTypeReference" |
| // InternalEntityGrammar.g:14273:1: ruleJvmTypeReference returns [EObject current=null] : ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) ; |
| public final EObject ruleJvmTypeReference() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_JvmParameterizedTypeReference_0 = null; |
| |
| EObject this_XFunctionTypeRef_3 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14279:2: ( ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) ) |
| // InternalEntityGrammar.g:14280:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) |
| { |
| // InternalEntityGrammar.g:14280:2: ( (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) | this_XFunctionTypeRef_3= ruleXFunctionTypeRef ) |
| int alt285=2; |
| int LA285_0 = input.LA(1); |
| |
| if ( (LA285_0==RULE_ID) ) { |
| alt285=1; |
| } |
| else if ( (LA285_0==16||LA285_0==137) ) { |
| alt285=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 285, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt285) { |
| case 1 : |
| // InternalEntityGrammar.g:14281:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) |
| { |
| // InternalEntityGrammar.g:14281:3: (this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* ) |
| // InternalEntityGrammar.g:14282:4: this_JvmParameterizedTypeReference_0= ruleJvmParameterizedTypeReference ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getJvmParameterizedTypeReferenceParserRuleCall_0_0()); |
| |
| } |
| pushFollow(FOLLOW_94); |
| this_JvmParameterizedTypeReference_0=ruleJvmParameterizedTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_JvmParameterizedTypeReference_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| // InternalEntityGrammar.g:14290:4: ( ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) )* |
| loop284: |
| do { |
| int alt284=2; |
| int LA284_0 = input.LA(1); |
| |
| if ( (LA284_0==38) ) { |
| int LA284_2 = input.LA(2); |
| |
| if ( (LA284_2==39) ) { |
| int LA284_3 = input.LA(3); |
| |
| if ( (synpred51_InternalEntityGrammar()) ) { |
| alt284=1; |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| switch (alt284) { |
| case 1 : |
| // InternalEntityGrammar.g:14291:5: ( ( () ruleArrayBrackets ) )=> ( () ruleArrayBrackets ) |
| { |
| // InternalEntityGrammar.g:14297:5: ( () ruleArrayBrackets ) |
| // InternalEntityGrammar.g:14298:6: () ruleArrayBrackets |
| { |
| // InternalEntityGrammar.g:14298:6: () |
| // InternalEntityGrammar.g:14299:7: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getJvmTypeReferenceAccess().getJvmGenericArrayTypeReferenceComponentTypeAction_0_1_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getArrayBracketsParserRuleCall_0_1_0_1()); |
| |
| } |
| pushFollow(FOLLOW_94); |
| ruleArrayBrackets(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop284; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:14316:3: this_XFunctionTypeRef_3= ruleXFunctionTypeRef |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmTypeReferenceAccess().getXFunctionTypeRefParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_XFunctionTypeRef_3=ruleXFunctionTypeRef(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_XFunctionTypeRef_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleJvmTypeReference" |
| |
| |
| // $ANTLR start "entryRuleArrayBrackets" |
| // InternalEntityGrammar.g:14328:1: entryRuleArrayBrackets returns [String current=null] : iv_ruleArrayBrackets= ruleArrayBrackets EOF ; |
| public final String entryRuleArrayBrackets() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleArrayBrackets = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14328:53: (iv_ruleArrayBrackets= ruleArrayBrackets EOF ) |
| // InternalEntityGrammar.g:14329:2: iv_ruleArrayBrackets= ruleArrayBrackets EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getArrayBracketsRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleArrayBrackets=ruleArrayBrackets(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleArrayBrackets.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleArrayBrackets" |
| |
| |
| // $ANTLR start "ruleArrayBrackets" |
| // InternalEntityGrammar.g:14335:1: ruleArrayBrackets returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '[' kw= ']' ) ; |
| public final AntlrDatatypeRuleToken ruleArrayBrackets() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14341:2: ( (kw= '[' kw= ']' ) ) |
| // InternalEntityGrammar.g:14342:2: (kw= '[' kw= ']' ) |
| { |
| // InternalEntityGrammar.g:14342:2: (kw= '[' kw= ']' ) |
| // InternalEntityGrammar.g:14343:3: kw= '[' kw= ']' |
| { |
| kw=(Token)match(input,38,FOLLOW_111); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getLeftSquareBracketKeyword_0()); |
| |
| } |
| kw=(Token)match(input,39,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getArrayBracketsAccess().getRightSquareBracketKeyword_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleArrayBrackets" |
| |
| |
| // $ANTLR start "entryRuleXFunctionTypeRef" |
| // InternalEntityGrammar.g:14357:1: entryRuleXFunctionTypeRef returns [EObject current=null] : iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF ; |
| public final EObject entryRuleXFunctionTypeRef() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXFunctionTypeRef = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14357:57: (iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF ) |
| // InternalEntityGrammar.g:14358:2: iv_ruleXFunctionTypeRef= ruleXFunctionTypeRef EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXFunctionTypeRefRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXFunctionTypeRef=ruleXFunctionTypeRef(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXFunctionTypeRef; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXFunctionTypeRef" |
| |
| |
| // $ANTLR start "ruleXFunctionTypeRef" |
| // InternalEntityGrammar.g:14364:1: ruleXFunctionTypeRef returns [EObject current=null] : ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) ; |
| public final EObject ruleXFunctionTypeRef() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| Token otherlv_4=null; |
| Token otherlv_5=null; |
| EObject lv_paramTypes_1_0 = null; |
| |
| EObject lv_paramTypes_3_0 = null; |
| |
| EObject lv_returnType_6_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14370:2: ( ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) ) |
| // InternalEntityGrammar.g:14371:2: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) |
| { |
| // InternalEntityGrammar.g:14371:2: ( (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) ) |
| // InternalEntityGrammar.g:14372:3: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? otherlv_5= '=>' ( (lv_returnType_6_0= ruleJvmTypeReference ) ) |
| { |
| // InternalEntityGrammar.g:14372:3: (otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' )? |
| int alt288=2; |
| int LA288_0 = input.LA(1); |
| |
| if ( (LA288_0==16) ) { |
| alt288=1; |
| } |
| switch (alt288) { |
| case 1 : |
| // InternalEntityGrammar.g:14373:4: otherlv_0= '(' ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? otherlv_4= ')' |
| { |
| otherlv_0=(Token)match(input,16,FOLLOW_67); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getXFunctionTypeRefAccess().getLeftParenthesisKeyword_0_0()); |
| |
| } |
| // InternalEntityGrammar.g:14377:4: ( ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* )? |
| int alt287=2; |
| int LA287_0 = input.LA(1); |
| |
| if ( (LA287_0==RULE_ID||LA287_0==16||LA287_0==137) ) { |
| alt287=1; |
| } |
| switch (alt287) { |
| case 1 : |
| // InternalEntityGrammar.g:14378:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* |
| { |
| // InternalEntityGrammar.g:14378:5: ( (lv_paramTypes_1_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:14379:6: (lv_paramTypes_1_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:14379:6: (lv_paramTypes_1_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:14380:7: lv_paramTypes_1_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_paramTypes_1_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); |
| } |
| add( |
| current, |
| "paramTypes", |
| lv_paramTypes_1_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:14397:5: (otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) )* |
| loop286: |
| do { |
| int alt286=2; |
| int LA286_0 = input.LA(1); |
| |
| if ( (LA286_0==30) ) { |
| alt286=1; |
| } |
| |
| |
| switch (alt286) { |
| case 1 : |
| // InternalEntityGrammar.g:14398:6: otherlv_2= ',' ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) |
| { |
| otherlv_2=(Token)match(input,30,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getXFunctionTypeRefAccess().getCommaKeyword_0_1_1_0()); |
| |
| } |
| // InternalEntityGrammar.g:14402:6: ( (lv_paramTypes_3_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:14403:7: (lv_paramTypes_3_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:14403:7: (lv_paramTypes_3_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:14404:8: lv_paramTypes_3_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getParamTypesJvmTypeReferenceParserRuleCall_0_1_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_49); |
| lv_paramTypes_3_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); |
| } |
| add( |
| current, |
| "paramTypes", |
| lv_paramTypes_3_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop286; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_4=(Token)match(input,17,FOLLOW_175); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getXFunctionTypeRefAccess().getRightParenthesisKeyword_0_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_5=(Token)match(input,137,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getXFunctionTypeRefAccess().getEqualsSignGreaterThanSignKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:14432:3: ( (lv_returnType_6_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:14433:4: (lv_returnType_6_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:14433:4: (lv_returnType_6_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:14434:5: lv_returnType_6_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXFunctionTypeRefAccess().getReturnTypeJvmTypeReferenceParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_returnType_6_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXFunctionTypeRefRule()); |
| } |
| set( |
| current, |
| "returnType", |
| lv_returnType_6_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXFunctionTypeRef" |
| |
| |
| // $ANTLR start "entryRuleJvmParameterizedTypeReference" |
| // InternalEntityGrammar.g:14455:1: entryRuleJvmParameterizedTypeReference returns [EObject current=null] : iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF ; |
| public final EObject entryRuleJvmParameterizedTypeReference() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleJvmParameterizedTypeReference = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14455:70: (iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF ) |
| // InternalEntityGrammar.g:14456:2: iv_ruleJvmParameterizedTypeReference= ruleJvmParameterizedTypeReference EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleJvmParameterizedTypeReference=ruleJvmParameterizedTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleJvmParameterizedTypeReference; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleJvmParameterizedTypeReference" |
| |
| |
| // $ANTLR start "ruleJvmParameterizedTypeReference" |
| // InternalEntityGrammar.g:14462:1: ruleJvmParameterizedTypeReference returns [EObject current=null] : ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) ; |
| public final EObject ruleJvmParameterizedTypeReference() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_9=null; |
| Token otherlv_11=null; |
| Token otherlv_13=null; |
| EObject lv_arguments_2_0 = null; |
| |
| EObject lv_arguments_4_0 = null; |
| |
| EObject lv_arguments_10_0 = null; |
| |
| EObject lv_arguments_12_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14468:2: ( ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) ) |
| // InternalEntityGrammar.g:14469:2: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) |
| { |
| // InternalEntityGrammar.g:14469:2: ( ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? ) |
| // InternalEntityGrammar.g:14470:3: ( ( ruleQualifiedName ) ) ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? |
| { |
| // InternalEntityGrammar.g:14470:3: ( ( ruleQualifiedName ) ) |
| // InternalEntityGrammar.g:14471:4: ( ruleQualifiedName ) |
| { |
| // InternalEntityGrammar.g:14471:4: ( ruleQualifiedName ) |
| // InternalEntityGrammar.g:14472:5: ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_0_0()); |
| |
| } |
| pushFollow(FOLLOW_176); |
| ruleQualifiedName(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:14486:3: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )? |
| int alt293=2; |
| alt293 = dfa293.predict(input); |
| switch (alt293) { |
| case 1 : |
| // InternalEntityGrammar.g:14487:4: ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* |
| { |
| // InternalEntityGrammar.g:14487:4: ( ( '<' )=>otherlv_1= '<' ) |
| // InternalEntityGrammar.g:14488:5: ( '<' )=>otherlv_1= '<' |
| { |
| otherlv_1=(Token)match(input,125,FOLLOW_142); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_0()); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:14494:4: ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) |
| // InternalEntityGrammar.g:14495:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference ) |
| { |
| // InternalEntityGrammar.g:14495:5: (lv_arguments_2_0= ruleJvmArgumentTypeReference ) |
| // InternalEntityGrammar.g:14496:6: lv_arguments_2_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_143); |
| lv_arguments_2_0=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); |
| } |
| add( |
| current, |
| "arguments", |
| lv_arguments_2_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:14513:4: (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* |
| loop289: |
| do { |
| int alt289=2; |
| int LA289_0 = input.LA(1); |
| |
| if ( (LA289_0==30) ) { |
| alt289=1; |
| } |
| |
| |
| switch (alt289) { |
| case 1 : |
| // InternalEntityGrammar.g:14514:5: otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) |
| { |
| otherlv_3=(Token)match(input,30,FOLLOW_142); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:14518:5: ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) |
| // InternalEntityGrammar.g:14519:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference ) |
| { |
| // InternalEntityGrammar.g:14519:6: (lv_arguments_4_0= ruleJvmArgumentTypeReference ) |
| // InternalEntityGrammar.g:14520:7: lv_arguments_4_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_143); |
| lv_arguments_4_0=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); |
| } |
| add( |
| current, |
| "arguments", |
| lv_arguments_4_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop289; |
| } |
| } while (true); |
| |
| otherlv_5=(Token)match(input,126,FOLLOW_80); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_3()); |
| |
| } |
| // InternalEntityGrammar.g:14542:4: ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* |
| loop292: |
| do { |
| int alt292=2; |
| int LA292_0 = input.LA(1); |
| |
| if ( (LA292_0==67) ) { |
| int LA292_2 = input.LA(2); |
| |
| if ( (LA292_2==RULE_ID) ) { |
| int LA292_3 = input.LA(3); |
| |
| if ( (synpred53_InternalEntityGrammar()) ) { |
| alt292=1; |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| switch (alt292) { |
| case 1 : |
| // InternalEntityGrammar.g:14543:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? |
| { |
| // InternalEntityGrammar.g:14543:5: ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) |
| // InternalEntityGrammar.g:14544:6: ( ( () '.' ) )=> ( () otherlv_7= '.' ) |
| { |
| // InternalEntityGrammar.g:14550:6: ( () otherlv_7= '.' ) |
| // InternalEntityGrammar.g:14551:7: () otherlv_7= '.' |
| { |
| // InternalEntityGrammar.g:14551:7: () |
| // InternalEntityGrammar.g:14552:8: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getJvmParameterizedTypeReferenceAccess().getJvmInnerTypeReferenceOuterAction_1_4_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_7=(Token)match(input,67,FOLLOW_13); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getJvmParameterizedTypeReferenceAccess().getFullStopKeyword_1_4_0_0_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:14564:5: ( ( ruleValidID ) ) |
| // InternalEntityGrammar.g:14565:6: ( ruleValidID ) |
| { |
| // InternalEntityGrammar.g:14565:6: ( ruleValidID ) |
| // InternalEntityGrammar.g:14566:7: ruleValidID |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getJvmParameterizedTypeReferenceRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getTypeJvmTypeCrossReference_1_4_1_0()); |
| |
| } |
| pushFollow(FOLLOW_177); |
| ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:14580:5: ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? |
| int alt291=2; |
| alt291 = dfa291.predict(input); |
| switch (alt291) { |
| case 1 : |
| // InternalEntityGrammar.g:14581:6: ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' |
| { |
| // InternalEntityGrammar.g:14581:6: ( ( '<' )=>otherlv_9= '<' ) |
| // InternalEntityGrammar.g:14582:7: ( '<' )=>otherlv_9= '<' |
| { |
| otherlv_9=(Token)match(input,125,FOLLOW_142); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getJvmParameterizedTypeReferenceAccess().getLessThanSignKeyword_1_4_2_0()); |
| |
| } |
| |
| } |
| |
| // InternalEntityGrammar.g:14588:6: ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) |
| // InternalEntityGrammar.g:14589:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference ) |
| { |
| // InternalEntityGrammar.g:14589:7: (lv_arguments_10_0= ruleJvmArgumentTypeReference ) |
| // InternalEntityGrammar.g:14590:8: lv_arguments_10_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_143); |
| lv_arguments_10_0=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); |
| } |
| add( |
| current, |
| "arguments", |
| lv_arguments_10_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:14607:6: (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* |
| loop290: |
| do { |
| int alt290=2; |
| int LA290_0 = input.LA(1); |
| |
| if ( (LA290_0==30) ) { |
| alt290=1; |
| } |
| |
| |
| switch (alt290) { |
| case 1 : |
| // InternalEntityGrammar.g:14608:7: otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) |
| { |
| otherlv_11=(Token)match(input,30,FOLLOW_142); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getJvmParameterizedTypeReferenceAccess().getCommaKeyword_1_4_2_2_0()); |
| |
| } |
| // InternalEntityGrammar.g:14612:7: ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) |
| // InternalEntityGrammar.g:14613:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference ) |
| { |
| // InternalEntityGrammar.g:14613:8: (lv_arguments_12_0= ruleJvmArgumentTypeReference ) |
| // InternalEntityGrammar.g:14614:9: lv_arguments_12_0= ruleJvmArgumentTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmParameterizedTypeReferenceAccess().getArgumentsJvmArgumentTypeReferenceParserRuleCall_1_4_2_2_1_0()); |
| |
| } |
| pushFollow(FOLLOW_143); |
| lv_arguments_12_0=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmParameterizedTypeReferenceRule()); |
| } |
| add( |
| current, |
| "arguments", |
| lv_arguments_12_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmArgumentTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop290; |
| } |
| } while (true); |
| |
| otherlv_13=(Token)match(input,126,FOLLOW_80); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getJvmParameterizedTypeReferenceAccess().getGreaterThanSignKeyword_1_4_2_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop292; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleJvmParameterizedTypeReference" |
| |
| |
| // $ANTLR start "entryRuleJvmArgumentTypeReference" |
| // InternalEntityGrammar.g:14643:1: entryRuleJvmArgumentTypeReference returns [EObject current=null] : iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF ; |
| public final EObject entryRuleJvmArgumentTypeReference() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleJvmArgumentTypeReference = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14643:65: (iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF ) |
| // InternalEntityGrammar.g:14644:2: iv_ruleJvmArgumentTypeReference= ruleJvmArgumentTypeReference EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleJvmArgumentTypeReference=ruleJvmArgumentTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleJvmArgumentTypeReference; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleJvmArgumentTypeReference" |
| |
| |
| // $ANTLR start "ruleJvmArgumentTypeReference" |
| // InternalEntityGrammar.g:14650:1: ruleJvmArgumentTypeReference returns [EObject current=null] : (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) ; |
| public final EObject ruleJvmArgumentTypeReference() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_JvmTypeReference_0 = null; |
| |
| EObject this_JvmWildcardTypeReference_1 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14656:2: ( (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) ) |
| // InternalEntityGrammar.g:14657:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) |
| { |
| // InternalEntityGrammar.g:14657:2: (this_JvmTypeReference_0= ruleJvmTypeReference | this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference ) |
| int alt294=2; |
| int LA294_0 = input.LA(1); |
| |
| if ( (LA294_0==RULE_ID||LA294_0==16||LA294_0==137) ) { |
| alt294=1; |
| } |
| else if ( (LA294_0==172) ) { |
| alt294=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 294, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt294) { |
| case 1 : |
| // InternalEntityGrammar.g:14658:3: this_JvmTypeReference_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmTypeReferenceParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_JvmTypeReference_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_JvmTypeReference_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:14667:3: this_JvmWildcardTypeReference_1= ruleJvmWildcardTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmArgumentTypeReferenceAccess().getJvmWildcardTypeReferenceParserRuleCall_1()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| this_JvmWildcardTypeReference_1=ruleJvmWildcardTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_JvmWildcardTypeReference_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleJvmArgumentTypeReference" |
| |
| |
| // $ANTLR start "entryRuleJvmWildcardTypeReference" |
| // InternalEntityGrammar.g:14679:1: entryRuleJvmWildcardTypeReference returns [EObject current=null] : iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF ; |
| public final EObject entryRuleJvmWildcardTypeReference() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleJvmWildcardTypeReference = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14679:65: (iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF ) |
| // InternalEntityGrammar.g:14680:2: iv_ruleJvmWildcardTypeReference= ruleJvmWildcardTypeReference EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleJvmWildcardTypeReference=ruleJvmWildcardTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleJvmWildcardTypeReference; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleJvmWildcardTypeReference" |
| |
| |
| // $ANTLR start "ruleJvmWildcardTypeReference" |
| // InternalEntityGrammar.g:14686:1: ruleJvmWildcardTypeReference returns [EObject current=null] : ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) ; |
| public final EObject ruleJvmWildcardTypeReference() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| EObject lv_constraints_2_0 = null; |
| |
| EObject lv_constraints_3_0 = null; |
| |
| EObject lv_constraints_4_0 = null; |
| |
| EObject lv_constraints_5_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14692:2: ( ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) ) |
| // InternalEntityGrammar.g:14693:2: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) |
| { |
| // InternalEntityGrammar.g:14693:2: ( () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? ) |
| // InternalEntityGrammar.g:14694:3: () otherlv_1= '?' ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? |
| { |
| // InternalEntityGrammar.g:14694:3: () |
| // InternalEntityGrammar.g:14695:4: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getJvmWildcardTypeReferenceAccess().getJvmWildcardTypeReferenceAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,172,FOLLOW_178); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getJvmWildcardTypeReferenceAccess().getQuestionMarkKeyword_1()); |
| |
| } |
| // InternalEntityGrammar.g:14705:3: ( ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) | ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) )? |
| int alt297=3; |
| int LA297_0 = input.LA(1); |
| |
| if ( (LA297_0==20) ) { |
| alt297=1; |
| } |
| else if ( (LA297_0==160) ) { |
| alt297=2; |
| } |
| switch (alt297) { |
| case 1 : |
| // InternalEntityGrammar.g:14706:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) |
| { |
| // InternalEntityGrammar.g:14706:4: ( ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* ) |
| // InternalEntityGrammar.g:14707:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) ) ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* |
| { |
| // InternalEntityGrammar.g:14707:5: ( (lv_constraints_2_0= ruleJvmUpperBound ) ) |
| // InternalEntityGrammar.g:14708:6: (lv_constraints_2_0= ruleJvmUpperBound ) |
| { |
| // InternalEntityGrammar.g:14708:6: (lv_constraints_2_0= ruleJvmUpperBound ) |
| // InternalEntityGrammar.g:14709:7: lv_constraints_2_0= ruleJvmUpperBound |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundParserRuleCall_2_0_0_0()); |
| |
| } |
| pushFollow(FOLLOW_179); |
| lv_constraints_2_0=ruleJvmUpperBound(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_2_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmUpperBound"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:14726:5: ( (lv_constraints_3_0= ruleJvmUpperBoundAnded ) )* |
| loop295: |
| do { |
| int alt295=2; |
| int LA295_0 = input.LA(1); |
| |
| if ( (LA295_0==173) ) { |
| alt295=1; |
| } |
| |
| |
| switch (alt295) { |
| case 1 : |
| // InternalEntityGrammar.g:14727:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded ) |
| { |
| // InternalEntityGrammar.g:14727:6: (lv_constraints_3_0= ruleJvmUpperBoundAnded ) |
| // InternalEntityGrammar.g:14728:7: lv_constraints_3_0= ruleJvmUpperBoundAnded |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmUpperBoundAndedParserRuleCall_2_0_1_0()); |
| |
| } |
| pushFollow(FOLLOW_179); |
| lv_constraints_3_0=ruleJvmUpperBoundAnded(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_3_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmUpperBoundAnded"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop295; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:14747:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) |
| { |
| // InternalEntityGrammar.g:14747:4: ( ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* ) |
| // InternalEntityGrammar.g:14748:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) ) ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* |
| { |
| // InternalEntityGrammar.g:14748:5: ( (lv_constraints_4_0= ruleJvmLowerBound ) ) |
| // InternalEntityGrammar.g:14749:6: (lv_constraints_4_0= ruleJvmLowerBound ) |
| { |
| // InternalEntityGrammar.g:14749:6: (lv_constraints_4_0= ruleJvmLowerBound ) |
| // InternalEntityGrammar.g:14750:7: lv_constraints_4_0= ruleJvmLowerBound |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundParserRuleCall_2_1_0_0()); |
| |
| } |
| pushFollow(FOLLOW_179); |
| lv_constraints_4_0=ruleJvmLowerBound(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_4_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmLowerBound"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:14767:5: ( (lv_constraints_5_0= ruleJvmLowerBoundAnded ) )* |
| loop296: |
| do { |
| int alt296=2; |
| int LA296_0 = input.LA(1); |
| |
| if ( (LA296_0==173) ) { |
| alt296=1; |
| } |
| |
| |
| switch (alt296) { |
| case 1 : |
| // InternalEntityGrammar.g:14768:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded ) |
| { |
| // InternalEntityGrammar.g:14768:6: (lv_constraints_5_0= ruleJvmLowerBoundAnded ) |
| // InternalEntityGrammar.g:14769:7: lv_constraints_5_0= ruleJvmLowerBoundAnded |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmWildcardTypeReferenceAccess().getConstraintsJvmLowerBoundAndedParserRuleCall_2_1_1_0()); |
| |
| } |
| pushFollow(FOLLOW_179); |
| lv_constraints_5_0=ruleJvmLowerBoundAnded(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmWildcardTypeReferenceRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_5_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmLowerBoundAnded"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop296; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleJvmWildcardTypeReference" |
| |
| |
| // $ANTLR start "entryRuleJvmUpperBound" |
| // InternalEntityGrammar.g:14792:1: entryRuleJvmUpperBound returns [EObject current=null] : iv_ruleJvmUpperBound= ruleJvmUpperBound EOF ; |
| public final EObject entryRuleJvmUpperBound() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleJvmUpperBound = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14792:54: (iv_ruleJvmUpperBound= ruleJvmUpperBound EOF ) |
| // InternalEntityGrammar.g:14793:2: iv_ruleJvmUpperBound= ruleJvmUpperBound EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getJvmUpperBoundRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleJvmUpperBound=ruleJvmUpperBound(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleJvmUpperBound; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleJvmUpperBound" |
| |
| |
| // $ANTLR start "ruleJvmUpperBound" |
| // InternalEntityGrammar.g:14799:1: ruleJvmUpperBound returns [EObject current=null] : (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ; |
| public final EObject ruleJvmUpperBound() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| EObject lv_typeReference_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14805:2: ( (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ) |
| // InternalEntityGrammar.g:14806:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) |
| { |
| // InternalEntityGrammar.g:14806:2: (otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) |
| // InternalEntityGrammar.g:14807:3: otherlv_0= 'extends' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) |
| { |
| otherlv_0=(Token)match(input,20,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAccess().getExtendsKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:14811:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:14812:4: (lv_typeReference_1_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:14812:4: (lv_typeReference_1_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:14813:5: lv_typeReference_1_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmUpperBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_typeReference_1_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmUpperBoundRule()); |
| } |
| set( |
| current, |
| "typeReference", |
| lv_typeReference_1_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleJvmUpperBound" |
| |
| |
| // $ANTLR start "entryRuleJvmUpperBoundAnded" |
| // InternalEntityGrammar.g:14834:1: entryRuleJvmUpperBoundAnded returns [EObject current=null] : iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF ; |
| public final EObject entryRuleJvmUpperBoundAnded() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleJvmUpperBoundAnded = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14834:59: (iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF ) |
| // InternalEntityGrammar.g:14835:2: iv_ruleJvmUpperBoundAnded= ruleJvmUpperBoundAnded EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getJvmUpperBoundAndedRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleJvmUpperBoundAnded=ruleJvmUpperBoundAnded(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleJvmUpperBoundAnded; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleJvmUpperBoundAnded" |
| |
| |
| // $ANTLR start "ruleJvmUpperBoundAnded" |
| // InternalEntityGrammar.g:14841:1: ruleJvmUpperBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ; |
| public final EObject ruleJvmUpperBoundAnded() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| EObject lv_typeReference_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14847:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ) |
| // InternalEntityGrammar.g:14848:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) |
| { |
| // InternalEntityGrammar.g:14848:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) |
| // InternalEntityGrammar.g:14849:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) |
| { |
| otherlv_0=(Token)match(input,173,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getJvmUpperBoundAndedAccess().getAmpersandKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:14853:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:14854:4: (lv_typeReference_1_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:14854:4: (lv_typeReference_1_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:14855:5: lv_typeReference_1_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmUpperBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_typeReference_1_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmUpperBoundAndedRule()); |
| } |
| set( |
| current, |
| "typeReference", |
| lv_typeReference_1_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleJvmUpperBoundAnded" |
| |
| |
| // $ANTLR start "entryRuleJvmLowerBound" |
| // InternalEntityGrammar.g:14876:1: entryRuleJvmLowerBound returns [EObject current=null] : iv_ruleJvmLowerBound= ruleJvmLowerBound EOF ; |
| public final EObject entryRuleJvmLowerBound() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleJvmLowerBound = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14876:54: (iv_ruleJvmLowerBound= ruleJvmLowerBound EOF ) |
| // InternalEntityGrammar.g:14877:2: iv_ruleJvmLowerBound= ruleJvmLowerBound EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getJvmLowerBoundRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleJvmLowerBound=ruleJvmLowerBound(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleJvmLowerBound; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleJvmLowerBound" |
| |
| |
| // $ANTLR start "ruleJvmLowerBound" |
| // InternalEntityGrammar.g:14883:1: ruleJvmLowerBound returns [EObject current=null] : (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ; |
| public final EObject ruleJvmLowerBound() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| EObject lv_typeReference_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14889:2: ( (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ) |
| // InternalEntityGrammar.g:14890:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) |
| { |
| // InternalEntityGrammar.g:14890:2: (otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) |
| // InternalEntityGrammar.g:14891:3: otherlv_0= 'super' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) |
| { |
| otherlv_0=(Token)match(input,160,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAccess().getSuperKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:14895:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:14896:4: (lv_typeReference_1_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:14896:4: (lv_typeReference_1_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:14897:5: lv_typeReference_1_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmLowerBoundAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_typeReference_1_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmLowerBoundRule()); |
| } |
| set( |
| current, |
| "typeReference", |
| lv_typeReference_1_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleJvmLowerBound" |
| |
| |
| // $ANTLR start "entryRuleJvmLowerBoundAnded" |
| // InternalEntityGrammar.g:14918:1: entryRuleJvmLowerBoundAnded returns [EObject current=null] : iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF ; |
| public final EObject entryRuleJvmLowerBoundAnded() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleJvmLowerBoundAnded = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14918:59: (iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF ) |
| // InternalEntityGrammar.g:14919:2: iv_ruleJvmLowerBoundAnded= ruleJvmLowerBoundAnded EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getJvmLowerBoundAndedRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleJvmLowerBoundAnded=ruleJvmLowerBoundAnded(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleJvmLowerBoundAnded; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleJvmLowerBoundAnded" |
| |
| |
| // $ANTLR start "ruleJvmLowerBoundAnded" |
| // InternalEntityGrammar.g:14925:1: ruleJvmLowerBoundAnded returns [EObject current=null] : (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ; |
| public final EObject ruleJvmLowerBoundAnded() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| EObject lv_typeReference_1_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14931:2: ( (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) ) |
| // InternalEntityGrammar.g:14932:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) |
| { |
| // InternalEntityGrammar.g:14932:2: (otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) ) |
| // InternalEntityGrammar.g:14933:3: otherlv_0= '&' ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) |
| { |
| otherlv_0=(Token)match(input,173,FOLLOW_66); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getJvmLowerBoundAndedAccess().getAmpersandKeyword_0()); |
| |
| } |
| // InternalEntityGrammar.g:14937:3: ( (lv_typeReference_1_0= ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:14938:4: (lv_typeReference_1_0= ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:14938:4: (lv_typeReference_1_0= ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:14939:5: lv_typeReference_1_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getJvmLowerBoundAndedAccess().getTypeReferenceJvmTypeReferenceParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FOLLOW_2); |
| lv_typeReference_1_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getJvmLowerBoundAndedRule()); |
| } |
| set( |
| current, |
| "typeReference", |
| lv_typeReference_1_0, |
| "org.eclipse.xtext.xbase.Xtype.JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleJvmLowerBoundAnded" |
| |
| |
| // $ANTLR start "entryRuleQualifiedNameWithWildcard" |
| // InternalEntityGrammar.g:14960:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ; |
| public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleQualifiedNameWithWildcard = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14960:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ) |
| // InternalEntityGrammar.g:14961:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleQualifiedNameWithWildcard.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleQualifiedNameWithWildcard" |
| |
| |
| // $ANTLR start "ruleQualifiedNameWithWildcard" |
| // InternalEntityGrammar.g:14967:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) ; |
| public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| AntlrDatatypeRuleToken this_QualifiedName_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:14973:2: ( (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) ) |
| // InternalEntityGrammar.g:14974:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) |
| { |
| // InternalEntityGrammar.g:14974:2: (this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' ) |
| // InternalEntityGrammar.g:14975:3: this_QualifiedName_0= ruleQualifiedName kw= '.' kw= '*' |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_180); |
| 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(); |
| |
| } |
| kw=(Token)match(input,67,FOLLOW_181); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopKeyword_1()); |
| |
| } |
| kw=(Token)match(input,115,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getAsteriskKeyword_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleQualifiedNameWithWildcard" |
| |
| |
| // $ANTLR start "entryRuleValidID" |
| // InternalEntityGrammar.g:14999:1: entryRuleValidID returns [String current=null] : iv_ruleValidID= ruleValidID EOF ; |
| public final String entryRuleValidID() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleValidID = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:14999:47: (iv_ruleValidID= ruleValidID EOF ) |
| // InternalEntityGrammar.g:15000:2: iv_ruleValidID= ruleValidID EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getValidIDRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleValidID=ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleValidID.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleValidID" |
| |
| |
| // $ANTLR start "ruleValidID" |
| // InternalEntityGrammar.g:15006: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 { |
| // InternalEntityGrammar.g:15012:2: (this_ID_0= RULE_ID ) |
| // InternalEntityGrammar.g:15013:2: this_ID_0= RULE_ID |
| { |
| this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); 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 "entryRuleXImportSection" |
| // InternalEntityGrammar.g:15023:1: entryRuleXImportSection returns [EObject current=null] : iv_ruleXImportSection= ruleXImportSection EOF ; |
| public final EObject entryRuleXImportSection() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleXImportSection = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:15023:55: (iv_ruleXImportSection= ruleXImportSection EOF ) |
| // InternalEntityGrammar.g:15024:2: iv_ruleXImportSection= ruleXImportSection EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getXImportSectionRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleXImportSection=ruleXImportSection(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleXImportSection; |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleXImportSection" |
| |
| |
| // $ANTLR start "ruleXImportSection" |
| // InternalEntityGrammar.g:15030:1: ruleXImportSection returns [EObject current=null] : ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+ ; |
| public final EObject ruleXImportSection() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_importDeclarations_0_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:15036:2: ( ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+ ) |
| // InternalEntityGrammar.g:15037:2: ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+ |
| { |
| // InternalEntityGrammar.g:15037:2: ( (lv_importDeclarations_0_0= ruleXImportDeclaration ) )+ |
| int cnt298=0; |
| loop298: |
| do { |
| int alt298=2; |
| int LA298_0 = input.LA(1); |
| |
| if ( (LA298_0==112) ) { |
| alt298=1; |
| } |
| |
| |
| switch (alt298) { |
| case 1 : |
| // InternalEntityGrammar.g:15038:3: (lv_importDeclarations_0_0= ruleXImportDeclaration ) |
| { |
| // InternalEntityGrammar.g:15038:3: (lv_importDeclarations_0_0= ruleXImportDeclaration ) |
| // InternalEntityGrammar.g:15039:4: lv_importDeclarations_0_0= ruleXImportDeclaration |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getXImportSectionAccess().getImportDeclarationsXImportDeclarationParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_182); |
| lv_importDeclarations_0_0=ruleXImportDeclaration(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getXImportSectionRule()); |
| } |
| add( |
| current, |
| "importDeclarations", |
| lv_importDeclarations_0_0, |
| "org.eclipse.osbp.xtext.oxtype.OXtype.XImportDeclaration"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| if ( cnt298 >= 1 ) break loop298; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(298, input); |
| throw eee; |
| } |
| cnt298++; |
| } while (true); |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleXImportSection" |
| |
| |
| // $ANTLR start "entryRuleQualifiedNameInStaticImport" |
| // InternalEntityGrammar.g:15059:1: entryRuleQualifiedNameInStaticImport returns [String current=null] : iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF ; |
| public final String entryRuleQualifiedNameInStaticImport() throws RecognitionException { |
| String current = null; |
| |
| AntlrDatatypeRuleToken iv_ruleQualifiedNameInStaticImport = null; |
| |
| |
| try { |
| // InternalEntityGrammar.g:15059:67: (iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF ) |
| // InternalEntityGrammar.g:15060:2: iv_ruleQualifiedNameInStaticImport= ruleQualifiedNameInStaticImport EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getQualifiedNameInStaticImportRule()); |
| } |
| pushFollow(FOLLOW_1); |
| iv_ruleQualifiedNameInStaticImport=ruleQualifiedNameInStaticImport(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleQualifiedNameInStaticImport.getText(); |
| } |
| match(input,EOF,FOLLOW_2); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleQualifiedNameInStaticImport" |
| |
| |
| // $ANTLR start "ruleQualifiedNameInStaticImport" |
| // InternalEntityGrammar.g:15066:1: ruleQualifiedNameInStaticImport returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID kw= '.' )+ ; |
| public final AntlrDatatypeRuleToken ruleQualifiedNameInStaticImport() throws RecognitionException { |
| AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken(); |
| |
| Token kw=null; |
| AntlrDatatypeRuleToken this_ValidID_0 = null; |
| |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:15072:2: ( (this_ValidID_0= ruleValidID kw= '.' )+ ) |
| // InternalEntityGrammar.g:15073:2: (this_ValidID_0= ruleValidID kw= '.' )+ |
| { |
| // InternalEntityGrammar.g:15073:2: (this_ValidID_0= ruleValidID kw= '.' )+ |
| int cnt299=0; |
| loop299: |
| do { |
| int alt299=2; |
| int LA299_0 = input.LA(1); |
| |
| if ( (LA299_0==RULE_ID) ) { |
| int LA299_2 = input.LA(2); |
| |
| if ( (LA299_2==67) ) { |
| alt299=1; |
| } |
| |
| |
| } |
| |
| |
| switch (alt299) { |
| case 1 : |
| // InternalEntityGrammar.g:15074:3: this_ValidID_0= ruleValidID kw= '.' |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getQualifiedNameInStaticImportAccess().getValidIDParserRuleCall_0()); |
| |
| } |
| pushFollow(FOLLOW_180); |
| 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(); |
| |
| } |
| kw=(Token)match(input,67,FOLLOW_183); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current.merge(kw); |
| newLeafNode(kw, grammarAccess.getQualifiedNameInStaticImportAccess().getFullStopKeyword_1()); |
| |
| } |
| |
| } |
| break; |
| |
| default : |
| if ( cnt299 >= 1 ) break loop299; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(299, input); |
| throw eee; |
| } |
| cnt299++; |
| } while (true); |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleQualifiedNameInStaticImport" |
| |
| |
| // $ANTLR start "ruleDiscriminatorType" |
| // InternalEntityGrammar.g:15093:1: ruleDiscriminatorType returns [Enumerator current=null] : ( (enumLiteral_0= 'INHERIT' ) | (enumLiteral_1= 'STRING' ) | (enumLiteral_2= 'CHAR' ) | (enumLiteral_3= 'INT' ) ) ; |
| public final Enumerator ruleDiscriminatorType() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0=null; |
| Token enumLiteral_1=null; |
| Token enumLiteral_2=null; |
| Token enumLiteral_3=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:15099:2: ( ( (enumLiteral_0= 'INHERIT' ) | (enumLiteral_1= 'STRING' ) | (enumLiteral_2= 'CHAR' ) | (enumLiteral_3= 'INT' ) ) ) |
| // InternalEntityGrammar.g:15100:2: ( (enumLiteral_0= 'INHERIT' ) | (enumLiteral_1= 'STRING' ) | (enumLiteral_2= 'CHAR' ) | (enumLiteral_3= 'INT' ) ) |
| { |
| // InternalEntityGrammar.g:15100:2: ( (enumLiteral_0= 'INHERIT' ) | (enumLiteral_1= 'STRING' ) | (enumLiteral_2= 'CHAR' ) | (enumLiteral_3= 'INT' ) ) |
| int alt300=4; |
| switch ( input.LA(1) ) { |
| case 174: |
| { |
| alt300=1; |
| } |
| break; |
| case 175: |
| { |
| alt300=2; |
| } |
| break; |
| case 176: |
| { |
| alt300=3; |
| } |
| break; |
| case 177: |
| { |
| alt300=4; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 300, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt300) { |
| case 1 : |
| // InternalEntityGrammar.g:15101:3: (enumLiteral_0= 'INHERIT' ) |
| { |
| // InternalEntityGrammar.g:15101:3: (enumLiteral_0= 'INHERIT' ) |
| // InternalEntityGrammar.g:15102:4: enumLiteral_0= 'INHERIT' |
| { |
| enumLiteral_0=(Token)match(input,174,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getDiscriminatorTypeAccess().getINHERITEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getDiscriminatorTypeAccess().getINHERITEnumLiteralDeclaration_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:15109:3: (enumLiteral_1= 'STRING' ) |
| { |
| // InternalEntityGrammar.g:15109:3: (enumLiteral_1= 'STRING' ) |
| // InternalEntityGrammar.g:15110:4: enumLiteral_1= 'STRING' |
| { |
| enumLiteral_1=(Token)match(input,175,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getDiscriminatorTypeAccess().getSTRINGEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getDiscriminatorTypeAccess().getSTRINGEnumLiteralDeclaration_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:15117:3: (enumLiteral_2= 'CHAR' ) |
| { |
| // InternalEntityGrammar.g:15117:3: (enumLiteral_2= 'CHAR' ) |
| // InternalEntityGrammar.g:15118:4: enumLiteral_2= 'CHAR' |
| { |
| enumLiteral_2=(Token)match(input,176,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getDiscriminatorTypeAccess().getCHAREnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getDiscriminatorTypeAccess().getCHAREnumLiteralDeclaration_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:15125:3: (enumLiteral_3= 'INT' ) |
| { |
| // InternalEntityGrammar.g:15125:3: (enumLiteral_3= 'INT' ) |
| // InternalEntityGrammar.g:15126:4: enumLiteral_3= 'INT' |
| { |
| enumLiteral_3=(Token)match(input,177,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getDiscriminatorTypeAccess().getINTEGEREnumLiteralDeclaration_3().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_3, grammarAccess.getDiscriminatorTypeAccess().getINTEGEREnumLiteralDeclaration_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDiscriminatorType" |
| |
| |
| // $ANTLR start "ruleLHistorizedDateType" |
| // InternalEntityGrammar.g:15136:1: ruleLHistorizedDateType returns [Enumerator current=null] : ( (enumLiteral_0= 'DATE' ) | (enumLiteral_1= 'TIMESTAMP' ) ) ; |
| public final Enumerator ruleLHistorizedDateType() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0=null; |
| Token enumLiteral_1=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:15142:2: ( ( (enumLiteral_0= 'DATE' ) | (enumLiteral_1= 'TIMESTAMP' ) ) ) |
| // InternalEntityGrammar.g:15143:2: ( (enumLiteral_0= 'DATE' ) | (enumLiteral_1= 'TIMESTAMP' ) ) |
| { |
| // InternalEntityGrammar.g:15143:2: ( (enumLiteral_0= 'DATE' ) | (enumLiteral_1= 'TIMESTAMP' ) ) |
| int alt301=2; |
| int LA301_0 = input.LA(1); |
| |
| if ( (LA301_0==178) ) { |
| alt301=1; |
| } |
| else if ( (LA301_0==179) ) { |
| alt301=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 301, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt301) { |
| case 1 : |
| // InternalEntityGrammar.g:15144:3: (enumLiteral_0= 'DATE' ) |
| { |
| // InternalEntityGrammar.g:15144:3: (enumLiteral_0= 'DATE' ) |
| // InternalEntityGrammar.g:15145:4: enumLiteral_0= 'DATE' |
| { |
| enumLiteral_0=(Token)match(input,178,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLHistorizedDateTypeAccess().getDATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getLHistorizedDateTypeAccess().getDATEEnumLiteralDeclaration_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:15152:3: (enumLiteral_1= 'TIMESTAMP' ) |
| { |
| // InternalEntityGrammar.g:15152:3: (enumLiteral_1= 'TIMESTAMP' ) |
| // InternalEntityGrammar.g:15153:4: enumLiteral_1= 'TIMESTAMP' |
| { |
| enumLiteral_1=(Token)match(input,179,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLHistorizedDateTypeAccess().getTIMESTAMPEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getLHistorizedDateTypeAccess().getTIMESTAMPEnumLiteralDeclaration_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLHistorizedDateType" |
| |
| |
| // $ANTLR start "ruleConstraintSeverity" |
| // InternalEntityGrammar.g:15163:1: ruleConstraintSeverity returns [Enumerator current=null] : ( (enumLiteral_0= 'info' ) | (enumLiteral_1= 'warn' ) | (enumLiteral_2= 'error' ) ) ; |
| public final Enumerator ruleConstraintSeverity() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0=null; |
| Token enumLiteral_1=null; |
| Token enumLiteral_2=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:15169:2: ( ( (enumLiteral_0= 'info' ) | (enumLiteral_1= 'warn' ) | (enumLiteral_2= 'error' ) ) ) |
| // InternalEntityGrammar.g:15170:2: ( (enumLiteral_0= 'info' ) | (enumLiteral_1= 'warn' ) | (enumLiteral_2= 'error' ) ) |
| { |
| // InternalEntityGrammar.g:15170:2: ( (enumLiteral_0= 'info' ) | (enumLiteral_1= 'warn' ) | (enumLiteral_2= 'error' ) ) |
| int alt302=3; |
| switch ( input.LA(1) ) { |
| case 180: |
| { |
| alt302=1; |
| } |
| break; |
| case 181: |
| { |
| alt302=2; |
| } |
| break; |
| case 182: |
| { |
| alt302=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 302, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt302) { |
| case 1 : |
| // InternalEntityGrammar.g:15171:3: (enumLiteral_0= 'info' ) |
| { |
| // InternalEntityGrammar.g:15171:3: (enumLiteral_0= 'info' ) |
| // InternalEntityGrammar.g:15172:4: enumLiteral_0= 'info' |
| { |
| enumLiteral_0=(Token)match(input,180,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getConstraintSeverityAccess().getINFOEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getConstraintSeverityAccess().getINFOEnumLiteralDeclaration_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:15179:3: (enumLiteral_1= 'warn' ) |
| { |
| // InternalEntityGrammar.g:15179:3: (enumLiteral_1= 'warn' ) |
| // InternalEntityGrammar.g:15180:4: enumLiteral_1= 'warn' |
| { |
| enumLiteral_1=(Token)match(input,181,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getConstraintSeverityAccess().getWARNINGEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getConstraintSeverityAccess().getWARNINGEnumLiteralDeclaration_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:15187:3: (enumLiteral_2= 'error' ) |
| { |
| // InternalEntityGrammar.g:15187:3: (enumLiteral_2= 'error' ) |
| // InternalEntityGrammar.g:15188:4: enumLiteral_2= 'error' |
| { |
| enumLiteral_2=(Token)match(input,182,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getConstraintSeverityAccess().getERROREnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getConstraintSeverityAccess().getERROREnumLiteralDeclaration_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleConstraintSeverity" |
| |
| |
| // $ANTLR start "ruleDateType" |
| // InternalEntityGrammar.g:15198:1: ruleDateType returns [Enumerator current=null] : ( (enumLiteral_0= 'date' ) | (enumLiteral_1= 'time' ) | (enumLiteral_2= 'timestamp' ) ) ; |
| public final Enumerator ruleDateType() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0=null; |
| Token enumLiteral_1=null; |
| Token enumLiteral_2=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:15204:2: ( ( (enumLiteral_0= 'date' ) | (enumLiteral_1= 'time' ) | (enumLiteral_2= 'timestamp' ) ) ) |
| // InternalEntityGrammar.g:15205:2: ( (enumLiteral_0= 'date' ) | (enumLiteral_1= 'time' ) | (enumLiteral_2= 'timestamp' ) ) |
| { |
| // InternalEntityGrammar.g:15205:2: ( (enumLiteral_0= 'date' ) | (enumLiteral_1= 'time' ) | (enumLiteral_2= 'timestamp' ) ) |
| int alt303=3; |
| switch ( input.LA(1) ) { |
| case 107: |
| { |
| alt303=1; |
| } |
| break; |
| case 183: |
| { |
| alt303=2; |
| } |
| break; |
| case 184: |
| { |
| alt303=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 303, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt303) { |
| case 1 : |
| // InternalEntityGrammar.g:15206:3: (enumLiteral_0= 'date' ) |
| { |
| // InternalEntityGrammar.g:15206:3: (enumLiteral_0= 'date' ) |
| // InternalEntityGrammar.g:15207:4: enumLiteral_0= 'date' |
| { |
| enumLiteral_0=(Token)match(input,107,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getDateTypeAccess().getDATEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getDateTypeAccess().getDATEEnumLiteralDeclaration_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:15214:3: (enumLiteral_1= 'time' ) |
| { |
| // InternalEntityGrammar.g:15214:3: (enumLiteral_1= 'time' ) |
| // InternalEntityGrammar.g:15215:4: enumLiteral_1= 'time' |
| { |
| enumLiteral_1=(Token)match(input,183,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getDateTypeAccess().getTIMEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getDateTypeAccess().getTIMEEnumLiteralDeclaration_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:15222:3: (enumLiteral_2= 'timestamp' ) |
| { |
| // InternalEntityGrammar.g:15222:3: (enumLiteral_2= 'timestamp' ) |
| // InternalEntityGrammar.g:15223:4: enumLiteral_2= 'timestamp' |
| { |
| enumLiteral_2=(Token)match(input,184,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getDateTypeAccess().getTIMESTAMPEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getDateTypeAccess().getTIMESTAMPEnumLiteralDeclaration_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDateType" |
| |
| |
| // $ANTLR start "ruleLVisibility" |
| // InternalEntityGrammar.g:15233:1: ruleLVisibility returns [Enumerator current=null] : ( (enumLiteral_0= 'package' ) | (enumLiteral_1= 'private' ) | (enumLiteral_2= 'protected' ) | (enumLiteral_3= 'public' ) ) ; |
| public final Enumerator ruleLVisibility() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0=null; |
| Token enumLiteral_1=null; |
| Token enumLiteral_2=null; |
| Token enumLiteral_3=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:15239:2: ( ( (enumLiteral_0= 'package' ) | (enumLiteral_1= 'private' ) | (enumLiteral_2= 'protected' ) | (enumLiteral_3= 'public' ) ) ) |
| // InternalEntityGrammar.g:15240:2: ( (enumLiteral_0= 'package' ) | (enumLiteral_1= 'private' ) | (enumLiteral_2= 'protected' ) | (enumLiteral_3= 'public' ) ) |
| { |
| // InternalEntityGrammar.g:15240:2: ( (enumLiteral_0= 'package' ) | (enumLiteral_1= 'private' ) | (enumLiteral_2= 'protected' ) | (enumLiteral_3= 'public' ) ) |
| int alt304=4; |
| switch ( input.LA(1) ) { |
| case 73: |
| { |
| alt304=1; |
| } |
| break; |
| case 185: |
| { |
| alt304=2; |
| } |
| break; |
| case 186: |
| { |
| alt304=3; |
| } |
| break; |
| case 187: |
| { |
| alt304=4; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 304, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt304) { |
| case 1 : |
| // InternalEntityGrammar.g:15241:3: (enumLiteral_0= 'package' ) |
| { |
| // InternalEntityGrammar.g:15241:3: (enumLiteral_0= 'package' ) |
| // InternalEntityGrammar.g:15242:4: enumLiteral_0= 'package' |
| { |
| enumLiteral_0=(Token)match(input,73,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLVisibilityAccess().getPACKAGEEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getLVisibilityAccess().getPACKAGEEnumLiteralDeclaration_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:15249:3: (enumLiteral_1= 'private' ) |
| { |
| // InternalEntityGrammar.g:15249:3: (enumLiteral_1= 'private' ) |
| // InternalEntityGrammar.g:15250:4: enumLiteral_1= 'private' |
| { |
| enumLiteral_1=(Token)match(input,185,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLVisibilityAccess().getPRIVATEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getLVisibilityAccess().getPRIVATEEnumLiteralDeclaration_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:15257:3: (enumLiteral_2= 'protected' ) |
| { |
| // InternalEntityGrammar.g:15257:3: (enumLiteral_2= 'protected' ) |
| // InternalEntityGrammar.g:15258:4: enumLiteral_2= 'protected' |
| { |
| enumLiteral_2=(Token)match(input,186,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLVisibilityAccess().getPROTECTEDEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getLVisibilityAccess().getPROTECTEDEnumLiteralDeclaration_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:15265:3: (enumLiteral_3= 'public' ) |
| { |
| // InternalEntityGrammar.g:15265:3: (enumLiteral_3= 'public' ) |
| // InternalEntityGrammar.g:15266:4: enumLiteral_3= 'public' |
| { |
| enumLiteral_3=(Token)match(input,187,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLVisibilityAccess().getPUBLICEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_3, grammarAccess.getLVisibilityAccess().getPUBLICEnumLiteralDeclaration_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLVisibility" |
| |
| |
| // $ANTLR start "ruleLComparatorType" |
| // InternalEntityGrammar.g:15276:1: ruleLComparatorType returns [Enumerator current=null] : ( (enumLiteral_0= '==' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<' ) | (enumLiteral_3= '>=' ) | (enumLiteral_4= '<=' ) | (enumLiteral_5= '<>' ) ) ; |
| public final Enumerator ruleLComparatorType() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0=null; |
| Token enumLiteral_1=null; |
| Token enumLiteral_2=null; |
| Token enumLiteral_3=null; |
| Token enumLiteral_4=null; |
| Token enumLiteral_5=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:15282:2: ( ( (enumLiteral_0= '==' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<' ) | (enumLiteral_3= '>=' ) | (enumLiteral_4= '<=' ) | (enumLiteral_5= '<>' ) ) ) |
| // InternalEntityGrammar.g:15283:2: ( (enumLiteral_0= '==' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<' ) | (enumLiteral_3= '>=' ) | (enumLiteral_4= '<=' ) | (enumLiteral_5= '<>' ) ) |
| { |
| // InternalEntityGrammar.g:15283:2: ( (enumLiteral_0= '==' ) | (enumLiteral_1= '>' ) | (enumLiteral_2= '<' ) | (enumLiteral_3= '>=' ) | (enumLiteral_4= '<=' ) | (enumLiteral_5= '<>' ) ) |
| int alt305=6; |
| switch ( input.LA(1) ) { |
| case 130: |
| { |
| alt305=1; |
| } |
| break; |
| case 126: |
| { |
| alt305=2; |
| } |
| break; |
| case 125: |
| { |
| alt305=3; |
| } |
| break; |
| case 127: |
| { |
| alt305=4; |
| } |
| break; |
| case 188: |
| { |
| alt305=5; |
| } |
| break; |
| case 138: |
| { |
| alt305=6; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 305, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt305) { |
| case 1 : |
| // InternalEntityGrammar.g:15284:3: (enumLiteral_0= '==' ) |
| { |
| // InternalEntityGrammar.g:15284:3: (enumLiteral_0= '==' ) |
| // InternalEntityGrammar.g:15285:4: enumLiteral_0= '==' |
| { |
| enumLiteral_0=(Token)match(input,130,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLComparatorTypeAccess().getEQUALSEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getLComparatorTypeAccess().getEQUALSEnumLiteralDeclaration_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:15292:3: (enumLiteral_1= '>' ) |
| { |
| // InternalEntityGrammar.g:15292:3: (enumLiteral_1= '>' ) |
| // InternalEntityGrammar.g:15293:4: enumLiteral_1= '>' |
| { |
| enumLiteral_1=(Token)match(input,126,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLComparatorTypeAccess().getGREATEREnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getLComparatorTypeAccess().getGREATEREnumLiteralDeclaration_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:15300:3: (enumLiteral_2= '<' ) |
| { |
| // InternalEntityGrammar.g:15300:3: (enumLiteral_2= '<' ) |
| // InternalEntityGrammar.g:15301:4: enumLiteral_2= '<' |
| { |
| enumLiteral_2=(Token)match(input,125,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLComparatorTypeAccess().getLOWEREnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getLComparatorTypeAccess().getLOWEREnumLiteralDeclaration_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:15308:3: (enumLiteral_3= '>=' ) |
| { |
| // InternalEntityGrammar.g:15308:3: (enumLiteral_3= '>=' ) |
| // InternalEntityGrammar.g:15309:4: enumLiteral_3= '>=' |
| { |
| enumLiteral_3=(Token)match(input,127,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLComparatorTypeAccess().getGREATER_EQEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_3, grammarAccess.getLComparatorTypeAccess().getGREATER_EQEnumLiteralDeclaration_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:15316:3: (enumLiteral_4= '<=' ) |
| { |
| // InternalEntityGrammar.g:15316:3: (enumLiteral_4= '<=' ) |
| // InternalEntityGrammar.g:15317:4: enumLiteral_4= '<=' |
| { |
| enumLiteral_4=(Token)match(input,188,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLComparatorTypeAccess().getLOWER_EQEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_4, grammarAccess.getLComparatorTypeAccess().getLOWER_EQEnumLiteralDeclaration_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 6 : |
| // InternalEntityGrammar.g:15324:3: (enumLiteral_5= '<>' ) |
| { |
| // InternalEntityGrammar.g:15324:3: (enumLiteral_5= '<>' ) |
| // InternalEntityGrammar.g:15325:4: enumLiteral_5= '<>' |
| { |
| enumLiteral_5=(Token)match(input,138,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLComparatorTypeAccess().getNOT_EQEnumLiteralDeclaration_5().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_5, grammarAccess.getLComparatorTypeAccess().getNOT_EQEnumLiteralDeclaration_5()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLComparatorType" |
| |
| |
| // $ANTLR start "ruleLowerBound" |
| // InternalEntityGrammar.g:15335:1: ruleLowerBound returns [Enumerator current=null] : ( (enumLiteral_0= '*' ) | (enumLiteral_1= '0' ) | (enumLiteral_2= '?' ) | (enumLiteral_3= '+' ) | (enumLiteral_4= '1' ) ) ; |
| public final Enumerator ruleLowerBound() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0=null; |
| Token enumLiteral_1=null; |
| Token enumLiteral_2=null; |
| Token enumLiteral_3=null; |
| Token enumLiteral_4=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:15341:2: ( ( (enumLiteral_0= '*' ) | (enumLiteral_1= '0' ) | (enumLiteral_2= '?' ) | (enumLiteral_3= '+' ) | (enumLiteral_4= '1' ) ) ) |
| // InternalEntityGrammar.g:15342:2: ( (enumLiteral_0= '*' ) | (enumLiteral_1= '0' ) | (enumLiteral_2= '?' ) | (enumLiteral_3= '+' ) | (enumLiteral_4= '1' ) ) |
| { |
| // InternalEntityGrammar.g:15342:2: ( (enumLiteral_0= '*' ) | (enumLiteral_1= '0' ) | (enumLiteral_2= '?' ) | (enumLiteral_3= '+' ) | (enumLiteral_4= '1' ) ) |
| int alt306=5; |
| switch ( input.LA(1) ) { |
| case 115: |
| { |
| alt306=1; |
| } |
| break; |
| case 189: |
| { |
| alt306=2; |
| } |
| break; |
| case 172: |
| { |
| alt306=3; |
| } |
| break; |
| case 110: |
| { |
| alt306=4; |
| } |
| break; |
| case 190: |
| { |
| alt306=5; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 306, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt306) { |
| case 1 : |
| // InternalEntityGrammar.g:15343:3: (enumLiteral_0= '*' ) |
| { |
| // InternalEntityGrammar.g:15343:3: (enumLiteral_0= '*' ) |
| // InternalEntityGrammar.g:15344:4: enumLiteral_0= '*' |
| { |
| enumLiteral_0=(Token)match(input,115,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLowerBoundAccess().getMANYEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getLowerBoundAccess().getMANYEnumLiteralDeclaration_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:15351:3: (enumLiteral_1= '0' ) |
| { |
| // InternalEntityGrammar.g:15351:3: (enumLiteral_1= '0' ) |
| // InternalEntityGrammar.g:15352:4: enumLiteral_1= '0' |
| { |
| enumLiteral_1=(Token)match(input,189,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLowerBoundAccess().getZEROEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getLowerBoundAccess().getZEROEnumLiteralDeclaration_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:15359:3: (enumLiteral_2= '?' ) |
| { |
| // InternalEntityGrammar.g:15359:3: (enumLiteral_2= '?' ) |
| // InternalEntityGrammar.g:15360:4: enumLiteral_2= '?' |
| { |
| enumLiteral_2=(Token)match(input,172,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLowerBoundAccess().getOPTIONALEnumLiteralDeclaration_2().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_2, grammarAccess.getLowerBoundAccess().getOPTIONALEnumLiteralDeclaration_2()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // InternalEntityGrammar.g:15367:3: (enumLiteral_3= '+' ) |
| { |
| // InternalEntityGrammar.g:15367:3: (enumLiteral_3= '+' ) |
| // InternalEntityGrammar.g:15368:4: enumLiteral_3= '+' |
| { |
| enumLiteral_3=(Token)match(input,110,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLowerBoundAccess().getATLEASTONEEnumLiteralDeclaration_3().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_3, grammarAccess.getLowerBoundAccess().getATLEASTONEEnumLiteralDeclaration_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 5 : |
| // InternalEntityGrammar.g:15375:3: (enumLiteral_4= '1' ) |
| { |
| // InternalEntityGrammar.g:15375:3: (enumLiteral_4= '1' ) |
| // InternalEntityGrammar.g:15376:4: enumLiteral_4= '1' |
| { |
| enumLiteral_4=(Token)match(input,190,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getLowerBoundAccess().getONEEnumLiteralDeclaration_4().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_4, grammarAccess.getLowerBoundAccess().getONEEnumLiteralDeclaration_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLowerBound" |
| |
| |
| // $ANTLR start "ruleUpperBound" |
| // InternalEntityGrammar.g:15386:1: ruleUpperBound returns [Enumerator current=null] : ( (enumLiteral_0= '*' ) | (enumLiteral_1= '1' ) ) ; |
| public final Enumerator ruleUpperBound() throws RecognitionException { |
| Enumerator current = null; |
| |
| Token enumLiteral_0=null; |
| Token enumLiteral_1=null; |
| |
| |
| enterRule(); |
| |
| try { |
| // InternalEntityGrammar.g:15392:2: ( ( (enumLiteral_0= '*' ) | (enumLiteral_1= '1' ) ) ) |
| // InternalEntityGrammar.g:15393:2: ( (enumLiteral_0= '*' ) | (enumLiteral_1= '1' ) ) |
| { |
| // InternalEntityGrammar.g:15393:2: ( (enumLiteral_0= '*' ) | (enumLiteral_1= '1' ) ) |
| int alt307=2; |
| int LA307_0 = input.LA(1); |
| |
| if ( (LA307_0==115) ) { |
| alt307=1; |
| } |
| else if ( (LA307_0==190) ) { |
| alt307=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 307, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt307) { |
| case 1 : |
| // InternalEntityGrammar.g:15394:3: (enumLiteral_0= '*' ) |
| { |
| // InternalEntityGrammar.g:15394:3: (enumLiteral_0= '*' ) |
| // InternalEntityGrammar.g:15395:4: enumLiteral_0= '*' |
| { |
| enumLiteral_0=(Token)match(input,115,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getUpperBoundAccess().getMANYEnumLiteralDeclaration_0().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_0, grammarAccess.getUpperBoundAccess().getMANYEnumLiteralDeclaration_0()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:15402:3: (enumLiteral_1= '1' ) |
| { |
| // InternalEntityGrammar.g:15402:3: (enumLiteral_1= '1' ) |
| // InternalEntityGrammar.g:15403:4: enumLiteral_1= '1' |
| { |
| enumLiteral_1=(Token)match(input,190,FOLLOW_2); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = grammarAccess.getUpperBoundAccess().getONEEnumLiteralDeclaration_1().getEnumLiteral().getInstance(); |
| newLeafNode(enumLiteral_1, grammarAccess.getUpperBoundAccess().getONEEnumLiteralDeclaration_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| |
| leaveRule(); |
| |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleUpperBound" |
| |
| // $ANTLR start synpred2_InternalEntityGrammar |
| public final void synpred2_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:7789:5: ( ( RULE_ID ) ) |
| // InternalEntityGrammar.g:7789:6: ( RULE_ID ) |
| { |
| // InternalEntityGrammar.g:7789:6: ( RULE_ID ) |
| // InternalEntityGrammar.g:7790:6: RULE_ID |
| { |
| match(input,RULE_ID,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred2_InternalEntityGrammar |
| |
| // $ANTLR start synpred3_InternalEntityGrammar |
| public final void synpred3_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:8469:5: ( '(' ) |
| // InternalEntityGrammar.g:8469:6: '(' |
| { |
| match(input,16,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred3_InternalEntityGrammar |
| |
| // $ANTLR start synpred4_InternalEntityGrammar |
| public final void synpred4_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:8478:7: ( ( ( ( ruleValidID ) ) '=' ) ) |
| // InternalEntityGrammar.g:8478:8: ( ( ( ruleValidID ) ) '=' ) |
| { |
| // InternalEntityGrammar.g:8478:8: ( ( ( ruleValidID ) ) '=' ) |
| // InternalEntityGrammar.g:8479:8: ( ( ruleValidID ) ) '=' |
| { |
| // InternalEntityGrammar.g:8479:8: ( ( ruleValidID ) ) |
| // InternalEntityGrammar.g:8480:9: ( ruleValidID ) |
| { |
| // InternalEntityGrammar.g:8480:9: ( ruleValidID ) |
| // InternalEntityGrammar.g:8481:10: ruleValidID |
| { |
| pushFollow(FOLLOW_96); |
| ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| match(input,65,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred4_InternalEntityGrammar |
| |
| // $ANTLR start synpred7_InternalEntityGrammar |
| public final void synpred7_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:8658:5: ( ( () '#' '[' ) ) |
| // InternalEntityGrammar.g:8658:6: ( () '#' '[' ) |
| { |
| // InternalEntityGrammar.g:8658:6: ( () '#' '[' ) |
| // InternalEntityGrammar.g:8659:6: () '#' '[' |
| { |
| // InternalEntityGrammar.g:8659:6: () |
| // InternalEntityGrammar.g:8660:6: |
| { |
| } |
| |
| match(input,119,FOLLOW_119); if (state.failed) return ; |
| match(input,38,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred7_InternalEntityGrammar |
| |
| // $ANTLR start synpred8_InternalEntityGrammar |
| public final void synpred8_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:8800:5: ( ( () '#' '[' ) ) |
| // InternalEntityGrammar.g:8800:6: ( () '#' '[' ) |
| { |
| // InternalEntityGrammar.g:8800:6: ( () '#' '[' ) |
| // InternalEntityGrammar.g:8801:6: () '#' '[' |
| { |
| // InternalEntityGrammar.g:8801:6: () |
| // InternalEntityGrammar.g:8802:6: |
| { |
| } |
| |
| match(input,119,FOLLOW_119); if (state.failed) return ; |
| match(input,38,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred8_InternalEntityGrammar |
| |
| // $ANTLR start synpred9_InternalEntityGrammar |
| public final void synpred9_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:9028:6: ( ( () ( ( ruleOpMultiAssign ) ) ) ) |
| // InternalEntityGrammar.g:9028:7: ( () ( ( ruleOpMultiAssign ) ) ) |
| { |
| // InternalEntityGrammar.g:9028:7: ( () ( ( ruleOpMultiAssign ) ) ) |
| // InternalEntityGrammar.g:9029:7: () ( ( ruleOpMultiAssign ) ) |
| { |
| // InternalEntityGrammar.g:9029:7: () |
| // InternalEntityGrammar.g:9030:7: |
| { |
| } |
| |
| // InternalEntityGrammar.g:9031:7: ( ( ruleOpMultiAssign ) ) |
| // InternalEntityGrammar.g:9032:8: ( ruleOpMultiAssign ) |
| { |
| // InternalEntityGrammar.g:9032:8: ( ruleOpMultiAssign ) |
| // InternalEntityGrammar.g:9033:9: ruleOpMultiAssign |
| { |
| pushFollow(FOLLOW_2); |
| ruleOpMultiAssign(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred9_InternalEntityGrammar |
| |
| // $ANTLR start synpred10_InternalEntityGrammar |
| public final void synpred10_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:9222:5: ( ( () ( ( ruleOpOr ) ) ) ) |
| // InternalEntityGrammar.g:9222:6: ( () ( ( ruleOpOr ) ) ) |
| { |
| // InternalEntityGrammar.g:9222:6: ( () ( ( ruleOpOr ) ) ) |
| // InternalEntityGrammar.g:9223:6: () ( ( ruleOpOr ) ) |
| { |
| // InternalEntityGrammar.g:9223:6: () |
| // InternalEntityGrammar.g:9224:6: |
| { |
| } |
| |
| // InternalEntityGrammar.g:9225:6: ( ( ruleOpOr ) ) |
| // InternalEntityGrammar.g:9226:7: ( ruleOpOr ) |
| { |
| // InternalEntityGrammar.g:9226:7: ( ruleOpOr ) |
| // InternalEntityGrammar.g:9227:8: ruleOpOr |
| { |
| pushFollow(FOLLOW_2); |
| ruleOpOr(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred10_InternalEntityGrammar |
| |
| // $ANTLR start synpred11_InternalEntityGrammar |
| public final void synpred11_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:9329:5: ( ( () ( ( ruleOpAnd ) ) ) ) |
| // InternalEntityGrammar.g:9329:6: ( () ( ( ruleOpAnd ) ) ) |
| { |
| // InternalEntityGrammar.g:9329:6: ( () ( ( ruleOpAnd ) ) ) |
| // InternalEntityGrammar.g:9330:6: () ( ( ruleOpAnd ) ) |
| { |
| // InternalEntityGrammar.g:9330:6: () |
| // InternalEntityGrammar.g:9331:6: |
| { |
| } |
| |
| // InternalEntityGrammar.g:9332:6: ( ( ruleOpAnd ) ) |
| // InternalEntityGrammar.g:9333:7: ( ruleOpAnd ) |
| { |
| // InternalEntityGrammar.g:9333:7: ( ruleOpAnd ) |
| // InternalEntityGrammar.g:9334:8: ruleOpAnd |
| { |
| pushFollow(FOLLOW_2); |
| ruleOpAnd(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred11_InternalEntityGrammar |
| |
| // $ANTLR start synpred12_InternalEntityGrammar |
| public final void synpred12_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:9436:5: ( ( () ( ( ruleOpEquality ) ) ) ) |
| // InternalEntityGrammar.g:9436:6: ( () ( ( ruleOpEquality ) ) ) |
| { |
| // InternalEntityGrammar.g:9436:6: ( () ( ( ruleOpEquality ) ) ) |
| // InternalEntityGrammar.g:9437:6: () ( ( ruleOpEquality ) ) |
| { |
| // InternalEntityGrammar.g:9437:6: () |
| // InternalEntityGrammar.g:9438:6: |
| { |
| } |
| |
| // InternalEntityGrammar.g:9439:6: ( ( ruleOpEquality ) ) |
| // InternalEntityGrammar.g:9440:7: ( ruleOpEquality ) |
| { |
| // InternalEntityGrammar.g:9440:7: ( ruleOpEquality ) |
| // InternalEntityGrammar.g:9441:8: ruleOpEquality |
| { |
| pushFollow(FOLLOW_2); |
| ruleOpEquality(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred12_InternalEntityGrammar |
| |
| // $ANTLR start synpred13_InternalEntityGrammar |
| public final void synpred13_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:9564:6: ( ( () 'instanceof' ) ) |
| // InternalEntityGrammar.g:9564:7: ( () 'instanceof' ) |
| { |
| // InternalEntityGrammar.g:9564:7: ( () 'instanceof' ) |
| // InternalEntityGrammar.g:9565:7: () 'instanceof' |
| { |
| // InternalEntityGrammar.g:9565:7: () |
| // InternalEntityGrammar.g:9566:7: |
| { |
| } |
| |
| match(input,134,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred13_InternalEntityGrammar |
| |
| // $ANTLR start synpred14_InternalEntityGrammar |
| public final void synpred14_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:9607:6: ( ( () ( ( ruleOpCompare ) ) ) ) |
| // InternalEntityGrammar.g:9607:7: ( () ( ( ruleOpCompare ) ) ) |
| { |
| // InternalEntityGrammar.g:9607:7: ( () ( ( ruleOpCompare ) ) ) |
| // InternalEntityGrammar.g:9608:7: () ( ( ruleOpCompare ) ) |
| { |
| // InternalEntityGrammar.g:9608:7: () |
| // InternalEntityGrammar.g:9609:7: |
| { |
| } |
| |
| // InternalEntityGrammar.g:9610:7: ( ( ruleOpCompare ) ) |
| // InternalEntityGrammar.g:9611:8: ( ruleOpCompare ) |
| { |
| // InternalEntityGrammar.g:9611:8: ( ruleOpCompare ) |
| // InternalEntityGrammar.g:9612:9: ruleOpCompare |
| { |
| pushFollow(FOLLOW_2); |
| ruleOpCompare(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred14_InternalEntityGrammar |
| |
| // $ANTLR start synpred15_InternalEntityGrammar |
| public final void synpred15_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:9742:5: ( ( () ( ( ruleOpOther ) ) ) ) |
| // InternalEntityGrammar.g:9742:6: ( () ( ( ruleOpOther ) ) ) |
| { |
| // InternalEntityGrammar.g:9742:6: ( () ( ( ruleOpOther ) ) ) |
| // InternalEntityGrammar.g:9743:6: () ( ( ruleOpOther ) ) |
| { |
| // InternalEntityGrammar.g:9743:6: () |
| // InternalEntityGrammar.g:9744:6: |
| { |
| } |
| |
| // InternalEntityGrammar.g:9745:6: ( ( ruleOpOther ) ) |
| // InternalEntityGrammar.g:9746:7: ( ruleOpOther ) |
| { |
| // InternalEntityGrammar.g:9746:7: ( ruleOpOther ) |
| // InternalEntityGrammar.g:9747:8: ruleOpOther |
| { |
| pushFollow(FOLLOW_2); |
| ruleOpOther(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred15_InternalEntityGrammar |
| |
| // $ANTLR start synpred16_InternalEntityGrammar |
| public final void synpred16_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:9862:6: ( ( '>' '>' ) ) |
| // InternalEntityGrammar.g:9862:7: ( '>' '>' ) |
| { |
| // InternalEntityGrammar.g:9862:7: ( '>' '>' ) |
| // InternalEntityGrammar.g:9863:7: '>' '>' |
| { |
| match(input,126,FOLLOW_133); if (state.failed) return ; |
| match(input,126,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred16_InternalEntityGrammar |
| |
| // $ANTLR start synpred17_InternalEntityGrammar |
| public final void synpred17_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:9897:6: ( ( '<' '<' ) ) |
| // InternalEntityGrammar.g:9897:7: ( '<' '<' ) |
| { |
| // InternalEntityGrammar.g:9897:7: ( '<' '<' ) |
| // InternalEntityGrammar.g:9898:7: '<' '<' |
| { |
| match(input,125,FOLLOW_124); if (state.failed) return ; |
| match(input,125,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred17_InternalEntityGrammar |
| |
| // $ANTLR start synpred18_InternalEntityGrammar |
| public final void synpred18_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:9970:5: ( ( () ( ( ruleOpAdd ) ) ) ) |
| // InternalEntityGrammar.g:9970:6: ( () ( ( ruleOpAdd ) ) ) |
| { |
| // InternalEntityGrammar.g:9970:6: ( () ( ( ruleOpAdd ) ) ) |
| // InternalEntityGrammar.g:9971:6: () ( ( ruleOpAdd ) ) |
| { |
| // InternalEntityGrammar.g:9971:6: () |
| // InternalEntityGrammar.g:9972:6: |
| { |
| } |
| |
| // InternalEntityGrammar.g:9973:6: ( ( ruleOpAdd ) ) |
| // InternalEntityGrammar.g:9974:7: ( ruleOpAdd ) |
| { |
| // InternalEntityGrammar.g:9974:7: ( ruleOpAdd ) |
| // InternalEntityGrammar.g:9975:8: ruleOpAdd |
| { |
| pushFollow(FOLLOW_2); |
| ruleOpAdd(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred18_InternalEntityGrammar |
| |
| // $ANTLR start synpred19_InternalEntityGrammar |
| public final void synpred19_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:10085:5: ( ( () ( ( ruleOpMulti ) ) ) ) |
| // InternalEntityGrammar.g:10085:6: ( () ( ( ruleOpMulti ) ) ) |
| { |
| // InternalEntityGrammar.g:10085:6: ( () ( ( ruleOpMulti ) ) ) |
| // InternalEntityGrammar.g:10086:6: () ( ( ruleOpMulti ) ) |
| { |
| // InternalEntityGrammar.g:10086:6: () |
| // InternalEntityGrammar.g:10087:6: |
| { |
| } |
| |
| // InternalEntityGrammar.g:10088:6: ( ( ruleOpMulti ) ) |
| // InternalEntityGrammar.g:10089:7: ( ruleOpMulti ) |
| { |
| // InternalEntityGrammar.g:10089:7: ( ruleOpMulti ) |
| // InternalEntityGrammar.g:10090:8: ruleOpMulti |
| { |
| pushFollow(FOLLOW_2); |
| ruleOpMulti(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred19_InternalEntityGrammar |
| |
| // $ANTLR start synpred20_InternalEntityGrammar |
| public final void synpred20_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:10320:5: ( ( () 'as' ) ) |
| // InternalEntityGrammar.g:10320:6: ( () 'as' ) |
| { |
| // InternalEntityGrammar.g:10320:6: ( () 'as' ) |
| // InternalEntityGrammar.g:10321:6: () 'as' |
| { |
| // InternalEntityGrammar.g:10321:6: () |
| // InternalEntityGrammar.g:10322:6: |
| { |
| } |
| |
| match(input,144,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred20_InternalEntityGrammar |
| |
| // $ANTLR start synpred21_InternalEntityGrammar |
| public final void synpred21_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:10388:4: ( ( () ( ( ruleOpPostfix ) ) ) ) |
| // InternalEntityGrammar.g:10388:5: ( () ( ( ruleOpPostfix ) ) ) |
| { |
| // InternalEntityGrammar.g:10388:5: ( () ( ( ruleOpPostfix ) ) ) |
| // InternalEntityGrammar.g:10389:5: () ( ( ruleOpPostfix ) ) |
| { |
| // InternalEntityGrammar.g:10389:5: () |
| // InternalEntityGrammar.g:10390:5: |
| { |
| } |
| |
| // InternalEntityGrammar.g:10391:5: ( ( ruleOpPostfix ) ) |
| // InternalEntityGrammar.g:10392:6: ( ruleOpPostfix ) |
| { |
| // InternalEntityGrammar.g:10392:6: ( ruleOpPostfix ) |
| // InternalEntityGrammar.g:10393:7: ruleOpPostfix |
| { |
| pushFollow(FOLLOW_2); |
| ruleOpPostfix(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred21_InternalEntityGrammar |
| |
| // $ANTLR start synpred22_InternalEntityGrammar |
| public final void synpred22_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:10484:6: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) |
| // InternalEntityGrammar.g:10484:7: ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) |
| { |
| // InternalEntityGrammar.g:10484:7: ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) |
| // InternalEntityGrammar.g:10485:7: () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign |
| { |
| // InternalEntityGrammar.g:10485:7: () |
| // InternalEntityGrammar.g:10486:7: |
| { |
| } |
| |
| // InternalEntityGrammar.g:10487:7: ( '.' | ( ( '::' ) ) ) |
| int alt308=2; |
| int LA308_0 = input.LA(1); |
| |
| if ( (LA308_0==67) ) { |
| alt308=1; |
| } |
| else if ( (LA308_0==147) ) { |
| alt308=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return ;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 308, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt308) { |
| case 1 : |
| // InternalEntityGrammar.g:10488:8: '.' |
| { |
| match(input,67,FOLLOW_140); if (state.failed) return ; |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10490:8: ( ( '::' ) ) |
| { |
| // InternalEntityGrammar.g:10490:8: ( ( '::' ) ) |
| // InternalEntityGrammar.g:10491:9: ( '::' ) |
| { |
| // InternalEntityGrammar.g:10491:9: ( '::' ) |
| // InternalEntityGrammar.g:10492:10: '::' |
| { |
| match(input,147,FOLLOW_140); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:10496:7: ( ( ruleFeatureCallID ) ) |
| // InternalEntityGrammar.g:10497:8: ( ruleFeatureCallID ) |
| { |
| // InternalEntityGrammar.g:10497:8: ( ruleFeatureCallID ) |
| // InternalEntityGrammar.g:10498:9: ruleFeatureCallID |
| { |
| pushFollow(FOLLOW_96); |
| ruleFeatureCallID(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| pushFollow(FOLLOW_2); |
| ruleOpSingleAssign(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred22_InternalEntityGrammar |
| |
| // $ANTLR start synpred23_InternalEntityGrammar |
| public final void synpred23_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:10581:6: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) ) |
| // InternalEntityGrammar.g:10581:7: ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) |
| { |
| // InternalEntityGrammar.g:10581:7: ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) |
| // InternalEntityGrammar.g:10582:7: () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) |
| { |
| // InternalEntityGrammar.g:10582:7: () |
| // InternalEntityGrammar.g:10583:7: |
| { |
| } |
| |
| // InternalEntityGrammar.g:10584:7: ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) |
| int alt309=3; |
| switch ( input.LA(1) ) { |
| case 67: |
| { |
| alt309=1; |
| } |
| break; |
| case 148: |
| { |
| alt309=2; |
| } |
| break; |
| case 147: |
| { |
| alt309=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return ;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 309, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt309) { |
| case 1 : |
| // InternalEntityGrammar.g:10585:8: '.' |
| { |
| match(input,67,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| break; |
| case 2 : |
| // InternalEntityGrammar.g:10587:8: ( ( '?.' ) ) |
| { |
| // InternalEntityGrammar.g:10587:8: ( ( '?.' ) ) |
| // InternalEntityGrammar.g:10588:9: ( '?.' ) |
| { |
| // InternalEntityGrammar.g:10588:9: ( '?.' ) |
| // InternalEntityGrammar.g:10589:10: '?.' |
| { |
| match(input,148,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // InternalEntityGrammar.g:10593:8: ( ( '::' ) ) |
| { |
| // InternalEntityGrammar.g:10593:8: ( ( '::' ) ) |
| // InternalEntityGrammar.g:10594:9: ( '::' ) |
| { |
| // InternalEntityGrammar.g:10594:9: ( '::' ) |
| // InternalEntityGrammar.g:10595:10: '::' |
| { |
| match(input,147,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred23_InternalEntityGrammar |
| |
| // $ANTLR start synpred24_InternalEntityGrammar |
| public final void synpred24_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:10719:7: ( ( '(' ) ) |
| // InternalEntityGrammar.g:10719:8: ( '(' ) |
| { |
| // InternalEntityGrammar.g:10719:8: ( '(' ) |
| // InternalEntityGrammar.g:10720:8: '(' |
| { |
| match(input,16,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred24_InternalEntityGrammar |
| |
| // $ANTLR start synpred25_InternalEntityGrammar |
| public final void synpred25_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:10738:8: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) ) |
| // InternalEntityGrammar.g:10738:9: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) |
| { |
| // InternalEntityGrammar.g:10738:9: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) |
| // InternalEntityGrammar.g:10739:9: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) |
| { |
| // InternalEntityGrammar.g:10739:9: () |
| // InternalEntityGrammar.g:10740:9: |
| { |
| } |
| |
| // InternalEntityGrammar.g:10741:9: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? |
| int alt311=2; |
| int LA311_0 = input.LA(1); |
| |
| if ( (LA311_0==RULE_ID||LA311_0==16||LA311_0==137) ) { |
| alt311=1; |
| } |
| switch (alt311) { |
| case 1 : |
| // InternalEntityGrammar.g:10742:10: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* |
| { |
| // InternalEntityGrammar.g:10742:10: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:10743:11: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:10743:11: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:10744:12: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_150); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:10747:10: ( ',' ( ( ruleJvmFormalParameter ) ) )* |
| loop310: |
| do { |
| int alt310=2; |
| int LA310_0 = input.LA(1); |
| |
| if ( (LA310_0==30) ) { |
| alt310=1; |
| } |
| |
| |
| switch (alt310) { |
| case 1 : |
| // InternalEntityGrammar.g:10748:11: ',' ( ( ruleJvmFormalParameter ) ) |
| { |
| match(input,30,FOLLOW_66); if (state.failed) return ; |
| // InternalEntityGrammar.g:10749:11: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:10750:12: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:10750:12: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:10751:13: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_150); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop310; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:10756:9: ( ( '|' ) ) |
| // InternalEntityGrammar.g:10757:10: ( '|' ) |
| { |
| // InternalEntityGrammar.g:10757:10: ( '|' ) |
| // InternalEntityGrammar.g:10758:11: '|' |
| { |
| match(input,149,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred25_InternalEntityGrammar |
| |
| // $ANTLR start synpred26_InternalEntityGrammar |
| public final void synpred26_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:10835:6: ( ( () '[' ) ) |
| // InternalEntityGrammar.g:10835:7: ( () '[' ) |
| { |
| // InternalEntityGrammar.g:10835:7: ( () '[' ) |
| // InternalEntityGrammar.g:10836:7: () '[' |
| { |
| // InternalEntityGrammar.g:10836:7: () |
| // InternalEntityGrammar.g:10837:7: |
| { |
| } |
| |
| match(input,38,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred26_InternalEntityGrammar |
| |
| // $ANTLR start synpred27_InternalEntityGrammar |
| public final void synpred27_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:10908:4: ( ( () 'synchronized' '(' ) ) |
| // InternalEntityGrammar.g:10908:5: ( () 'synchronized' '(' ) |
| { |
| // InternalEntityGrammar.g:10908:5: ( () 'synchronized' '(' ) |
| // InternalEntityGrammar.g:10909:5: () 'synchronized' '(' |
| { |
| // InternalEntityGrammar.g:10909:5: () |
| // InternalEntityGrammar.g:10910:5: |
| { |
| } |
| |
| match(input,170,FOLLOW_47); if (state.failed) return ; |
| match(input,16,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred27_InternalEntityGrammar |
| |
| // $ANTLR start synpred28_InternalEntityGrammar |
| public final void synpred28_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:10953:4: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) ) |
| // InternalEntityGrammar.g:10953:5: ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) |
| { |
| // InternalEntityGrammar.g:10953:5: ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) |
| // InternalEntityGrammar.g:10954:5: () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' |
| { |
| // InternalEntityGrammar.g:10954:5: () |
| // InternalEntityGrammar.g:10955:5: |
| { |
| } |
| |
| match(input,156,FOLLOW_47); if (state.failed) return ; |
| match(input,16,FOLLOW_66); if (state.failed) return ; |
| // InternalEntityGrammar.g:10958:5: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:10959:6: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:10959:6: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:10960:7: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_156); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| match(input,153,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred28_InternalEntityGrammar |
| |
| // $ANTLR start synpred29_InternalEntityGrammar |
| public final void synpred29_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:11067:4: ( ( () '[' ) ) |
| // InternalEntityGrammar.g:11067:5: ( () '[' ) |
| { |
| // InternalEntityGrammar.g:11067:5: ( () '[' ) |
| // InternalEntityGrammar.g:11068:5: () '[' |
| { |
| // InternalEntityGrammar.g:11068:5: () |
| // InternalEntityGrammar.g:11069:5: |
| { |
| } |
| |
| match(input,38,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred29_InternalEntityGrammar |
| |
| // $ANTLR start synpred31_InternalEntityGrammar |
| public final void synpred31_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:11372:4: ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) ) |
| // InternalEntityGrammar.g:11372:5: ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) |
| { |
| // InternalEntityGrammar.g:11372:5: ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) |
| // InternalEntityGrammar.g:11373:5: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) |
| { |
| // InternalEntityGrammar.g:11373:5: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? |
| int alt313=2; |
| int LA313_0 = input.LA(1); |
| |
| if ( (LA313_0==RULE_ID||LA313_0==16||LA313_0==137) ) { |
| alt313=1; |
| } |
| switch (alt313) { |
| case 1 : |
| // InternalEntityGrammar.g:11374:6: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* |
| { |
| // InternalEntityGrammar.g:11374:6: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:11375:7: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:11375:7: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:11376:8: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_150); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:11379:6: ( ',' ( ( ruleJvmFormalParameter ) ) )* |
| loop312: |
| do { |
| int alt312=2; |
| int LA312_0 = input.LA(1); |
| |
| if ( (LA312_0==30) ) { |
| alt312=1; |
| } |
| |
| |
| switch (alt312) { |
| case 1 : |
| // InternalEntityGrammar.g:11380:7: ',' ( ( ruleJvmFormalParameter ) ) |
| { |
| match(input,30,FOLLOW_66); if (state.failed) return ; |
| // InternalEntityGrammar.g:11381:7: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:11382:8: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:11382:8: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:11383:9: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_150); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop312; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:11388:5: ( ( '|' ) ) |
| // InternalEntityGrammar.g:11389:6: ( '|' ) |
| { |
| // InternalEntityGrammar.g:11389:6: ( '|' ) |
| // InternalEntityGrammar.g:11390:7: '|' |
| { |
| match(input,149,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred31_InternalEntityGrammar |
| |
| // $ANTLR start synpred33_InternalEntityGrammar |
| public final void synpred33_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:11781:5: ( 'else' ) |
| // InternalEntityGrammar.g:11781:6: 'else' |
| { |
| match(input,151,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred33_InternalEntityGrammar |
| |
| // $ANTLR start synpred34_InternalEntityGrammar |
| public final void synpred34_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:11840:6: ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) ) |
| // InternalEntityGrammar.g:11840:7: ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) |
| { |
| // InternalEntityGrammar.g:11840:7: ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) |
| // InternalEntityGrammar.g:11841:7: '(' ( ( ruleJvmFormalParameter ) ) ':' |
| { |
| match(input,16,FOLLOW_66); if (state.failed) return ; |
| // InternalEntityGrammar.g:11842:7: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:11843:8: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:11843:8: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:11844:9: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_156); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| match(input,153,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred34_InternalEntityGrammar |
| |
| // $ANTLR start synpred35_InternalEntityGrammar |
| public final void synpred35_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:11907:6: ( ( ( ( ruleJvmFormalParameter ) ) ':' ) ) |
| // InternalEntityGrammar.g:11907:7: ( ( ( ruleJvmFormalParameter ) ) ':' ) |
| { |
| // InternalEntityGrammar.g:11907:7: ( ( ( ruleJvmFormalParameter ) ) ':' ) |
| // InternalEntityGrammar.g:11908:7: ( ( ruleJvmFormalParameter ) ) ':' |
| { |
| // InternalEntityGrammar.g:11908:7: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:11909:8: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:11909:8: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:11910:9: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_156); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| match(input,153,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred35_InternalEntityGrammar |
| |
| // $ANTLR start synpred37_InternalEntityGrammar |
| public final void synpred37_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:12725:5: ( ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) ) |
| // InternalEntityGrammar.g:12725:6: ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) |
| { |
| // InternalEntityGrammar.g:12725:6: ( ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) ) |
| // InternalEntityGrammar.g:12726:6: ( ( ruleJvmTypeReference ) ) ( ( ruleValidID ) ) |
| { |
| // InternalEntityGrammar.g:12726:6: ( ( ruleJvmTypeReference ) ) |
| // InternalEntityGrammar.g:12727:7: ( ruleJvmTypeReference ) |
| { |
| // InternalEntityGrammar.g:12727:7: ( ruleJvmTypeReference ) |
| // InternalEntityGrammar.g:12728:8: ruleJvmTypeReference |
| { |
| pushFollow(FOLLOW_13); |
| ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:12731:6: ( ( ruleValidID ) ) |
| // InternalEntityGrammar.g:12732:7: ( ruleValidID ) |
| { |
| // InternalEntityGrammar.g:12732:7: ( ruleValidID ) |
| // InternalEntityGrammar.g:12733:8: ruleValidID |
| { |
| pushFollow(FOLLOW_2); |
| ruleValidID(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred37_InternalEntityGrammar |
| |
| // $ANTLR start synpred38_InternalEntityGrammar |
| public final void synpred38_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:13037:5: ( ( '(' ) ) |
| // InternalEntityGrammar.g:13037:6: ( '(' ) |
| { |
| // InternalEntityGrammar.g:13037:6: ( '(' ) |
| // InternalEntityGrammar.g:13038:6: '(' |
| { |
| match(input,16,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred38_InternalEntityGrammar |
| |
| // $ANTLR start synpred39_InternalEntityGrammar |
| public final void synpred39_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:13056:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) ) |
| // InternalEntityGrammar.g:13056:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) |
| { |
| // InternalEntityGrammar.g:13056:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) |
| // InternalEntityGrammar.g:13057:7: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) |
| { |
| // InternalEntityGrammar.g:13057:7: () |
| // InternalEntityGrammar.g:13058:7: |
| { |
| } |
| |
| // InternalEntityGrammar.g:13059:7: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? |
| int alt317=2; |
| int LA317_0 = input.LA(1); |
| |
| if ( (LA317_0==RULE_ID||LA317_0==16||LA317_0==137) ) { |
| alt317=1; |
| } |
| switch (alt317) { |
| case 1 : |
| // InternalEntityGrammar.g:13060:8: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* |
| { |
| // InternalEntityGrammar.g:13060:8: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:13061:9: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:13061:9: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:13062:10: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_150); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13065:8: ( ',' ( ( ruleJvmFormalParameter ) ) )* |
| loop316: |
| do { |
| int alt316=2; |
| int LA316_0 = input.LA(1); |
| |
| if ( (LA316_0==30) ) { |
| alt316=1; |
| } |
| |
| |
| switch (alt316) { |
| case 1 : |
| // InternalEntityGrammar.g:13066:9: ',' ( ( ruleJvmFormalParameter ) ) |
| { |
| match(input,30,FOLLOW_66); if (state.failed) return ; |
| // InternalEntityGrammar.g:13067:9: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:13068:10: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:13068:10: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:13069:11: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_150); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop316; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:13074:7: ( ( '|' ) ) |
| // InternalEntityGrammar.g:13075:8: ( '|' ) |
| { |
| // InternalEntityGrammar.g:13075:8: ( '|' ) |
| // InternalEntityGrammar.g:13076:9: '|' |
| { |
| match(input,149,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred39_InternalEntityGrammar |
| |
| // $ANTLR start synpred40_InternalEntityGrammar |
| public final void synpred40_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:13153:4: ( ( () '[' ) ) |
| // InternalEntityGrammar.g:13153:5: ( () '[' ) |
| { |
| // InternalEntityGrammar.g:13153:5: ( () '[' ) |
| // InternalEntityGrammar.g:13154:5: () '[' |
| { |
| // InternalEntityGrammar.g:13154:5: () |
| // InternalEntityGrammar.g:13155:5: |
| { |
| } |
| |
| match(input,38,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred40_InternalEntityGrammar |
| |
| // $ANTLR start synpred41_InternalEntityGrammar |
| public final void synpred41_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:13313:5: ( '<' ) |
| // InternalEntityGrammar.g:13313:6: '<' |
| { |
| match(input,125,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred41_InternalEntityGrammar |
| |
| // $ANTLR start synpred42_InternalEntityGrammar |
| public final void synpred42_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:13370:5: ( ( '(' ) ) |
| // InternalEntityGrammar.g:13370:6: ( '(' ) |
| { |
| // InternalEntityGrammar.g:13370:6: ( '(' ) |
| // InternalEntityGrammar.g:13371:6: '(' |
| { |
| match(input,16,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred42_InternalEntityGrammar |
| |
| // $ANTLR start synpred43_InternalEntityGrammar |
| public final void synpred43_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:13389:6: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) ) |
| // InternalEntityGrammar.g:13389:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) |
| { |
| // InternalEntityGrammar.g:13389:7: ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) |
| // InternalEntityGrammar.g:13390:7: () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) |
| { |
| // InternalEntityGrammar.g:13390:7: () |
| // InternalEntityGrammar.g:13391:7: |
| { |
| } |
| |
| // InternalEntityGrammar.g:13392:7: ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? |
| int alt319=2; |
| int LA319_0 = input.LA(1); |
| |
| if ( (LA319_0==RULE_ID||LA319_0==16||LA319_0==137) ) { |
| alt319=1; |
| } |
| switch (alt319) { |
| case 1 : |
| // InternalEntityGrammar.g:13393:8: ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* |
| { |
| // InternalEntityGrammar.g:13393:8: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:13394:9: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:13394:9: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:13395:10: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_150); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| // InternalEntityGrammar.g:13398:8: ( ',' ( ( ruleJvmFormalParameter ) ) )* |
| loop318: |
| do { |
| int alt318=2; |
| int LA318_0 = input.LA(1); |
| |
| if ( (LA318_0==30) ) { |
| alt318=1; |
| } |
| |
| |
| switch (alt318) { |
| case 1 : |
| // InternalEntityGrammar.g:13399:9: ',' ( ( ruleJvmFormalParameter ) ) |
| { |
| match(input,30,FOLLOW_66); if (state.failed) return ; |
| // InternalEntityGrammar.g:13400:9: ( ( ruleJvmFormalParameter ) ) |
| // InternalEntityGrammar.g:13401:10: ( ruleJvmFormalParameter ) |
| { |
| // InternalEntityGrammar.g:13401:10: ( ruleJvmFormalParameter ) |
| // InternalEntityGrammar.g:13402:11: ruleJvmFormalParameter |
| { |
| pushFollow(FOLLOW_150); |
| ruleJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop318; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| // InternalEntityGrammar.g:13407:7: ( ( '|' ) ) |
| // InternalEntityGrammar.g:13408:8: ( '|' ) |
| { |
| // InternalEntityGrammar.g:13408:8: ( '|' ) |
| // InternalEntityGrammar.g:13409:9: '|' |
| { |
| match(input,149,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred43_InternalEntityGrammar |
| |
| // $ANTLR start synpred44_InternalEntityGrammar |
| public final void synpred44_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:13486:4: ( ( () '[' ) ) |
| // InternalEntityGrammar.g:13486:5: ( () '[' ) |
| { |
| // InternalEntityGrammar.g:13486:5: ( () '[' ) |
| // InternalEntityGrammar.g:13487:5: () '[' |
| { |
| // InternalEntityGrammar.g:13487:5: () |
| // InternalEntityGrammar.g:13488:5: |
| { |
| } |
| |
| match(input,38,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred44_InternalEntityGrammar |
| |
| // $ANTLR start synpred45_InternalEntityGrammar |
| public final void synpred45_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:13829:4: ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING ) |
| // InternalEntityGrammar.g: |
| { |
| if ( (input.LA(1)>=RULE_STRING && input.LA(1)<=RULE_DECIMAL)||input.LA(1)==16||(input.LA(1)>=20 && input.LA(1)<=21)||input.LA(1)==38||(input.LA(1)>=110 && input.LA(1)<=114)||input.LA(1)==119||input.LA(1)==125||input.LA(1)==143||input.LA(1)==150||input.LA(1)==152||(input.LA(1)>=156 && input.LA(1)<=158)||(input.LA(1)>=160 && input.LA(1)<=168)||input.LA(1)==170 ) { |
| input.consume(); |
| state.errorRecovery=false;state.failed=false; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return ;} |
| MismatchedSetException mse = new MismatchedSetException(null,input); |
| throw mse; |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred45_InternalEntityGrammar |
| |
| // $ANTLR start synpred46_InternalEntityGrammar |
| public final void synpred46_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:13900:6: ( 'catch' ) |
| // InternalEntityGrammar.g:13900:7: 'catch' |
| { |
| match(input,171,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred46_InternalEntityGrammar |
| |
| // $ANTLR start synpred47_InternalEntityGrammar |
| public final void synpred47_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:13921:7: ( 'finally' ) |
| // InternalEntityGrammar.g:13921:8: 'finally' |
| { |
| match(input,169,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred47_InternalEntityGrammar |
| |
| // $ANTLR start synpred50_InternalEntityGrammar |
| public final void synpred50_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:14165:5: ( '.' ) |
| // InternalEntityGrammar.g:14165:6: '.' |
| { |
| match(input,67,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred50_InternalEntityGrammar |
| |
| // $ANTLR start synpred51_InternalEntityGrammar |
| public final void synpred51_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:14291:5: ( ( () ruleArrayBrackets ) ) |
| // InternalEntityGrammar.g:14291:6: ( () ruleArrayBrackets ) |
| { |
| // InternalEntityGrammar.g:14291:6: ( () ruleArrayBrackets ) |
| // InternalEntityGrammar.g:14292:6: () ruleArrayBrackets |
| { |
| // InternalEntityGrammar.g:14292:6: () |
| // InternalEntityGrammar.g:14293:6: |
| { |
| } |
| |
| pushFollow(FOLLOW_2); |
| ruleArrayBrackets(); |
| |
| state._fsp--; |
| if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred51_InternalEntityGrammar |
| |
| // $ANTLR start synpred52_InternalEntityGrammar |
| public final void synpred52_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:14488:5: ( '<' ) |
| // InternalEntityGrammar.g:14488:6: '<' |
| { |
| match(input,125,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred52_InternalEntityGrammar |
| |
| // $ANTLR start synpred53_InternalEntityGrammar |
| public final void synpred53_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:14544:6: ( ( () '.' ) ) |
| // InternalEntityGrammar.g:14544:7: ( () '.' ) |
| { |
| // InternalEntityGrammar.g:14544:7: ( () '.' ) |
| // InternalEntityGrammar.g:14545:7: () '.' |
| { |
| // InternalEntityGrammar.g:14545:7: () |
| // InternalEntityGrammar.g:14546:7: |
| { |
| } |
| |
| match(input,67,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| |
| |
| } |
| } |
| // $ANTLR end synpred53_InternalEntityGrammar |
| |
| // $ANTLR start synpred54_InternalEntityGrammar |
| public final void synpred54_InternalEntityGrammar_fragment() throws RecognitionException { |
| // InternalEntityGrammar.g:14582:7: ( '<' ) |
| // InternalEntityGrammar.g:14582:8: '<' |
| { |
| match(input,125,FOLLOW_2); if (state.failed) return ; |
| |
| } |
| } |
| // $ANTLR end synpred54_InternalEntityGrammar |
| |
| // Delegated rules |
| |
| public final boolean synpred33_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred33_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred29_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred29_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred17_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred17_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred2_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred2_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred45_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred45_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred25_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred25_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred50_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred50_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred37_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred37_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred42_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred42_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred12_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred12_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred26_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred26_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred34_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred34_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred40_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred40_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred14_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred14_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred20_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred20_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred3_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred3_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred54_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred54_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred53_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred53_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred46_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred46_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred7_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred7_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred13_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred13_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred21_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred21_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred18_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred18_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred41_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred41_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred38_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred38_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred27_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred27_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred19_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred19_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred31_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred31_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred23_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred23_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred43_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred43_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred4_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred4_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred35_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred35_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred15_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred15_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred10_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred10_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred8_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred8_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred39_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred39_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred47_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred47_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred52_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred52_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred22_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred22_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred24_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred24_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred44_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred44_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred16_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred16_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred9_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred9_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred11_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred11_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred51_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred51_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| public final boolean synpred28_InternalEntityGrammar() { |
| state.backtracking++; |
| int start = input.mark(); |
| try { |
| synpred28_InternalEntityGrammar_fragment(); // can never throw exception |
| } catch (RecognitionException re) { |
| System.err.println("impossible: "+re); |
| } |
| boolean success = !state.failed; |
| input.rewind(start); |
| state.backtracking--; |
| state.failed=false; |
| return success; |
| } |
| |
| |
| protected DFA179 dfa179 = new DFA179(this); |
| protected DFA182 dfa182 = new DFA182(this); |
| protected DFA188 dfa188 = new DFA188(this); |
| protected DFA191 dfa191 = new DFA191(this); |
| protected DFA193 dfa193 = new DFA193(this); |
| protected DFA203 dfa203 = new DFA203(this); |
| protected DFA206 dfa206 = new DFA206(this); |
| protected DFA222 dfa222 = new DFA222(this); |
| protected DFA221 dfa221 = new DFA221(this); |
| protected DFA223 dfa223 = new DFA223(this); |
| protected DFA225 dfa225 = new DFA225(this); |
| protected DFA234 dfa234 = new DFA234(this); |
| protected DFA241 dfa241 = new DFA241(this); |
| protected DFA240 dfa240 = new DFA240(this); |
| protected DFA263 dfa263 = new DFA263(this); |
| protected DFA262 dfa262 = new DFA262(this); |
| protected DFA264 dfa264 = new DFA264(this); |
| protected DFA268 dfa268 = new DFA268(this); |
| protected DFA271 dfa271 = new DFA271(this); |
| protected DFA270 dfa270 = new DFA270(this); |
| protected DFA272 dfa272 = new DFA272(this); |
| protected DFA275 dfa275 = new DFA275(this); |
| protected DFA293 dfa293 = new DFA293(this); |
| protected DFA291 dfa291 = new DFA291(this); |
| static final String dfa_1s = "\10\uffff"; |
| static final String dfa_2s = "\2\uffff\1\5\3\uffff\1\5\1\uffff"; |
| static final String dfa_3s = "\1\5\1\uffff\1\103\1\uffff\1\5\1\uffff\1\103\1\uffff"; |
| static final String dfa_4s = "\1\164\1\uffff\1\165\1\uffff\1\163\1\uffff\1\165\1\uffff"; |
| static final String dfa_5s = "\1\uffff\1\1\1\uffff\1\4\1\uffff\1\2\1\uffff\1\3"; |
| static final String dfa_6s = "\10\uffff}>"; |
| static final String[] dfa_7s = { |
| "\1\2\153\uffff\1\1\2\uffff\1\3", |
| "", |
| "\1\4\5\uffff\1\5\46\uffff\1\5\4\uffff\1\5", |
| "", |
| "\1\6\155\uffff\1\7", |
| "", |
| "\1\4\5\uffff\1\5\46\uffff\1\5\4\uffff\1\5", |
| "" |
| }; |
| |
| static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s); |
| static final short[] dfa_2 = DFA.unpackEncodedString(dfa_2s); |
| static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s); |
| static final char[] dfa_4 = DFA.unpackEncodedStringToUnsignedChars(dfa_4s); |
| static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s); |
| static final short[] dfa_6 = DFA.unpackEncodedString(dfa_6s); |
| static final short[][] dfa_7 = unpackEncodedStringArray(dfa_7s); |
| |
| class DFA179 extends DFA { |
| |
| public DFA179(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 179; |
| this.eot = dfa_1; |
| this.eof = dfa_2; |
| this.min = dfa_3; |
| this.max = dfa_4; |
| this.accept = dfa_5; |
| this.special = dfa_6; |
| this.transition = dfa_7; |
| } |
| public String getDescription() { |
| return "8258:3: ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) | ( ( (lv_fqnImport_9_0= 'ns' ) ) ( (lv_importedFullyQualifiedName_10_0= ruleQualifiedName ) ) ) )"; |
| } |
| } |
| static final String dfa_8s = "\44\uffff"; |
| static final String dfa_9s = "\1\4\1\0\42\uffff"; |
| static final String dfa_10s = "\1\u00aa\1\0\42\uffff"; |
| static final String dfa_11s = "\2\uffff\1\2\37\uffff\1\3\1\1"; |
| static final String dfa_12s = "\1\uffff\1\0\42\uffff}>"; |
| static final String[] dfa_13s = { |
| "\1\2\1\1\3\2\7\uffff\1\2\1\42\2\uffff\2\2\20\uffff\1\2\107\uffff\5\2\3\uffff\2\2\5\uffff\1\2\21\uffff\1\2\6\uffff\1\2\1\uffff\1\2\3\uffff\3\2\1\uffff\11\2\1\uffff\1\2", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] dfa_8 = DFA.unpackEncodedString(dfa_8s); |
| static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s); |
| static final char[] dfa_10 = DFA.unpackEncodedStringToUnsignedChars(dfa_10s); |
| static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s); |
| static final short[] dfa_12 = DFA.unpackEncodedString(dfa_12s); |
| static final short[][] dfa_13 = unpackEncodedStringArray(dfa_13s); |
| |
| class DFA182 extends DFA { |
| |
| public DFA182(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 182; |
| this.eot = dfa_8; |
| this.eof = dfa_8; |
| this.min = dfa_9; |
| this.max = dfa_10; |
| this.accept = dfa_11; |
| this.special = dfa_12; |
| this.transition = dfa_13; |
| } |
| public String getDescription() { |
| return "8475:4: ( ( ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_4_0= ruleXAnnotationElementValuePair ) ) (otherlv_5= ',' ( ( ( ( ( ruleValidID ) ) '=' ) )=> (lv_elementValuePairs_6_0= ruleXAnnotationElementValuePair ) ) )* ) | ( (lv_value_7_0= ruleXAnnotationElementValueOrCommaList ) ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA182_1 = input.LA(1); |
| |
| |
| int index182_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred4_InternalEntityGrammar()) ) {s = 35;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index182_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 182, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String dfa_14s = "\43\uffff"; |
| static final String dfa_15s = "\1\4\1\0\41\uffff"; |
| static final String dfa_16s = "\1\u00aa\1\0\41\uffff"; |
| static final String dfa_17s = "\2\uffff\1\2\37\uffff\1\1"; |
| static final String dfa_18s = "\1\uffff\1\0\41\uffff}>"; |
| static final String[] dfa_19s = { |
| "\5\2\7\uffff\1\2\3\uffff\2\2\20\uffff\1\2\107\uffff\5\2\3\uffff\1\2\1\1\5\uffff\1\2\21\uffff\1\2\6\uffff\1\2\1\uffff\1\2\3\uffff\3\2\1\uffff\11\2\1\uffff\1\2", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] dfa_14 = DFA.unpackEncodedString(dfa_14s); |
| static final char[] dfa_15 = DFA.unpackEncodedStringToUnsignedChars(dfa_15s); |
| static final char[] dfa_16 = DFA.unpackEncodedStringToUnsignedChars(dfa_16s); |
| static final short[] dfa_17 = DFA.unpackEncodedString(dfa_17s); |
| static final short[] dfa_18 = DFA.unpackEncodedString(dfa_18s); |
| static final short[][] dfa_19 = unpackEncodedStringArray(dfa_19s); |
| |
| class DFA188 extends DFA { |
| |
| public DFA188(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 188; |
| this.eot = dfa_14; |
| this.eof = dfa_14; |
| this.min = dfa_15; |
| this.max = dfa_16; |
| this.accept = dfa_17; |
| this.special = dfa_18; |
| this.transition = dfa_19; |
| } |
| public String getDescription() { |
| return "8655:2: ( ( ( ( ( () '#' '[' ) )=> ( () 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 int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA188_1 = input.LA(1); |
| |
| |
| int index188_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred7_InternalEntityGrammar()) ) {s = 34;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index188_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 188, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| class DFA191 extends DFA { |
| |
| public DFA191(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 191; |
| this.eot = dfa_14; |
| this.eof = dfa_14; |
| this.min = dfa_15; |
| this.max = dfa_16; |
| this.accept = dfa_17; |
| this.special = dfa_18; |
| this.transition = dfa_19; |
| } |
| public String getDescription() { |
| return "8797:2: ( ( ( ( ( () '#' '[' ) )=> ( () otherlv_1= '#' otherlv_2= '[' ) ) ( ( (lv_elements_3_0= ruleXAnnotationOrExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXAnnotationOrExpression ) ) )* )? otherlv_6= ']' ) | this_XAnnotationOrExpression_7= ruleXAnnotationOrExpression )"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA191_1 = input.LA(1); |
| |
| |
| int index191_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred8_InternalEntityGrammar()) ) {s = 34;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index191_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 191, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String dfa_20s = "\12\uffff"; |
| static final String dfa_21s = "\1\10\11\uffff"; |
| static final String dfa_22s = "\1\4\7\0\2\uffff"; |
| static final String dfa_23s = "\1\u00ab\7\0\2\uffff"; |
| static final String dfa_24s = "\10\uffff\1\2\1\1"; |
| static final String dfa_25s = "\1\uffff\1\0\1\1\1\2\1\3\1\4\1\5\1\6\2\uffff}>"; |
| static final String[] dfa_26s = { |
| "\5\10\7\uffff\2\10\2\uffff\2\10\2\uffff\1\10\3\uffff\3\10\2\uffff\1\10\4\uffff\2\10\10\uffff\1\10\1\uffff\7\10\6\uffff\1\10\2\uffff\2\10\51\uffff\7\10\1\uffff\3\10\1\1\1\2\1\3\1\4\1\5\1\6\1\7\26\10\1\uffff\26\10", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "", |
| "" |
| }; |
| |
| static final short[] dfa_20 = DFA.unpackEncodedString(dfa_20s); |
| static final short[] dfa_21 = DFA.unpackEncodedString(dfa_21s); |
| static final char[] dfa_22 = DFA.unpackEncodedStringToUnsignedChars(dfa_22s); |
| static final char[] dfa_23 = DFA.unpackEncodedStringToUnsignedChars(dfa_23s); |
| static final short[] dfa_24 = DFA.unpackEncodedString(dfa_24s); |
| static final short[] dfa_25 = DFA.unpackEncodedString(dfa_25s); |
| static final short[][] dfa_26 = unpackEncodedStringArray(dfa_26s); |
| |
| class DFA193 extends DFA { |
| |
| public DFA193(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 193; |
| this.eot = dfa_20; |
| this.eof = dfa_21; |
| this.min = dfa_22; |
| this.max = dfa_23; |
| this.accept = dfa_24; |
| this.special = dfa_25; |
| this.transition = dfa_26; |
| } |
| public String getDescription() { |
| return "9026:4: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA193_1 = input.LA(1); |
| |
| |
| int index193_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred9_InternalEntityGrammar()) ) {s = 9;} |
| |
| else if ( (true) ) {s = 8;} |
| |
| |
| input.seek(index193_1); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA193_2 = input.LA(1); |
| |
| |
| int index193_2 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred9_InternalEntityGrammar()) ) {s = 9;} |
| |
| else if ( (true) ) {s = 8;} |
| |
| |
| input.seek(index193_2); |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA193_3 = input.LA(1); |
| |
| |
| int index193_3 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred9_InternalEntityGrammar()) ) {s = 9;} |
| |
| else if ( (true) ) {s = 8;} |
| |
| |
| input.seek(index193_3); |
| if ( s>=0 ) return s; |
| break; |
| case 3 : |
| int LA193_4 = input.LA(1); |
| |
| |
| int index193_4 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred9_InternalEntityGrammar()) ) {s = 9;} |
| |
| else if ( (true) ) {s = 8;} |
| |
| |
| input.seek(index193_4); |
| if ( s>=0 ) return s; |
| break; |
| case 4 : |
| int LA193_5 = input.LA(1); |
| |
| |
| int index193_5 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred9_InternalEntityGrammar()) ) {s = 9;} |
| |
| else if ( (true) ) {s = 8;} |
| |
| |
| input.seek(index193_5); |
| if ( s>=0 ) return s; |
| break; |
| case 5 : |
| int LA193_6 = input.LA(1); |
| |
| |
| int index193_6 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred9_InternalEntityGrammar()) ) {s = 9;} |
| |
| else if ( (true) ) {s = 8;} |
| |
| |
| input.seek(index193_6); |
| if ( s>=0 ) return s; |
| break; |
| case 6 : |
| int LA193_7 = input.LA(1); |
| |
| |
| int index193_7 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred9_InternalEntityGrammar()) ) {s = 9;} |
| |
| else if ( (true) ) {s = 8;} |
| |
| |
| input.seek(index193_7); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 193, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String dfa_27s = "\13\uffff"; |
| static final String dfa_28s = "\1\1\12\uffff"; |
| static final String dfa_29s = "\1\4\1\uffff\10\0\1\uffff"; |
| static final String dfa_30s = "\1\u00ab\1\uffff\10\0\1\uffff"; |
| static final String dfa_31s = "\1\uffff\1\2\10\uffff\1\1"; |
| static final String dfa_32s = "\2\uffff\1\0\1\3\1\4\1\5\1\6\1\7\1\1\1\2\1\uffff}>"; |
| static final String[] dfa_33s = { |
| "\5\1\7\uffff\2\1\2\uffff\2\1\2\uffff\1\1\3\uffff\3\1\2\uffff\1\1\4\uffff\2\1\10\uffff\1\1\1\uffff\7\1\6\uffff\1\1\2\uffff\2\1\51\uffff\1\6\6\1\1\uffff\10\1\1\2\1\3\10\1\1\4\1\5\1\7\1\10\1\11\11\1\1\uffff\26\1", |
| "", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "" |
| }; |
| |
| static final short[] dfa_27 = DFA.unpackEncodedString(dfa_27s); |
| static final short[] dfa_28 = DFA.unpackEncodedString(dfa_28s); |
| static final char[] dfa_29 = DFA.unpackEncodedStringToUnsignedChars(dfa_29s); |
| static final char[] dfa_30 = DFA.unpackEncodedStringToUnsignedChars(dfa_30s); |
| static final short[] dfa_31 = DFA.unpackEncodedString(dfa_31s); |
| static final short[] dfa_32 = DFA.unpackEncodedString(dfa_32s); |
| static final short[][] dfa_33 = unpackEncodedStringArray(dfa_33s); |
| |
| class DFA203 extends DFA { |
| |
| public DFA203(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 203; |
| this.eot = dfa_27; |
| this.eof = dfa_28; |
| this.min = dfa_29; |
| this.max = dfa_30; |
| this.accept = dfa_31; |
| this.special = dfa_32; |
| this.transition = dfa_33; |
| } |
| public String getDescription() { |
| return "()* loopback of 9740:3: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA203_2 = input.LA(1); |
| |
| |
| int index203_2 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred15_InternalEntityGrammar()) ) {s = 10;} |
| |
| else if ( (true) ) {s = 1;} |
| |
| |
| input.seek(index203_2); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA203_8 = input.LA(1); |
| |
| |
| int index203_8 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred15_InternalEntityGrammar()) ) {s = 10;} |
| |
| else if ( (true) ) {s = 1;} |
| |
| |
| input.seek(index203_8); |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA203_9 = input.LA(1); |
| |
| |
| int index203_9 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred15_InternalEntityGrammar()) ) {s = 10;} |
| |
| else if ( (true) ) {s = 1;} |
| |
| |
| input.seek(index203_9); |
| if ( s>=0 ) return s; |
| break; |
| case 3 : |
| int LA203_3 = input.LA(1); |
| |
| |
| int index203_3 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred15_InternalEntityGrammar()) ) {s = 10;} |
| |
| else if ( (true) ) {s = 1;} |
| |
| |
| input.seek(index203_3); |
| if ( s>=0 ) return s; |
| break; |
| case 4 : |
| int LA203_4 = input.LA(1); |
| |
| |
| int index203_4 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred15_InternalEntityGrammar()) ) {s = 10;} |
| |
| else if ( (true) ) {s = 1;} |
| |
| |
| input.seek(index203_4); |
| if ( s>=0 ) return s; |
| break; |
| case 5 : |
| int LA203_5 = input.LA(1); |
| |
| |
| int index203_5 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred15_InternalEntityGrammar()) ) {s = 10;} |
| |
| else if ( (true) ) {s = 1;} |
| |
| |
| input.seek(index203_5); |
| if ( s>=0 ) return s; |
| break; |
| case 6 : |
| int LA203_6 = input.LA(1); |
| |
| |
| int index203_6 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred15_InternalEntityGrammar()) ) {s = 10;} |
| |
| else if ( (true) ) {s = 1;} |
| |
| |
| input.seek(index203_6); |
| if ( s>=0 ) return s; |
| break; |
| case 7 : |
| int LA203_7 = input.LA(1); |
| |
| |
| int index203_7 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred15_InternalEntityGrammar()) ) {s = 10;} |
| |
| else if ( (true) ) {s = 1;} |
| |
| |
| input.seek(index203_7); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 203, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String dfa_34s = "\1\155\2\uffff\1\155\7\uffff"; |
| static final String dfa_35s = "\1\u008b\2\uffff\1\176\7\uffff"; |
| static final String dfa_36s = "\1\uffff\1\1\1\2\1\uffff\1\4\1\5\1\7\1\10\1\11\1\3\1\6"; |
| static final String dfa_37s = "\13\uffff}>"; |
| static final String[] dfa_38s = { |
| "\1\4\17\uffff\1\6\1\3\10\uffff\1\1\1\2\1\5\1\7\1\10", |
| "", |
| "", |
| "\1\11\20\uffff\1\12", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| static final char[] dfa_34 = DFA.unpackEncodedStringToUnsignedChars(dfa_34s); |
| static final char[] dfa_35 = DFA.unpackEncodedStringToUnsignedChars(dfa_35s); |
| static final short[] dfa_36 = DFA.unpackEncodedString(dfa_36s); |
| static final short[] dfa_37 = DFA.unpackEncodedString(dfa_37s); |
| static final short[][] dfa_38 = unpackEncodedStringArray(dfa_38s); |
| |
| class DFA206 extends DFA { |
| |
| public DFA206(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 206; |
| this.eot = dfa_27; |
| this.eof = dfa_27; |
| this.min = dfa_34; |
| this.max = dfa_35; |
| this.accept = dfa_36; |
| this.special = dfa_37; |
| this.transition = dfa_38; |
| } |
| public String getDescription() { |
| return "9816:2: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )"; |
| } |
| } |
| static final String dfa_39s = "\133\uffff"; |
| static final String dfa_40s = "\1\2\132\uffff"; |
| static final String dfa_41s = "\1\4\1\0\131\uffff"; |
| static final String dfa_42s = "\1\u00ab\1\0\131\uffff"; |
| static final String dfa_43s = "\2\uffff\1\2\127\uffff\1\1"; |
| static final String dfa_44s = "\1\uffff\1\0\131\uffff}>"; |
| static final String[] dfa_45s = { |
| "\5\2\7\uffff\1\1\1\2\2\uffff\2\2\2\uffff\1\2\3\uffff\3\2\2\uffff\1\2\4\uffff\2\2\10\uffff\1\2\1\uffff\7\2\6\uffff\1\2\2\uffff\2\2\51\uffff\7\2\1\uffff\40\2\1\uffff\26\2", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] dfa_39 = DFA.unpackEncodedString(dfa_39s); |
| static final short[] dfa_40 = DFA.unpackEncodedString(dfa_40s); |
| static final char[] dfa_41 = DFA.unpackEncodedStringToUnsignedChars(dfa_41s); |
| static final char[] dfa_42 = DFA.unpackEncodedStringToUnsignedChars(dfa_42s); |
| static final short[] dfa_43 = DFA.unpackEncodedString(dfa_43s); |
| static final short[] dfa_44 = DFA.unpackEncodedString(dfa_44s); |
| static final short[][] dfa_45 = unpackEncodedStringArray(dfa_45s); |
| |
| class DFA222 extends DFA { |
| |
| public DFA222(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 222; |
| this.eot = dfa_39; |
| this.eof = dfa_40; |
| this.min = dfa_41; |
| this.max = dfa_42; |
| this.accept = dfa_43; |
| this.special = dfa_44; |
| this.transition = dfa_45; |
| } |
| public String getDescription() { |
| return "10717:5: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA222_1 = input.LA(1); |
| |
| |
| int index222_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred24_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index222_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 222, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String dfa_46s = "\1\4\2\0\41\uffff"; |
| static final String dfa_47s = "\1\u00aa\2\0\41\uffff"; |
| static final String dfa_48s = "\3\uffff\2\1\1\2\35\uffff\1\3"; |
| static final String dfa_49s = "\1\0\1\1\1\2\41\uffff}>"; |
| static final String[] dfa_50s = { |
| "\1\5\1\1\3\5\7\uffff\1\2\1\43\2\uffff\2\5\20\uffff\1\5\107\uffff\5\5\4\uffff\1\5\5\uffff\1\5\13\uffff\1\3\5\uffff\1\5\5\uffff\1\4\1\5\1\uffff\1\5\3\uffff\3\5\1\uffff\11\5\1\uffff\1\5", |
| "\1\uffff", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| static final char[] dfa_46 = DFA.unpackEncodedStringToUnsignedChars(dfa_46s); |
| static final char[] dfa_47 = DFA.unpackEncodedStringToUnsignedChars(dfa_47s); |
| static final short[] dfa_48 = DFA.unpackEncodedString(dfa_48s); |
| static final short[] dfa_49 = DFA.unpackEncodedString(dfa_49s); |
| static final short[][] dfa_50 = unpackEncodedStringArray(dfa_50s); |
| |
| class DFA221 extends DFA { |
| |
| public DFA221(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 221; |
| this.eot = dfa_8; |
| this.eof = dfa_8; |
| this.min = dfa_46; |
| this.max = dfa_47; |
| this.accept = dfa_48; |
| this.special = dfa_49; |
| this.transition = dfa_50; |
| } |
| public String getDescription() { |
| return "10736:6: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA221_0 = input.LA(1); |
| |
| |
| int index221_0 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (LA221_0==RULE_ID) ) {s = 1;} |
| |
| else if ( (LA221_0==16) ) {s = 2;} |
| |
| else if ( (LA221_0==137) && (synpred25_InternalEntityGrammar())) {s = 3;} |
| |
| else if ( (LA221_0==149) && (synpred25_InternalEntityGrammar())) {s = 4;} |
| |
| else if ( (LA221_0==RULE_STRING||(LA221_0>=RULE_INT && LA221_0<=RULE_DECIMAL)||(LA221_0>=20 && LA221_0<=21)||LA221_0==38||(LA221_0>=110 && LA221_0<=114)||LA221_0==119||LA221_0==125||LA221_0==143||LA221_0==150||LA221_0==152||(LA221_0>=156 && LA221_0<=158)||(LA221_0>=160 && LA221_0<=168)||LA221_0==170) ) {s = 5;} |
| |
| else if ( (LA221_0==17) ) {s = 35;} |
| |
| |
| input.seek(index221_0); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA221_1 = input.LA(1); |
| |
| |
| int index221_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred25_InternalEntityGrammar()) ) {s = 4;} |
| |
| else if ( (true) ) {s = 5;} |
| |
| |
| input.seek(index221_1); |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA221_2 = input.LA(1); |
| |
| |
| int index221_2 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred25_InternalEntityGrammar()) ) {s = 4;} |
| |
| else if ( (true) ) {s = 5;} |
| |
| |
| input.seek(index221_2); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 221, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String[] dfa_51s = { |
| "\5\2\7\uffff\2\2\2\uffff\2\2\2\uffff\1\2\3\uffff\3\2\2\uffff\1\2\4\uffff\1\1\1\2\10\uffff\1\2\1\uffff\7\2\6\uffff\1\2\2\uffff\2\2\51\uffff\7\2\1\uffff\40\2\1\uffff\26\2", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| static final short[][] dfa_51 = unpackEncodedStringArray(dfa_51s); |
| |
| class DFA223 extends DFA { |
| |
| public DFA223(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 223; |
| this.eot = dfa_39; |
| this.eof = dfa_40; |
| this.min = dfa_41; |
| this.max = dfa_42; |
| this.accept = dfa_43; |
| this.special = dfa_44; |
| this.transition = dfa_51; |
| } |
| public String getDescription() { |
| return "10834:5: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA223_1 = input.LA(1); |
| |
| |
| int index223_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred26_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index223_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 223, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String dfa_52s = "\40\uffff"; |
| static final String dfa_53s = "\1\4\26\uffff\1\0\10\uffff"; |
| static final String dfa_54s = "\1\u00aa\26\uffff\1\0\10\uffff"; |
| static final String dfa_55s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\6\uffff\1\6\11\uffff\1\7\1\uffff\1\12\1\13\1\14\1\15\1\16\1\17\1\10\1\11"; |
| static final String dfa_56s = "\1\0\26\uffff\1\1\10\uffff}>"; |
| static final String[] dfa_57s = { |
| "\1\14\1\5\3\14\7\uffff\1\35\3\uffff\1\5\1\2\20\uffff\1\14\111\uffff\3\5\4\uffff\1\14\5\uffff\1\5\30\uffff\1\26\1\uffff\1\3\3\uffff\1\27\1\30\1\31\1\uffff\1\5\1\1\4\14\1\32\1\33\1\34\1\uffff\1\4", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] dfa_52 = DFA.unpackEncodedString(dfa_52s); |
| static final char[] dfa_53 = DFA.unpackEncodedStringToUnsignedChars(dfa_53s); |
| static final char[] dfa_54 = DFA.unpackEncodedStringToUnsignedChars(dfa_54s); |
| static final short[] dfa_55 = DFA.unpackEncodedString(dfa_55s); |
| static final short[] dfa_56 = DFA.unpackEncodedString(dfa_56s); |
| static final short[][] dfa_57 = unpackEncodedStringArray(dfa_57s); |
| |
| class DFA225 extends DFA { |
| |
| public DFA225(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 225; |
| this.eot = dfa_52; |
| this.eof = dfa_52; |
| this.min = dfa_53; |
| this.max = dfa_54; |
| this.accept = dfa_55; |
| this.special = dfa_56; |
| this.transition = dfa_57; |
| } |
| public String getDescription() { |
| return "10879:2: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression )"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA225_0 = input.LA(1); |
| |
| |
| int index225_0 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (LA225_0==161) ) {s = 1;} |
| |
| else if ( (LA225_0==21) ) {s = 2;} |
| |
| else if ( (LA225_0==152) ) {s = 3;} |
| |
| else if ( (LA225_0==170) && (synpred27_InternalEntityGrammar())) {s = 4;} |
| |
| else if ( (LA225_0==RULE_ID||LA225_0==20||(LA225_0>=112 && LA225_0<=114)||LA225_0==125||LA225_0==160) ) {s = 5;} |
| |
| else if ( (LA225_0==RULE_STRING||(LA225_0>=RULE_INT && LA225_0<=RULE_DECIMAL)||LA225_0==38||LA225_0==119||(LA225_0>=162 && LA225_0<=165)) ) {s = 12;} |
| |
| else if ( (LA225_0==150) ) {s = 22;} |
| |
| else if ( (LA225_0==156) ) {s = 23;} |
| |
| else if ( (LA225_0==157) ) {s = 24;} |
| |
| else if ( (LA225_0==158) ) {s = 25;} |
| |
| else if ( (LA225_0==166) ) {s = 26;} |
| |
| else if ( (LA225_0==167) ) {s = 27;} |
| |
| else if ( (LA225_0==168) ) {s = 28;} |
| |
| else if ( (LA225_0==16) ) {s = 29;} |
| |
| |
| input.seek(index225_0); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA225_23 = input.LA(1); |
| |
| |
| int index225_23 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred28_InternalEntityGrammar()) ) {s = 30;} |
| |
| else if ( (true) ) {s = 31;} |
| |
| |
| input.seek(index225_23); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 225, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String dfa_58s = "\46\uffff"; |
| static final String dfa_59s = "\1\4\2\0\43\uffff"; |
| static final String dfa_60s = "\1\u00aa\2\0\43\uffff"; |
| static final String dfa_61s = "\3\uffff\2\1\1\2\40\uffff"; |
| static final String dfa_62s = "\1\0\1\1\1\2\43\uffff}>"; |
| static final String[] dfa_63s = { |
| "\1\5\1\1\3\5\7\uffff\1\2\3\uffff\2\5\20\uffff\2\5\14\uffff\1\5\71\uffff\5\5\4\uffff\1\5\5\uffff\1\5\13\uffff\1\3\5\uffff\1\5\5\uffff\1\4\1\5\1\uffff\1\5\3\uffff\15\5\1\uffff\1\5", |
| "\1\uffff", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] dfa_58 = DFA.unpackEncodedString(dfa_58s); |
| static final char[] dfa_59 = DFA.unpackEncodedStringToUnsignedChars(dfa_59s); |
| static final char[] dfa_60 = DFA.unpackEncodedStringToUnsignedChars(dfa_60s); |
| static final short[] dfa_61 = DFA.unpackEncodedString(dfa_61s); |
| static final short[] dfa_62 = DFA.unpackEncodedString(dfa_62s); |
| static final short[][] dfa_63 = unpackEncodedStringArray(dfa_63s); |
| |
| class DFA234 extends DFA { |
| |
| public DFA234(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 234; |
| this.eot = dfa_58; |
| this.eof = dfa_58; |
| this.min = dfa_59; |
| this.max = dfa_60; |
| this.accept = dfa_61; |
| this.special = dfa_62; |
| this.transition = dfa_63; |
| } |
| public String getDescription() { |
| return "11371:3: ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA234_0 = input.LA(1); |
| |
| |
| int index234_0 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (LA234_0==RULE_ID) ) {s = 1;} |
| |
| else if ( (LA234_0==16) ) {s = 2;} |
| |
| else if ( (LA234_0==137) && (synpred31_InternalEntityGrammar())) {s = 3;} |
| |
| else if ( (LA234_0==149) && (synpred31_InternalEntityGrammar())) {s = 4;} |
| |
| else if ( (LA234_0==RULE_STRING||(LA234_0>=RULE_INT && LA234_0<=RULE_DECIMAL)||(LA234_0>=20 && LA234_0<=21)||(LA234_0>=38 && LA234_0<=39)||LA234_0==52||(LA234_0>=110 && LA234_0<=114)||LA234_0==119||LA234_0==125||LA234_0==143||LA234_0==150||LA234_0==152||(LA234_0>=156 && LA234_0<=168)||LA234_0==170) ) {s = 5;} |
| |
| |
| input.seek(index234_0); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA234_1 = input.LA(1); |
| |
| |
| int index234_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred31_InternalEntityGrammar()) ) {s = 4;} |
| |
| else if ( (true) ) {s = 5;} |
| |
| |
| input.seek(index234_1); |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA234_2 = input.LA(1); |
| |
| |
| int index234_2 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred31_InternalEntityGrammar()) ) {s = 4;} |
| |
| else if ( (true) ) {s = 5;} |
| |
| |
| input.seek(index234_2); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 234, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String[] dfa_64s = { |
| "\5\2\7\uffff\1\1\3\uffff\2\2\20\uffff\1\2\107\uffff\5\2\4\uffff\1\2\5\uffff\1\2\13\uffff\1\2\5\uffff\1\2\6\uffff\1\2\1\uffff\1\2\3\uffff\3\2\1\uffff\11\2\1\uffff\1\2", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| static final short[][] dfa_64 = unpackEncodedStringArray(dfa_64s); |
| |
| class DFA241 extends DFA { |
| |
| public DFA241(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 241; |
| this.eot = dfa_14; |
| this.eof = dfa_14; |
| this.min = dfa_15; |
| this.max = dfa_16; |
| this.accept = dfa_17; |
| this.special = dfa_18; |
| this.transition = dfa_64; |
| } |
| public String getDescription() { |
| return "11837:3: ( ( ( ( ( '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=> (otherlv_2= '(' ( (lv_declaredParam_3_0= ruleJvmFormalParameter ) ) otherlv_4= ':' ) ) ( (lv_switch_5_0= ruleXExpression ) ) otherlv_6= ')' ) | ( ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )? ( (lv_switch_9_0= ruleXExpression ) ) ) )"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA241_1 = input.LA(1); |
| |
| |
| int index241_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred34_InternalEntityGrammar()) ) {s = 34;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index241_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 241, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String dfa_65s = "\42\uffff"; |
| static final String dfa_66s = "\1\4\2\0\37\uffff"; |
| static final String dfa_67s = "\1\u00aa\2\0\37\uffff"; |
| static final String dfa_68s = "\3\uffff\1\1\1\2\35\uffff"; |
| static final String dfa_69s = "\1\0\1\1\1\2\37\uffff}>"; |
| static final String[] dfa_70s = { |
| "\1\4\1\1\3\4\7\uffff\1\2\3\uffff\2\4\20\uffff\1\4\107\uffff\5\4\4\uffff\1\4\5\uffff\1\4\13\uffff\1\3\5\uffff\1\4\6\uffff\1\4\1\uffff\1\4\3\uffff\3\4\1\uffff\11\4\1\uffff\1\4", |
| "\1\uffff", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] dfa_65 = DFA.unpackEncodedString(dfa_65s); |
| static final char[] dfa_66 = DFA.unpackEncodedStringToUnsignedChars(dfa_66s); |
| static final char[] dfa_67 = DFA.unpackEncodedStringToUnsignedChars(dfa_67s); |
| static final short[] dfa_68 = DFA.unpackEncodedString(dfa_68s); |
| static final short[] dfa_69 = DFA.unpackEncodedString(dfa_69s); |
| static final short[][] dfa_70 = unpackEncodedStringArray(dfa_70s); |
| |
| class DFA240 extends DFA { |
| |
| public DFA240(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 240; |
| this.eot = dfa_65; |
| this.eof = dfa_65; |
| this.min = dfa_66; |
| this.max = dfa_67; |
| this.accept = dfa_68; |
| this.special = dfa_69; |
| this.transition = dfa_70; |
| } |
| public String getDescription() { |
| return "11906:5: ( ( ( ( ( ruleJvmFormalParameter ) ) ':' ) )=> ( ( (lv_declaredParam_7_0= ruleJvmFormalParameter ) ) otherlv_8= ':' ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA240_0 = input.LA(1); |
| |
| |
| int index240_0 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (LA240_0==RULE_ID) ) {s = 1;} |
| |
| else if ( (LA240_0==16) ) {s = 2;} |
| |
| else if ( (LA240_0==137) && (synpred35_InternalEntityGrammar())) {s = 3;} |
| |
| else if ( (LA240_0==RULE_STRING||(LA240_0>=RULE_INT && LA240_0<=RULE_DECIMAL)||(LA240_0>=20 && LA240_0<=21)||LA240_0==38||(LA240_0>=110 && LA240_0<=114)||LA240_0==119||LA240_0==125||LA240_0==143||LA240_0==150||LA240_0==152||(LA240_0>=156 && LA240_0<=158)||(LA240_0>=160 && LA240_0<=168)||LA240_0==170) ) {s = 4;} |
| |
| |
| input.seek(index240_0); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA240_1 = input.LA(1); |
| |
| |
| int index240_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred35_InternalEntityGrammar()) ) {s = 3;} |
| |
| else if ( (true) ) {s = 4;} |
| |
| |
| input.seek(index240_1); |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA240_2 = input.LA(1); |
| |
| |
| int index240_2 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred35_InternalEntityGrammar()) ) {s = 3;} |
| |
| else if ( (true) ) {s = 4;} |
| |
| |
| input.seek(index240_2); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 240, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| class DFA263 extends DFA { |
| |
| public DFA263(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 263; |
| this.eot = dfa_39; |
| this.eof = dfa_40; |
| this.min = dfa_41; |
| this.max = dfa_42; |
| this.accept = dfa_43; |
| this.special = dfa_44; |
| this.transition = dfa_45; |
| } |
| public String getDescription() { |
| return "13035:3: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_7_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )? otherlv_12= ')' )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA263_1 = input.LA(1); |
| |
| |
| int index263_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred38_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index263_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 263, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| class DFA262 extends DFA { |
| |
| public DFA262(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 262; |
| this.eot = dfa_8; |
| this.eof = dfa_8; |
| this.min = dfa_46; |
| this.max = dfa_47; |
| this.accept = dfa_48; |
| this.special = dfa_49; |
| this.transition = dfa_50; |
| } |
| public String getDescription() { |
| return "13054:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_featureCallArguments_8_0= ruleXShortClosure ) ) | ( ( (lv_featureCallArguments_9_0= ruleXExpression ) ) (otherlv_10= ',' ( (lv_featureCallArguments_11_0= ruleXExpression ) ) )* ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA262_0 = input.LA(1); |
| |
| |
| int index262_0 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (LA262_0==RULE_ID) ) {s = 1;} |
| |
| else if ( (LA262_0==16) ) {s = 2;} |
| |
| else if ( (LA262_0==137) && (synpred39_InternalEntityGrammar())) {s = 3;} |
| |
| else if ( (LA262_0==149) && (synpred39_InternalEntityGrammar())) {s = 4;} |
| |
| else if ( (LA262_0==RULE_STRING||(LA262_0>=RULE_INT && LA262_0<=RULE_DECIMAL)||(LA262_0>=20 && LA262_0<=21)||LA262_0==38||(LA262_0>=110 && LA262_0<=114)||LA262_0==119||LA262_0==125||LA262_0==143||LA262_0==150||LA262_0==152||(LA262_0>=156 && LA262_0<=158)||(LA262_0>=160 && LA262_0<=168)||LA262_0==170) ) {s = 5;} |
| |
| else if ( (LA262_0==17) ) {s = 35;} |
| |
| |
| input.seek(index262_0); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA262_1 = input.LA(1); |
| |
| |
| int index262_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred39_InternalEntityGrammar()) ) {s = 4;} |
| |
| else if ( (true) ) {s = 5;} |
| |
| |
| input.seek(index262_1); |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA262_2 = input.LA(1); |
| |
| |
| int index262_2 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred39_InternalEntityGrammar()) ) {s = 4;} |
| |
| else if ( (true) ) {s = 5;} |
| |
| |
| input.seek(index262_2); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 262, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| class DFA264 extends DFA { |
| |
| public DFA264(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 264; |
| this.eot = dfa_39; |
| this.eof = dfa_40; |
| this.min = dfa_41; |
| this.max = dfa_42; |
| this.accept = dfa_43; |
| this.special = dfa_44; |
| this.transition = dfa_51; |
| } |
| public String getDescription() { |
| return "13152:3: ( ( ( () '[' ) )=> (lv_featureCallArguments_13_0= ruleXClosure ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA264_1 = input.LA(1); |
| |
| |
| int index264_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred40_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index264_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 264, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String[] dfa_71s = { |
| "\5\2\7\uffff\2\2\2\uffff\2\2\2\uffff\1\2\3\uffff\3\2\2\uffff\1\2\4\uffff\2\2\10\uffff\1\2\1\uffff\7\2\6\uffff\1\2\2\uffff\2\2\51\uffff\7\2\1\uffff\10\2\1\1\27\2\1\uffff\26\2", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| static final short[][] dfa_71 = unpackEncodedStringArray(dfa_71s); |
| |
| class DFA268 extends DFA { |
| |
| public DFA268(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 268; |
| this.eot = dfa_39; |
| this.eof = dfa_40; |
| this.min = dfa_41; |
| this.max = dfa_42; |
| this.accept = dfa_43; |
| this.special = dfa_44; |
| this.transition = dfa_71; |
| } |
| public String getDescription() { |
| return "13311:3: ( ( ( '<' )=>otherlv_3= '<' ) ( (lv_typeArguments_4_0= ruleJvmArgumentTypeReference ) ) (otherlv_5= ',' ( (lv_typeArguments_6_0= ruleJvmArgumentTypeReference ) ) )* otherlv_7= '>' )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA268_1 = input.LA(1); |
| |
| |
| int index268_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred41_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index268_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 268, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| class DFA271 extends DFA { |
| |
| public DFA271(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 271; |
| this.eot = dfa_39; |
| this.eof = dfa_40; |
| this.min = dfa_41; |
| this.max = dfa_42; |
| this.accept = dfa_43; |
| this.special = dfa_44; |
| this.transition = dfa_45; |
| } |
| public String getDescription() { |
| return "13368:3: ( ( ( ( '(' ) )=> (lv_explicitConstructorCall_8_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )? otherlv_13= ')' )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA271_1 = input.LA(1); |
| |
| |
| int index271_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred42_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index271_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 271, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| class DFA270 extends DFA { |
| |
| public DFA270(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 270; |
| this.eot = dfa_8; |
| this.eof = dfa_8; |
| this.min = dfa_46; |
| this.max = dfa_47; |
| this.accept = dfa_48; |
| this.special = dfa_49; |
| this.transition = dfa_50; |
| } |
| public String getDescription() { |
| return "13387:4: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_arguments_9_0= ruleXShortClosure ) ) | ( ( (lv_arguments_10_0= ruleXExpression ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleXExpression ) ) )* ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA270_0 = input.LA(1); |
| |
| |
| int index270_0 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (LA270_0==RULE_ID) ) {s = 1;} |
| |
| else if ( (LA270_0==16) ) {s = 2;} |
| |
| else if ( (LA270_0==137) && (synpred43_InternalEntityGrammar())) {s = 3;} |
| |
| else if ( (LA270_0==149) && (synpred43_InternalEntityGrammar())) {s = 4;} |
| |
| else if ( (LA270_0==RULE_STRING||(LA270_0>=RULE_INT && LA270_0<=RULE_DECIMAL)||(LA270_0>=20 && LA270_0<=21)||LA270_0==38||(LA270_0>=110 && LA270_0<=114)||LA270_0==119||LA270_0==125||LA270_0==143||LA270_0==150||LA270_0==152||(LA270_0>=156 && LA270_0<=158)||(LA270_0>=160 && LA270_0<=168)||LA270_0==170) ) {s = 5;} |
| |
| else if ( (LA270_0==17) ) {s = 35;} |
| |
| |
| input.seek(index270_0); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA270_1 = input.LA(1); |
| |
| |
| int index270_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred43_InternalEntityGrammar()) ) {s = 4;} |
| |
| else if ( (true) ) {s = 5;} |
| |
| |
| input.seek(index270_1); |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA270_2 = input.LA(1); |
| |
| |
| int index270_2 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred43_InternalEntityGrammar()) ) {s = 4;} |
| |
| else if ( (true) ) {s = 5;} |
| |
| |
| input.seek(index270_2); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 270, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| class DFA272 extends DFA { |
| |
| public DFA272(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 272; |
| this.eot = dfa_39; |
| this.eof = dfa_40; |
| this.min = dfa_41; |
| this.max = dfa_42; |
| this.accept = dfa_43; |
| this.special = dfa_44; |
| this.transition = dfa_51; |
| } |
| public String getDescription() { |
| return "13485:3: ( ( ( () '[' ) )=> (lv_arguments_14_0= ruleXClosure ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA272_1 = input.LA(1); |
| |
| |
| int index272_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred44_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index272_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 272, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String dfa_72s = "\1\41\132\uffff"; |
| static final String dfa_73s = "\1\4\40\0\72\uffff"; |
| static final String dfa_74s = "\1\u00ab\40\0\72\uffff"; |
| static final String dfa_75s = "\41\uffff\1\2\70\uffff\1\1"; |
| static final String dfa_76s = "\1\uffff\1\0\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14\1\15\1\16\1\17\1\20\1\21\1\22\1\23\1\24\1\25\1\26\1\27\1\30\1\31\1\32\1\33\1\34\1\35\1\36\1\37\72\uffff}>"; |
| static final String[] dfa_77s = { |
| "\1\27\1\1\1\24\1\23\1\25\7\uffff\1\40\1\41\2\uffff\1\2\1\12\2\uffff\1\41\3\uffff\3\41\2\uffff\1\41\4\uffff\1\20\1\41\10\uffff\1\41\1\uffff\7\41\6\uffff\1\41\2\uffff\2\41\51\uffff\1\41\1\10\1\7\1\4\1\3\1\5\1\41\1\uffff\2\41\1\17\5\41\1\15\21\41\1\6\5\41\1\uffff\1\31\1\41\1\13\3\41\1\32\1\33\1\34\1\41\1\16\1\11\1\21\1\22\1\26\1\30\1\35\1\36\1\37\1\41\1\14\1\41", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| static final short[] dfa_72 = DFA.unpackEncodedString(dfa_72s); |
| static final char[] dfa_73 = DFA.unpackEncodedStringToUnsignedChars(dfa_73s); |
| static final char[] dfa_74 = DFA.unpackEncodedStringToUnsignedChars(dfa_74s); |
| static final short[] dfa_75 = DFA.unpackEncodedString(dfa_75s); |
| static final short[] dfa_76 = DFA.unpackEncodedString(dfa_76s); |
| static final short[][] dfa_77 = unpackEncodedStringArray(dfa_77s); |
| |
| class DFA275 extends DFA { |
| |
| public DFA275(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 275; |
| this.eot = dfa_39; |
| this.eof = dfa_72; |
| this.min = dfa_73; |
| this.max = dfa_74; |
| this.accept = dfa_75; |
| this.special = dfa_76; |
| this.transition = dfa_77; |
| } |
| public String getDescription() { |
| return "13828:3: ( ( 'extends' | 'static' | 'import' | 'extension' | '!' | '-' | '+' | 'new' | '{' | 'switch' | 'synchronized' | '<' | 'super' | '#' | '[' | 'false' | 'true' | 'null' | 'typeof' | 'if' | 'for' | 'while' | 'do' | 'throw' | 'return' | 'try' | '(' | RULE_ID | RULE_HEX | RULE_INT | RULE_DECIMAL | RULE_STRING )=> (lv_expression_2_0= ruleXExpression ) )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA275_1 = input.LA(1); |
| |
| |
| int index275_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_1); |
| if ( s>=0 ) return s; |
| break; |
| case 1 : |
| int LA275_2 = input.LA(1); |
| |
| |
| int index275_2 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_2); |
| if ( s>=0 ) return s; |
| break; |
| case 2 : |
| int LA275_3 = input.LA(1); |
| |
| |
| int index275_3 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_3); |
| if ( s>=0 ) return s; |
| break; |
| case 3 : |
| int LA275_4 = input.LA(1); |
| |
| |
| int index275_4 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_4); |
| if ( s>=0 ) return s; |
| break; |
| case 4 : |
| int LA275_5 = input.LA(1); |
| |
| |
| int index275_5 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_5); |
| if ( s>=0 ) return s; |
| break; |
| case 5 : |
| int LA275_6 = input.LA(1); |
| |
| |
| int index275_6 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_6); |
| if ( s>=0 ) return s; |
| break; |
| case 6 : |
| int LA275_7 = input.LA(1); |
| |
| |
| int index275_7 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_7); |
| if ( s>=0 ) return s; |
| break; |
| case 7 : |
| int LA275_8 = input.LA(1); |
| |
| |
| int index275_8 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_8); |
| if ( s>=0 ) return s; |
| break; |
| case 8 : |
| int LA275_9 = input.LA(1); |
| |
| |
| int index275_9 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_9); |
| if ( s>=0 ) return s; |
| break; |
| case 9 : |
| int LA275_10 = input.LA(1); |
| |
| |
| int index275_10 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_10); |
| if ( s>=0 ) return s; |
| break; |
| case 10 : |
| int LA275_11 = input.LA(1); |
| |
| |
| int index275_11 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_11); |
| if ( s>=0 ) return s; |
| break; |
| case 11 : |
| int LA275_12 = input.LA(1); |
| |
| |
| int index275_12 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_12); |
| if ( s>=0 ) return s; |
| break; |
| case 12 : |
| int LA275_13 = input.LA(1); |
| |
| |
| int index275_13 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_13); |
| if ( s>=0 ) return s; |
| break; |
| case 13 : |
| int LA275_14 = input.LA(1); |
| |
| |
| int index275_14 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_14); |
| if ( s>=0 ) return s; |
| break; |
| case 14 : |
| int LA275_15 = input.LA(1); |
| |
| |
| int index275_15 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_15); |
| if ( s>=0 ) return s; |
| break; |
| case 15 : |
| int LA275_16 = input.LA(1); |
| |
| |
| int index275_16 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_16); |
| if ( s>=0 ) return s; |
| break; |
| case 16 : |
| int LA275_17 = input.LA(1); |
| |
| |
| int index275_17 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_17); |
| if ( s>=0 ) return s; |
| break; |
| case 17 : |
| int LA275_18 = input.LA(1); |
| |
| |
| int index275_18 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_18); |
| if ( s>=0 ) return s; |
| break; |
| case 18 : |
| int LA275_19 = input.LA(1); |
| |
| |
| int index275_19 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_19); |
| if ( s>=0 ) return s; |
| break; |
| case 19 : |
| int LA275_20 = input.LA(1); |
| |
| |
| int index275_20 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_20); |
| if ( s>=0 ) return s; |
| break; |
| case 20 : |
| int LA275_21 = input.LA(1); |
| |
| |
| int index275_21 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_21); |
| if ( s>=0 ) return s; |
| break; |
| case 21 : |
| int LA275_22 = input.LA(1); |
| |
| |
| int index275_22 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_22); |
| if ( s>=0 ) return s; |
| break; |
| case 22 : |
| int LA275_23 = input.LA(1); |
| |
| |
| int index275_23 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_23); |
| if ( s>=0 ) return s; |
| break; |
| case 23 : |
| int LA275_24 = input.LA(1); |
| |
| |
| int index275_24 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_24); |
| if ( s>=0 ) return s; |
| break; |
| case 24 : |
| int LA275_25 = input.LA(1); |
| |
| |
| int index275_25 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_25); |
| if ( s>=0 ) return s; |
| break; |
| case 25 : |
| int LA275_26 = input.LA(1); |
| |
| |
| int index275_26 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_26); |
| if ( s>=0 ) return s; |
| break; |
| case 26 : |
| int LA275_27 = input.LA(1); |
| |
| |
| int index275_27 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_27); |
| if ( s>=0 ) return s; |
| break; |
| case 27 : |
| int LA275_28 = input.LA(1); |
| |
| |
| int index275_28 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_28); |
| if ( s>=0 ) return s; |
| break; |
| case 28 : |
| int LA275_29 = input.LA(1); |
| |
| |
| int index275_29 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_29); |
| if ( s>=0 ) return s; |
| break; |
| case 29 : |
| int LA275_30 = input.LA(1); |
| |
| |
| int index275_30 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_30); |
| if ( s>=0 ) return s; |
| break; |
| case 30 : |
| int LA275_31 = input.LA(1); |
| |
| |
| int index275_31 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_31); |
| if ( s>=0 ) return s; |
| break; |
| case 31 : |
| int LA275_32 = input.LA(1); |
| |
| |
| int index275_32 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred45_InternalEntityGrammar()) ) {s = 90;} |
| |
| else if ( (true) ) {s = 33;} |
| |
| |
| input.seek(index275_32); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 275, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| static final String dfa_78s = "\176\uffff"; |
| static final String dfa_79s = "\1\2\175\uffff"; |
| static final String dfa_80s = "\1\4\1\0\174\uffff"; |
| static final String dfa_81s = "\1\u00ad\1\0\174\uffff"; |
| static final String dfa_82s = "\2\uffff\1\2\172\uffff\1\1"; |
| static final String dfa_83s = "\1\uffff\1\0\174\uffff}>"; |
| static final String[] dfa_84s = { |
| "\5\2\4\uffff\11\2\1\uffff\4\2\1\uffff\3\2\2\uffff\3\2\2\uffff\2\2\7\uffff\2\2\1\uffff\7\2\6\uffff\1\2\2\uffff\2\2\6\uffff\1\2\1\uffff\1\2\2\uffff\1\2\3\uffff\4\2\2\uffff\7\2\4\uffff\20\2\1\uffff\10\2\1\1\27\2\1\uffff\26\2\1\uffff\1\2", |
| "\1\uffff", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "", |
| "" |
| }; |
| |
| static final short[] dfa_78 = DFA.unpackEncodedString(dfa_78s); |
| static final short[] dfa_79 = DFA.unpackEncodedString(dfa_79s); |
| static final char[] dfa_80 = DFA.unpackEncodedStringToUnsignedChars(dfa_80s); |
| static final char[] dfa_81 = DFA.unpackEncodedStringToUnsignedChars(dfa_81s); |
| static final short[] dfa_82 = DFA.unpackEncodedString(dfa_82s); |
| static final short[] dfa_83 = DFA.unpackEncodedString(dfa_83s); |
| static final short[][] dfa_84 = unpackEncodedStringArray(dfa_84s); |
| |
| class DFA293 extends DFA { |
| |
| public DFA293(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 293; |
| this.eot = dfa_78; |
| this.eof = dfa_79; |
| this.min = dfa_80; |
| this.max = dfa_81; |
| this.accept = dfa_82; |
| this.special = dfa_83; |
| this.transition = dfa_84; |
| } |
| public String getDescription() { |
| return "14486:3: ( ( ( '<' )=>otherlv_1= '<' ) ( (lv_arguments_2_0= ruleJvmArgumentTypeReference ) ) (otherlv_3= ',' ( (lv_arguments_4_0= ruleJvmArgumentTypeReference ) ) )* otherlv_5= '>' ( ( ( ( () '.' ) )=> ( () otherlv_7= '.' ) ) ( ( ruleValidID ) ) ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )? )* )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA293_1 = input.LA(1); |
| |
| |
| int index293_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred52_InternalEntityGrammar()) ) {s = 125;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index293_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 293, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| class DFA291 extends DFA { |
| |
| public DFA291(BaseRecognizer recognizer) { |
| this.recognizer = recognizer; |
| this.decisionNumber = 291; |
| this.eot = dfa_78; |
| this.eof = dfa_79; |
| this.min = dfa_80; |
| this.max = dfa_81; |
| this.accept = dfa_82; |
| this.special = dfa_83; |
| this.transition = dfa_84; |
| } |
| public String getDescription() { |
| return "14580:5: ( ( ( '<' )=>otherlv_9= '<' ) ( (lv_arguments_10_0= ruleJvmArgumentTypeReference ) ) (otherlv_11= ',' ( (lv_arguments_12_0= ruleJvmArgumentTypeReference ) ) )* otherlv_13= '>' )?"; |
| } |
| public int specialStateTransition(int s, IntStream _input) throws NoViableAltException { |
| TokenStream input = (TokenStream)_input; |
| int _s = s; |
| switch ( s ) { |
| case 0 : |
| int LA291_1 = input.LA(1); |
| |
| |
| int index291_1 = input.index(); |
| input.rewind(); |
| s = -1; |
| if ( (synpred54_InternalEntityGrammar()) ) {s = 125;} |
| |
| else if ( (true) ) {s = 2;} |
| |
| |
| input.seek(index291_1); |
| if ( s>=0 ) return s; |
| break; |
| } |
| if (state.backtracking>0) {state.failed=true; return -1;} |
| NoViableAltException nvae = |
| new NoViableAltException(getDescription(), 291, _s, input); |
| error(nvae); |
| throw nvae; |
| } |
| } |
| |
| |
| public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L}); |
| public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L}); |
| public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000200L}); |
| public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x00000000060CE000L,0x0040000000000000L}); |
| public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x00000000000CC000L}); |
| public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x00000000000C0000L}); |
| public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x00000000000D0000L}); |
| public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x000C000000000000L}); |
| public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000020000L}); |
| public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000000080000L}); |
| public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x00F5000E00000020L,0x00001FF000000000L}); |
| public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000000300000L}); |
| public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000000000020L}); |
| public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000200000L}); |
| public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x81FD0003B7CCE000L,0x0040000000000114L}); |
| public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x81FD000237CCE000L,0x0040000000000114L}); |
| public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x81FD000237CCE000L,0x0040000000000004L}); |
| public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x0000000000000010L}); |
| public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x81FD0002378CE000L,0x0040000000000004L}); |
| public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x81FD0002370CE000L,0x0040000000000004L}); |
| public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000031000000L,0x0000000000000004L}); |
| public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000002000000L}); |
| public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x00F5000E00100020L,0x00001FF000000000L}); |
| public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x81FD0002074CE000L,0x0040000000000000L}); |
| public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x81FD0002070CE000L,0x0040000000000000L}); |
| public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000008300000L}); |
| public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x0000000008200000L}); |
| public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x80B10002070CE000L,0x0040000000000000L}); |
| public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000000020000000L}); |
| public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000000041000000L}); |
| public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000000100000002L}); |
| public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x81FD0002060CE000L,0x0040000000000000L}); |
| public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0000003C00000020L}); |
| public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0000003800000020L}); |
| public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0000003000000020L}); |
| public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000002000000020L}); |
| public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x0000000000000040L}); |
| public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x00F5004E00000020L,0x00001FF000000000L}); |
| public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000008000000000L,0x000000007FF88000L}); |
| public static final BitSet FOLLOW_40 = new BitSet(new long[]{0x0200F90000010002L}); |
| public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x0200F90000000002L}); |
| public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0200FE0000000002L}); |
| public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0200F80000000002L}); |
| public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0200F00000000002L}); |
| public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0200C00000000002L}); |
| public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0200800000000002L}); |
| public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000000010000L}); |
| public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0000000000000000L,0x0000000400000000L}); |
| public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0000000040020000L}); |
| public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0200000000000002L}); |
| public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0000300000000020L}); |
| public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0002C00000000002L}); |
| public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0002800000000002L}); |
| public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000800000000002L}); |
| public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0008300000000020L}); |
| public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0002C00000200000L}); |
| public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0600300010000020L}); |
| public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0600300000000020L}); |
| public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x3802C10000010002L}); |
| public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000001L}); |
| public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x3002C10000010002L}); |
| public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x2002C10000010002L}); |
| public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x4002C10000010002L}); |
| public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x0002C10000010002L}); |
| public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0002C10000000002L}); |
| public static final BitSet FOLLOW_66 = new BitSet(new long[]{0x0000000000010020L,0x0000000000000000L,0x0000000000000200L}); |
| public static final BitSet FOLLOW_67 = new BitSet(new long[]{0x0000000000030020L,0x0000000000000000L,0x0000000000000200L}); |
| public static final BitSet FOLLOW_68 = new BitSet(new long[]{0x0002C040003101F0L,0x2087C00000000000L,0x000005FF71408000L}); |
| public static final BitSet FOLLOW_69 = new BitSet(new long[]{0x0000000000020020L}); |
| public static final BitSet FOLLOW_70 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000002L}); |
| public static final BitSet FOLLOW_71 = new BitSet(new long[]{0x80B10002060CE000L,0x0040000000000000L}); |
| public static final BitSet FOLLOW_72 = new BitSet(new long[]{0x0000000C00000020L}); |
| public static final BitSet FOLLOW_73 = new BitSet(new long[]{0x0000000800000020L}); |
| public static final BitSet FOLLOW_74 = new BitSet(new long[]{0x0200C90000000002L}); |
| public static final BitSet FOLLOW_75 = new BitSet(new long[]{0x0200CE0000000002L}); |
| public static final BitSet FOLLOW_76 = new BitSet(new long[]{0x0200C80000000002L}); |
| public static final BitSet FOLLOW_77 = new BitSet(new long[]{0x0000C00000000002L}); |
| public static final BitSet FOLLOW_78 = new BitSet(new long[]{0x0600000000000020L}); |
| public static final BitSet FOLLOW_79 = new BitSet(new long[]{0x0000000201000000L}); |
| public static final BitSet FOLLOW_80 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000008L}); |
| public static final BitSet FOLLOW_81 = new BitSet(new long[]{0x0000000001000000L,0x00000000000000E0L}); |
| public static final BitSet FOLLOW_82 = new BitSet(new long[]{0x0000000001000000L,0x00000000000000C0L}); |
| public static final BitSet FOLLOW_83 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0003C00000000000L}); |
| public static final BitSet FOLLOW_84 = new BitSet(new long[]{0x0000000001000000L,0x0000000000000080L}); |
| public static final BitSet FOLLOW_85 = new BitSet(new long[]{0x0000000001000000L}); |
| public static final BitSet FOLLOW_86 = new BitSet(new long[]{0x0000000000200002L}); |
| public static final BitSet FOLLOW_87 = new BitSet(new long[]{0x00000000078CE000L,0x0040000080000400L}); |
| public static final BitSet FOLLOW_88 = new BitSet(new long[]{0x0000000000000000L,0x0000000000006800L}); |
| public static final BitSet FOLLOW_89 = new BitSet(new long[]{0x0000800000000002L,0x000000007E789000L}); |
| public static final BitSet FOLLOW_90 = new BitSet(new long[]{0x0000800000000002L,0x000000007E788000L}); |
| public static final BitSet FOLLOW_91 = new BitSet(new long[]{0x0000000000000000L,0x0000080000000000L,0x0180000000000000L}); |
| public static final BitSet FOLLOW_92 = new BitSet(new long[]{0x0000800000000002L,0x000000007FF88000L}); |
| public static final BitSet FOLLOW_93 = new BitSet(new long[]{0x0000800000000002L,0x0000000018000000L}); |
| public static final BitSet FOLLOW_94 = new BitSet(new long[]{0x0000004000000002L}); |
| public static final BitSet FOLLOW_95 = new BitSet(new long[]{0x0000008000000000L,0x0000000000070000L}); |
| public static final BitSet FOLLOW_96 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000002L}); |
| public static final BitSet FOLLOW_97 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0070000000000000L}); |
| public static final BitSet FOLLOW_98 = new BitSet(new long[]{0x0000000000000040L,0x0000C00000000000L}); |
| public static final BitSet FOLLOW_99 = new BitSet(new long[]{0x0000004000020000L}); |
| public static final BitSet FOLLOW_100 = new BitSet(new long[]{0x0000000040000000L}); |
| public static final BitSet FOLLOW_101 = new BitSet(new long[]{0x0000000000000002L,0x0000000100000002L}); |
| public static final BitSet FOLLOW_102 = new BitSet(new long[]{0x0000000000000050L}); |
| public static final BitSet FOLLOW_103 = new BitSet(new long[]{0x0000000000000000L,0x0000000200000000L}); |
| public static final BitSet FOLLOW_104 = new BitSet(new long[]{0x0000000001000020L}); |
| public static final BitSet FOLLOW_105 = new BitSet(new long[]{0x0000000000000000L,0xE000000000000000L,0x1000000000000404L}); |
| public static final BitSet FOLLOW_106 = new BitSet(new long[]{0x0000000000000030L}); |
| public static final BitSet FOLLOW_107 = new BitSet(new long[]{0x0000000000000000L,0x0000000800000000L}); |
| public static final BitSet FOLLOW_108 = new BitSet(new long[]{0x0000000000000000L,0x0008400000000000L,0x6000100000000000L}); |
| public static final BitSet FOLLOW_109 = new BitSet(new long[]{0x0000008000000000L,0x0000200000000000L}); |
| public static final BitSet FOLLOW_110 = new BitSet(new long[]{0x0000000000000000L,0x0008000000000000L,0x4000000000000000L}); |
| public static final BitSet FOLLOW_111 = new BitSet(new long[]{0x0000008000000000L}); |
| public static final BitSet FOLLOW_112 = new BitSet(new long[]{0x0000000000000020L,0x0012000000000000L}); |
| public static final BitSet FOLLOW_113 = new BitSet(new long[]{0x0000000000000020L,0x0004000000000000L}); |
| public static final BitSet FOLLOW_114 = new BitSet(new long[]{0x0000000000000020L,0x0008000000000000L}); |
| public static final BitSet FOLLOW_115 = new BitSet(new long[]{0x0000000000000002L,0x0020000000000000L}); |
| public static final BitSet FOLLOW_116 = new BitSet(new long[]{0x0000000000010002L}); |
| public static final BitSet FOLLOW_117 = new BitSet(new long[]{0x0002C040063FE1F0L,0x20C7C00000000000L,0x000005FF71408000L}); |
| public static final BitSet FOLLOW_118 = new BitSet(new long[]{0x0002C040063DE1F0L,0x20C7C00000000000L,0x000005FF71408000L}); |
| public static final BitSet FOLLOW_119 = new BitSet(new long[]{0x0000004000000000L}); |
| public static final BitSet FOLLOW_120 = new BitSet(new long[]{0x0002C0C0063DE1F0L,0x20C7C00000000000L,0x000005FF71408000L}); |
| public static final BitSet FOLLOW_121 = new BitSet(new long[]{0x0000008040000000L}); |
| public static final BitSet FOLLOW_122 = new BitSet(new long[]{0x0000000040000002L}); |
| public static final BitSet FOLLOW_123 = new BitSet(new long[]{0x0000000000000002L,0x7F00000000000000L}); |
| public static final BitSet FOLLOW_124 = new BitSet(new long[]{0x0000000000000000L,0x2000000000000000L}); |
| public static final BitSet FOLLOW_125 = new BitSet(new long[]{0x0000000000000000L,0xC000000000000000L}); |
| public static final BitSet FOLLOW_126 = new BitSet(new long[]{0x0000000000000000L,0x8000000000000000L}); |
| public static final BitSet FOLLOW_127 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000000001L}); |
| public static final BitSet FOLLOW_128 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000000002L}); |
| public static final BitSet FOLLOW_129 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x000000000000003CL}); |
| public static final BitSet FOLLOW_130 = new BitSet(new long[]{0x0000000000000002L,0xE000000000000000L,0x0000000000000040L}); |
| public static final BitSet FOLLOW_131 = new BitSet(new long[]{0x0000000000000002L,0x6000200000000000L,0x0000000000000F80L}); |
| public static final BitSet FOLLOW_132 = new BitSet(new long[]{0x0000000000000000L,0x0000200000000000L}); |
| public static final BitSet FOLLOW_133 = new BitSet(new long[]{0x0000000000000000L,0x4000000000000000L}); |
| public static final BitSet FOLLOW_134 = new BitSet(new long[]{0x0000000000000000L,0x2000000000000000L,0x0000000000000200L}); |
| public static final BitSet FOLLOW_135 = new BitSet(new long[]{0x0000000000000002L,0x0000C00000000000L}); |
| public static final BitSet FOLLOW_136 = new BitSet(new long[]{0x0000000000000002L,0x0008000000000000L,0x0000000000007000L}); |
| public static final BitSet FOLLOW_137 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000010000L}); |
| public static final BitSet FOLLOW_138 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000060000L}); |
| public static final BitSet FOLLOW_139 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000008L,0x0000000000180000L}); |
| public static final BitSet FOLLOW_140 = new BitSet(new long[]{0x0000000000100020L,0x0007000000000000L}); |
| public static final BitSet FOLLOW_141 = new BitSet(new long[]{0x0000000000100020L,0x2007000000000000L,0x0000000100000000L}); |
| public static final BitSet FOLLOW_142 = new BitSet(new long[]{0x0000000000010020L,0x0000000000000000L,0x0000100000000200L}); |
| public static final BitSet FOLLOW_143 = new BitSet(new long[]{0x0000000040000000L,0x4000000000000000L}); |
| public static final BitSet FOLLOW_144 = new BitSet(new long[]{0x0000004000010002L,0x0000000000000008L,0x0000000000180000L}); |
| public static final BitSet FOLLOW_145 = new BitSet(new long[]{0x0002C040003301F0L,0x2087C00000000000L,0x000005FF71608200L}); |
| public static final BitSet FOLLOW_146 = new BitSet(new long[]{0x0000004000000002L,0x0000000000000008L,0x0000000000180000L}); |
| public static final BitSet FOLLOW_147 = new BitSet(new long[]{0x0002C040013101F0L,0x2087C00000000000L,0x000005FF71408000L}); |
| public static final BitSet FOLLOW_148 = new BitSet(new long[]{0x0002C0C0003101F0L,0x2087C00000000000L,0x000005FF71408000L}); |
| public static final BitSet FOLLOW_149 = new BitSet(new long[]{0x0012C0C0003101F0L,0x2087C00000000000L,0x000005FFF1608200L}); |
| public static final BitSet FOLLOW_150 = new BitSet(new long[]{0x0000000040000000L,0x0000000000000000L,0x0000000000200000L}); |
| public static final BitSet FOLLOW_151 = new BitSet(new long[]{0x0012C0C0003101F0L,0x2087C00000000000L,0x000005FFF1408000L}); |
| public static final BitSet FOLLOW_152 = new BitSet(new long[]{0x0012C040003101F2L,0x20A7C00000000000L,0x000005FFF1408000L}); |
| public static final BitSet FOLLOW_153 = new BitSet(new long[]{0x0012C040003101F2L,0x2087C00000000000L,0x000005FFF1408000L}); |
| public static final BitSet FOLLOW_154 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000800000L}); |
| public static final BitSet FOLLOW_155 = new BitSet(new long[]{0x0002C040003101F0L,0x2087C00000000000L,0x000005FF71408200L}); |
| public static final BitSet FOLLOW_156 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000002000000L}); |
| public static final BitSet FOLLOW_157 = new BitSet(new long[]{0x0000000041010020L,0x0000000000000000L,0x000000000E000200L}); |
| public static final BitSet FOLLOW_158 = new BitSet(new long[]{0x0000000040000000L,0x0000000000000000L,0x000000000A000000L}); |
| public static final BitSet FOLLOW_159 = new BitSet(new long[]{0x0000000040000000L,0x0000000000000000L,0x0000000002000000L}); |
| public static final BitSet FOLLOW_160 = new BitSet(new long[]{0x0012C040003101F0L,0x20A7C00000000000L,0x000005FFF1408000L}); |
| public static final BitSet FOLLOW_161 = new BitSet(new long[]{0x0000000040000000L,0x0020000000000000L}); |
| public static final BitSet FOLLOW_162 = new BitSet(new long[]{0x0012C040003101F0L,0x2087C00000000000L,0x000005FFF1408000L}); |
| public static final BitSet FOLLOW_163 = new BitSet(new long[]{0x0002C040003101F0L,0x20A7C00000000000L,0x000005FF71408000L}); |
| public static final BitSet FOLLOW_164 = new BitSet(new long[]{0x0000000000000000L,0x0020000000000000L}); |
| public static final BitSet FOLLOW_165 = new BitSet(new long[]{0x0002C040003301F0L,0x2087C00000000000L,0x000005FF71408000L}); |
| public static final BitSet FOLLOW_166 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000020000000L}); |
| public static final BitSet FOLLOW_167 = new BitSet(new long[]{0x0012C040013101F0L,0x2087C00000000000L,0x000005FFF1408000L}); |
| public static final BitSet FOLLOW_168 = new BitSet(new long[]{0x0012C040013101F0L,0x20A7C00000000000L,0x000005FFF1408000L}); |
| public static final BitSet FOLLOW_169 = new BitSet(new long[]{0x0000004000010002L}); |
| public static final BitSet FOLLOW_170 = new BitSet(new long[]{0x0000004000010002L,0x2000000000000000L}); |
| public static final BitSet FOLLOW_171 = new BitSet(new long[]{0x0002C040003101F2L,0x2087C00000000000L,0x000005FF71408000L}); |
| public static final BitSet FOLLOW_172 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x00000A0000000000L}); |
| public static final BitSet FOLLOW_173 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x00000A0000000000L}); |
| public static final BitSet FOLLOW_174 = new BitSet(new long[]{0x0000000000000140L}); |
| public static final BitSet FOLLOW_175 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000200L}); |
| public static final BitSet FOLLOW_176 = new BitSet(new long[]{0x0000000000000002L,0x2000000000000000L}); |
| public static final BitSet FOLLOW_177 = new BitSet(new long[]{0x0000000000000002L,0x2000000000000008L}); |
| public static final BitSet FOLLOW_178 = new BitSet(new long[]{0x0000000000100002L,0x0000000000000000L,0x0000000100000000L}); |
| public static final BitSet FOLLOW_179 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000200000000000L}); |
| public static final BitSet FOLLOW_180 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L}); |
| public static final BitSet FOLLOW_181 = new BitSet(new long[]{0x0000000000000000L,0x0008000000000000L}); |
| public static final BitSet FOLLOW_182 = new BitSet(new long[]{0x0000000000000002L,0x0001000000000000L}); |
| public static final BitSet FOLLOW_183 = new BitSet(new long[]{0x0000000000000022L}); |
| |
| } |