| /** |
| * 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 v1.0 |
| * which accompanies this distribution, and is available at |
| * http://www.eclipse.org/legal/epl-v10.html |
| * |
| * Contributors: |
| * Florian Pirchner - Initial implementation |
| */ |
| package org.eclipse.osbp.dsl.dto.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.dto.xtext.services.DtoGrammarGrammarAccess; |
| |
| |
| |
| import org.antlr.runtime.*; |
| import java.util.Stack; |
| import java.util.List; |
| import java.util.ArrayList; |
| import java.util.Map; |
| import java.util.HashMap; |
| @SuppressWarnings("all") |
| public class InternalDtoGrammarParser extends AbstractInternalAntlrParser { |
| public static final String[] tokenNames = new String[] { |
| "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_STRING", "RULE_ID", "RULE_HEX", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'abstract'", "'dto'", "'extends'", "'wraps'", "'{'", "'}'", "'autoDto'", "'inherit var'", "'mapto'", "'properties'", "'('", "', '", "')'", "';'", "'inherit ref'", "'transient'", "'['", "']'", "'dirty'", "'derived'", "'domainDescription'", "'id'", "'version'", "'uuid'", "'domainKey'", "'ref'", "'cascade'", "'lazy'", "'opposite'", "'var'", "'def'", "'toDTO'", "'fromDTO'", "'package'", "'import'", "'datatype'", "'jvmType'", "'as primitive'", "'dateType'", "'as blob'", "'isFalse'", "'msgCode'", "'='", "'msgI18nKey'", "'severity'", "'isTrue'", "'maxDecimal'", "'minDecimal'", "'digits'", "'isFuture'", "'isPast'", "'maxNumber'", "'minNumber'", "'isNotNull'", "'isNull'", "'regex'", "'minMaxSize'", "'enum'", "'asDefault'", "'forNull'", "'key'", "'value'", "'.'", "'*'", "'cachable'", "'collection'", "'refers'", "'settings'", "'notnull'", "'date'", "'..'", "'+'", "'-'", "'@'", "','", "'#'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'=>'", "'<>'", "'?:'", "'**'", "'/'", "'%'", "'!'", "'as'", "'++'", "'--'", "'::'", "'?.'", "'|'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'val'", "'static'", "'extension'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'", "'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 RULE_HEX=7; |
| public static final int T__50=50; |
| public static final int T__145=145; |
| public static final int T__140=140; |
| public static final int T__142=142; |
| public static final int T__141=141; |
| public static final int T__59=59; |
| public static final int T__55=55; |
| public static final int T__56=56; |
| public static final int T__57=57; |
| public static final int T__58=58; |
| public static final int T__51=51; |
| public static final int T__137=137; |
| public static final int T__52=52; |
| public static final int T__136=136; |
| public static final int T__53=53; |
| public static final int T__139=139; |
| public static final int T__54=54; |
| public static final int T__138=138; |
| public static final int T__133=133; |
| public static final int T__132=132; |
| public static final int T__60=60; |
| public static final int T__135=135; |
| public static final int T__61=61; |
| public static final int T__134=134; |
| public static final int RULE_ID=6; |
| public static final int T__131=131; |
| public static final int T__130=130; |
| public static final int RULE_INT=4; |
| public static final int T__66=66; |
| public static final int RULE_ML_COMMENT=9; |
| public static final int T__67=67; |
| public static final int T__129=129; |
| public static final int T__68=68; |
| public static final int T__69=69; |
| public static final int T__62=62; |
| public static final int T__126=126; |
| public static final int T__63=63; |
| public static final int T__125=125; |
| public static final int T__64=64; |
| public static final int T__128=128; |
| public static final int T__65=65; |
| public static final int T__127=127; |
| public static final int T__37=37; |
| public static final int T__38=38; |
| public static final int T__39=39; |
| public static final int T__33=33; |
| public static final int T__34=34; |
| public static final int T__35=35; |
| public static final int T__36=36; |
| public static final int T__30=30; |
| public static final int T__31=31; |
| public static final int T__32=32; |
| public static final int T__155=155; |
| public static final int T__154=154; |
| 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__91=91; |
| public static final int T__100=100; |
| public static final int T__92=92; |
| public static final int T__93=93; |
| public static final int T__102=102; |
| public static final int T__94=94; |
| public static final int T__101=101; |
| public static final int T__90=90; |
| public static final int T__19=19; |
| public static final int T__15=15; |
| public static final int T__16=16; |
| public static final int T__17=17; |
| public static final int T__18=18; |
| public static final int T__99=99; |
| public static final int T__13=13; |
| public static final int T__14=14; |
| public static final int T__95=95; |
| public static final int T__96=96; |
| public static final int T__97=97; |
| public static final int T__98=98; |
| public static final int RULE_DECIMAL=8; |
| public static final int T__26=26; |
| public static final int T__27=27; |
| public static final int T__28=28; |
| public static final int T__29=29; |
| public static final int T__22=22; |
| public static final int T__23=23; |
| public static final int T__24=24; |
| public static final int T__25=25; |
| public static final int T__20=20; |
| public static final int T__21=21; |
| public static final int T__122=122; |
| public static final int T__70=70; |
| public static final int T__121=121; |
| public static final int T__71=71; |
| public static final int T__124=124; |
| public static final int T__72=72; |
| public static final int T__123=123; |
| public static final int T__120=120; |
| public static final int RULE_STRING=5; |
| public static final int RULE_SL_COMMENT=10; |
| public static final int T__77=77; |
| public static final int T__119=119; |
| public static final int T__78=78; |
| public static final int T__118=118; |
| public static final int T__79=79; |
| public static final int T__73=73; |
| public static final int T__115=115; |
| public static final int EOF=-1; |
| public static final int T__74=74; |
| public static final int T__114=114; |
| public static final int T__75=75; |
| public static final int T__117=117; |
| public static final int T__76=76; |
| public static final int T__116=116; |
| public static final int T__80=80; |
| public static final int T__111=111; |
| public static final int T__81=81; |
| public static final int T__110=110; |
| public static final int T__82=82; |
| public static final int T__113=113; |
| public static final int T__83=83; |
| public static final int T__112=112; |
| public static final int RULE_WS=11; |
| public static final int RULE_ANY_OTHER=12; |
| public static final int T__88=88; |
| public static final int T__108=108; |
| public static final int T__89=89; |
| public static final int T__107=107; |
| public static final int T__109=109; |
| public static final int T__84=84; |
| public static final int T__104=104; |
| public static final int T__85=85; |
| public static final int T__103=103; |
| public static final int T__86=86; |
| public static final int T__106=106; |
| public static final int T__87=87; |
| public static final int T__105=105; |
| |
| // delegates |
| // delegators |
| |
| |
| public InternalDtoGrammarParser(TokenStream input) { |
| this(input, new RecognizerSharedState()); |
| } |
| public InternalDtoGrammarParser(TokenStream input, RecognizerSharedState state) { |
| super(input, state); |
| |
| } |
| |
| |
| public String[] getTokenNames() { return InternalDtoGrammarParser.tokenNames; } |
| public String getGrammarFileName() { return "../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g"; } |
| |
| |
| |
| private DtoGrammarGrammarAccess grammarAccess; |
| |
| public InternalDtoGrammarParser(TokenStream input, DtoGrammarGrammarAccess grammarAccess) { |
| this(input); |
| this.grammarAccess = grammarAccess; |
| registerRules(grammarAccess.getGrammar()); |
| } |
| |
| @Override |
| protected String getFirstRuleName() { |
| return "LDTOModel"; |
| } |
| |
| @Override |
| protected DtoGrammarGrammarAccess getGrammarAccess() { |
| return grammarAccess; |
| } |
| |
| |
| |
| // $ANTLR start "entryRuleLDTOModel" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:68:1: entryRuleLDTOModel returns [EObject current=null] : iv_ruleLDTOModel= ruleLDTOModel EOF ; |
| public final EObject entryRuleLDTOModel() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLDTOModel = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:69:2: (iv_ruleLDTOModel= ruleLDTOModel EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:70:2: iv_ruleLDTOModel= ruleLDTOModel EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLDTOModelRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLDTOModel_in_entryRuleLDTOModel75); |
| iv_ruleLDTOModel=ruleLDTOModel(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLDTOModel; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLDTOModel85); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLDTOModel" |
| |
| |
| // $ANTLR start "ruleLDTOModel" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:77:1: ruleLDTOModel returns [EObject current=null] : ( (lv_packages_0_0= ruleTypedPackage ) )* ; |
| public final EObject ruleLDTOModel() throws RecognitionException { |
| EObject current = null; |
| |
| EObject lv_packages_0_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:80:28: ( ( (lv_packages_0_0= ruleTypedPackage ) )* ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:81:1: ( (lv_packages_0_0= ruleTypedPackage ) )* |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:81:1: ( (lv_packages_0_0= ruleTypedPackage ) )* |
| loop1: |
| do { |
| int alt1=2; |
| int LA1_0 = input.LA(1); |
| |
| if ( (LA1_0==46) ) { |
| alt1=1; |
| } |
| |
| |
| switch (alt1) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:82:1: (lv_packages_0_0= ruleTypedPackage ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:82:1: (lv_packages_0_0= ruleTypedPackage ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:83:3: lv_packages_0_0= ruleTypedPackage |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLDTOModelAccess().getPackagesTypedPackageParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypedPackage_in_ruleLDTOModel130); |
| lv_packages_0_0=ruleTypedPackage(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLDTOModelRule()); |
| } |
| add( |
| current, |
| "packages", |
| lv_packages_0_0, |
| "TypedPackage"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop1; |
| } |
| } while (true); |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLDTOModel" |
| |
| |
| // $ANTLR start "entryRuleClass" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:107:1: entryRuleClass returns [EObject current=null] : iv_ruleClass= ruleClass EOF ; |
| public final EObject entryRuleClass() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleClass = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:108:2: (iv_ruleClass= ruleClass EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:109:2: iv_ruleClass= ruleClass EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getClassRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleClass_in_entryRuleClass166); |
| iv_ruleClass=ruleClass(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleClass; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleClass176); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleClass" |
| |
| |
| // $ANTLR start "ruleClass" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:116:1: ruleClass returns [EObject current=null] : ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () ( (lv_abstract_3_0= 'abstract' ) )? otherlv_4= 'dto' ( (lv_name_5_0= ruleValidIDWithKeywords ) ) (otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_10= '{' ( (lv_features_11_0= ruleDtoFeature ) )* otherlv_12= '}' ) | ( () ( (lv_abstract_14_0= 'abstract' ) )? otherlv_15= 'autoDto' ( (lv_name_16_0= ruleValidIDWithKeywords ) ) (otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_19= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) otherlv_21= '{' ( (lv_features_22_0= ruleDtoFeature ) )* otherlv_23= '}' ) ) ) ; |
| public final EObject ruleClass() throws RecognitionException { |
| EObject current = null; |
| |
| Token lv_abstract_3_0=null; |
| Token otherlv_4=null; |
| Token otherlv_6=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token lv_abstract_14_0=null; |
| Token otherlv_15=null; |
| Token otherlv_17=null; |
| Token otherlv_19=null; |
| Token otherlv_21=null; |
| Token otherlv_23=null; |
| EObject lv_annotations_1_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_5_0 = null; |
| |
| EObject lv_features_11_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_16_0 = null; |
| |
| EObject lv_features_22_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:119:28: ( ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () ( (lv_abstract_3_0= 'abstract' ) )? otherlv_4= 'dto' ( (lv_name_5_0= ruleValidIDWithKeywords ) ) (otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_10= '{' ( (lv_features_11_0= ruleDtoFeature ) )* otherlv_12= '}' ) | ( () ( (lv_abstract_14_0= 'abstract' ) )? otherlv_15= 'autoDto' ( (lv_name_16_0= ruleValidIDWithKeywords ) ) (otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_19= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) otherlv_21= '{' ( (lv_features_22_0= ruleDtoFeature ) )* otherlv_23= '}' ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:120:1: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () ( (lv_abstract_3_0= 'abstract' ) )? otherlv_4= 'dto' ( (lv_name_5_0= ruleValidIDWithKeywords ) ) (otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_10= '{' ( (lv_features_11_0= ruleDtoFeature ) )* otherlv_12= '}' ) | ( () ( (lv_abstract_14_0= 'abstract' ) )? otherlv_15= 'autoDto' ( (lv_name_16_0= ruleValidIDWithKeywords ) ) (otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_19= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) otherlv_21= '{' ( (lv_features_22_0= ruleDtoFeature ) )* otherlv_23= '}' ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:120:1: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () ( (lv_abstract_3_0= 'abstract' ) )? otherlv_4= 'dto' ( (lv_name_5_0= ruleValidIDWithKeywords ) ) (otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_10= '{' ( (lv_features_11_0= ruleDtoFeature ) )* otherlv_12= '}' ) | ( () ( (lv_abstract_14_0= 'abstract' ) )? otherlv_15= 'autoDto' ( (lv_name_16_0= ruleValidIDWithKeywords ) ) (otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_19= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) otherlv_21= '{' ( (lv_features_22_0= ruleDtoFeature ) )* otherlv_23= '}' ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:120:2: () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( () ( (lv_abstract_3_0= 'abstract' ) )? otherlv_4= 'dto' ( (lv_name_5_0= ruleValidIDWithKeywords ) ) (otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_10= '{' ( (lv_features_11_0= ruleDtoFeature ) )* otherlv_12= '}' ) | ( () ( (lv_abstract_14_0= 'abstract' ) )? otherlv_15= 'autoDto' ( (lv_name_16_0= ruleValidIDWithKeywords ) ) (otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_19= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) otherlv_21= '{' ( (lv_features_22_0= ruleDtoFeature ) )* otherlv_23= '}' ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:120:2: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:121:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getClassAccess().getLDtoAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:126:2: ( (lv_annotations_1_0= ruleAnnotationDef ) )* |
| loop2: |
| do { |
| int alt2=2; |
| int LA2_0 = input.LA(1); |
| |
| if ( (LA2_0==86) ) { |
| alt2=1; |
| } |
| |
| |
| switch (alt2) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:127:1: (lv_annotations_1_0= ruleAnnotationDef ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:127:1: (lv_annotations_1_0= ruleAnnotationDef ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:128:3: lv_annotations_1_0= ruleAnnotationDef |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getAnnotationsAnnotationDefParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleAnnotationDef_in_ruleClass231); |
| 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, |
| "AnnotationDef"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop2; |
| } |
| } while (true); |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:144:3: ( ( () ( (lv_abstract_3_0= 'abstract' ) )? otherlv_4= 'dto' ( (lv_name_5_0= ruleValidIDWithKeywords ) ) (otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_10= '{' ( (lv_features_11_0= ruleDtoFeature ) )* otherlv_12= '}' ) | ( () ( (lv_abstract_14_0= 'abstract' ) )? otherlv_15= 'autoDto' ( (lv_name_16_0= ruleValidIDWithKeywords ) ) (otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_19= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) otherlv_21= '{' ( (lv_features_22_0= ruleDtoFeature ) )* otherlv_23= '}' ) ) |
| int alt10=2; |
| switch ( input.LA(1) ) { |
| case 13: |
| { |
| int LA10_1 = input.LA(2); |
| |
| if ( (LA10_1==14) ) { |
| alt10=1; |
| } |
| else if ( (LA10_1==19) ) { |
| alt10=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 10, 1, input); |
| |
| throw nvae; |
| } |
| } |
| break; |
| case 14: |
| { |
| alt10=1; |
| } |
| break; |
| case 19: |
| { |
| alt10=2; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 10, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt10) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:144:4: ( () ( (lv_abstract_3_0= 'abstract' ) )? otherlv_4= 'dto' ( (lv_name_5_0= ruleValidIDWithKeywords ) ) (otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_10= '{' ( (lv_features_11_0= ruleDtoFeature ) )* otherlv_12= '}' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:144:4: ( () ( (lv_abstract_3_0= 'abstract' ) )? otherlv_4= 'dto' ( (lv_name_5_0= ruleValidIDWithKeywords ) ) (otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_10= '{' ( (lv_features_11_0= ruleDtoFeature ) )* otherlv_12= '}' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:144:5: () ( (lv_abstract_3_0= 'abstract' ) )? otherlv_4= 'dto' ( (lv_name_5_0= ruleValidIDWithKeywords ) ) (otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_10= '{' ( (lv_features_11_0= ruleDtoFeature ) )* otherlv_12= '}' |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:144:5: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:145:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getClassAccess().getLDtoAnnotationInfoAction_2_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:150:2: ( (lv_abstract_3_0= 'abstract' ) )? |
| int alt3=2; |
| int LA3_0 = input.LA(1); |
| |
| if ( (LA3_0==13) ) { |
| alt3=1; |
| } |
| switch (alt3) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:151:1: (lv_abstract_3_0= 'abstract' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:151:1: (lv_abstract_3_0= 'abstract' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:152:3: lv_abstract_3_0= 'abstract' |
| { |
| lv_abstract_3_0=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleClass261); 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; |
| |
| } |
| |
| otherlv_4=(Token)match(input,14,FollowSets000.FOLLOW_14_in_ruleClass287); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getClassAccess().getDtoKeyword_2_0_2()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:169:1: ( (lv_name_5_0= ruleValidIDWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:170:1: (lv_name_5_0= ruleValidIDWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:170:1: (lv_name_5_0= ruleValidIDWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:171:3: lv_name_5_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getNameValidIDWithKeywordsParserRuleCall_2_0_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleClass308); |
| lv_name_5_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_5_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:187:2: (otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? |
| int alt4=2; |
| int LA4_0 = input.LA(1); |
| |
| if ( (LA4_0==15) ) { |
| alt4=1; |
| } |
| switch (alt4) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:187:4: otherlv_6= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| { |
| otherlv_6=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleClass321); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getClassAccess().getExtendsKeyword_2_0_4_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:191:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:192:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:192:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:193:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getSuperTypeLDtoCrossReference_2_0_4_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleClass344); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:206:4: (otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? |
| int alt5=2; |
| int LA5_0 = input.LA(1); |
| |
| if ( (LA5_0==16) ) { |
| alt5=1; |
| } |
| switch (alt5) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:206:6: otherlv_8= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| { |
| otherlv_8=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleClass359); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getClassAccess().getWrapsKeyword_2_0_5_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:210:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:211:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:211:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:212:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getWrappedTypeLEntityCrossReference_2_0_5_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleClass382); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_10=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleClass396); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getClassAccess().getLeftCurlyBracketKeyword_2_0_6()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:229:1: ( (lv_features_11_0= ruleDtoFeature ) )* |
| loop6: |
| do { |
| int alt6=2; |
| int LA6_0 = input.LA(1); |
| |
| if ( (LA6_0==20||(LA6_0>=27 && LA6_0<=28)||(LA6_0>=31 && LA6_0<=38)||(LA6_0>=42 && LA6_0<=43)||LA6_0==86) ) { |
| alt6=1; |
| } |
| |
| |
| switch (alt6) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:230:1: (lv_features_11_0= ruleDtoFeature ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:230:1: (lv_features_11_0= ruleDtoFeature ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:231:3: lv_features_11_0= ruleDtoFeature |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getFeaturesDtoFeatureParserRuleCall_2_0_7_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDtoFeature_in_ruleClass417); |
| lv_features_11_0=ruleDtoFeature(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| current, |
| "features", |
| lv_features_11_0, |
| "DtoFeature"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop6; |
| } |
| } while (true); |
| |
| otherlv_12=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleClass430); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getClassAccess().getRightCurlyBracketKeyword_2_0_8()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:252:6: ( () ( (lv_abstract_14_0= 'abstract' ) )? otherlv_15= 'autoDto' ( (lv_name_16_0= ruleValidIDWithKeywords ) ) (otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_19= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) otherlv_21= '{' ( (lv_features_22_0= ruleDtoFeature ) )* otherlv_23= '}' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:252:6: ( () ( (lv_abstract_14_0= 'abstract' ) )? otherlv_15= 'autoDto' ( (lv_name_16_0= ruleValidIDWithKeywords ) ) (otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_19= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) otherlv_21= '{' ( (lv_features_22_0= ruleDtoFeature ) )* otherlv_23= '}' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:252:7: () ( (lv_abstract_14_0= 'abstract' ) )? otherlv_15= 'autoDto' ( (lv_name_16_0= ruleValidIDWithKeywords ) ) (otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? otherlv_19= 'wraps' ( ( ruleTYPE_CROSS_REFERENCE ) ) otherlv_21= '{' ( (lv_features_22_0= ruleDtoFeature ) )* otherlv_23= '}' |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:252:7: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:253:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getClassAccess().getLAutoInheritDtoAnnotationInfoAction_2_1_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:258:2: ( (lv_abstract_14_0= 'abstract' ) )? |
| int alt7=2; |
| int LA7_0 = input.LA(1); |
| |
| if ( (LA7_0==13) ) { |
| alt7=1; |
| } |
| switch (alt7) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:259:1: (lv_abstract_14_0= 'abstract' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:259:1: (lv_abstract_14_0= 'abstract' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:260:3: lv_abstract_14_0= 'abstract' |
| { |
| lv_abstract_14_0=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleClass465); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_abstract_14_0, grammarAccess.getClassAccess().getAbstractAbstractKeyword_2_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| setWithLastConsumed(current, "abstract", true, "abstract"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_15=(Token)match(input,19,FollowSets000.FOLLOW_19_in_ruleClass491); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getClassAccess().getAutoDtoKeyword_2_1_2()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:277:1: ( (lv_name_16_0= ruleValidIDWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:278:1: (lv_name_16_0= ruleValidIDWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:278:1: (lv_name_16_0= ruleValidIDWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:279:3: lv_name_16_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getNameValidIDWithKeywordsParserRuleCall_2_1_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleClass512); |
| lv_name_16_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_16_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:295:2: (otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? |
| int alt8=2; |
| int LA8_0 = input.LA(1); |
| |
| if ( (LA8_0==15) ) { |
| alt8=1; |
| } |
| switch (alt8) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:295:4: otherlv_17= 'extends' ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| { |
| otherlv_17=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleClass525); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_17, grammarAccess.getClassAccess().getExtendsKeyword_2_1_4_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:299:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:300:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:300:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:301:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getSuperTypeLDtoCrossReference_2_1_4_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleClass548); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_19=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleClass562); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_19, grammarAccess.getClassAccess().getWrapsKeyword_2_1_5()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:318:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:319:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:319:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:320:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getClassRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getWrappedTypeLEntityCrossReference_2_1_6_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleClass585); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_21=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleClass597); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_21, grammarAccess.getClassAccess().getLeftCurlyBracketKeyword_2_1_7()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:337:1: ( (lv_features_22_0= ruleDtoFeature ) )* |
| loop9: |
| do { |
| int alt9=2; |
| int LA9_0 = input.LA(1); |
| |
| if ( (LA9_0==20||(LA9_0>=27 && LA9_0<=28)||(LA9_0>=31 && LA9_0<=38)||(LA9_0>=42 && LA9_0<=43)||LA9_0==86) ) { |
| alt9=1; |
| } |
| |
| |
| switch (alt9) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:338:1: (lv_features_22_0= ruleDtoFeature ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:338:1: (lv_features_22_0= ruleDtoFeature ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:339:3: lv_features_22_0= ruleDtoFeature |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getClassAccess().getFeaturesDtoFeatureParserRuleCall_2_1_8_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDtoFeature_in_ruleClass618); |
| lv_features_22_0=ruleDtoFeature(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getClassRule()); |
| } |
| add( |
| current, |
| "features", |
| lv_features_22_0, |
| "DtoFeature"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop9; |
| } |
| } while (true); |
| |
| otherlv_23=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleClass631); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_23, grammarAccess.getClassAccess().getRightCurlyBracketKeyword_2_1_9()); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleClass" |
| |
| |
| // $ANTLR start "entryRuleDtoFeature" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:367:1: entryRuleDtoFeature returns [EObject current=null] : iv_ruleDtoFeature= ruleDtoFeature EOF ; |
| public final EObject entryRuleDtoFeature() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtoFeature = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:368:2: (iv_ruleDtoFeature= ruleDtoFeature EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:369:2: iv_ruleDtoFeature= ruleDtoFeature EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtoFeatureRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDtoFeature_in_entryRuleDtoFeature669); |
| iv_ruleDtoFeature=ruleDtoFeature(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtoFeature; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDtoFeature679); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtoFeature" |
| |
| |
| // $ANTLR start "ruleDtoFeature" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:376:1: ruleDtoFeature returns [EObject current=null] : ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( ( () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) ) (otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' )? ( ( (lv_mapper_13_0= ruleDtoMapper ) ) | (otherlv_14= ';' )? ) ) | ( () (otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) ) otherlv_18= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' )? ( ( (lv_mapper_26_0= ruleDtoMapper ) ) | (otherlv_27= ';' )? ) ) | ( () ( ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? ) ) | ( () ( ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? ) ) | ( () ( ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) ) ) | ( () ( ( (lv_id_66_0= 'id' ) ) | ( (lv_version_67_0= 'version' ) ) | ( (lv_uuid_68_0= 'uuid' ) ) | ( (lv_domainDescription_69_0= 'domainDescription' ) ) | ( (lv_domainKey_70_0= 'domainKey' ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_72_0= ruleMultiplicity ) )? (otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' )? ( (lv_name_76_0= ruleValidIDWithKeywords ) ) (otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' )? (otherlv_83= ';' )? ) | ( () (otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ( ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_104= ';' )? ) ) | ( () otherlv_106= 'var' ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_108_0= ruleMultiplicity ) )? (otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' )? ( (lv_name_112_0= ruleValidIDWithKeywords ) ) (otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' )? ( ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_120= ';' )? ) ) | ( () (otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) ) ) ) ) ; |
| public final EObject ruleDtoFeature() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| Token otherlv_7=null; |
| Token otherlv_8=null; |
| Token otherlv_10=null; |
| Token otherlv_12=null; |
| Token otherlv_14=null; |
| Token otherlv_16=null; |
| Token otherlv_18=null; |
| Token otherlv_20=null; |
| Token otherlv_21=null; |
| Token otherlv_23=null; |
| Token otherlv_25=null; |
| Token otherlv_27=null; |
| Token lv_transient_29_0=null; |
| Token otherlv_31=null; |
| Token otherlv_33=null; |
| Token otherlv_35=null; |
| Token otherlv_36=null; |
| Token otherlv_38=null; |
| Token otherlv_40=null; |
| Token otherlv_41=null; |
| Token lv_dirty_43_0=null; |
| Token otherlv_46=null; |
| Token otherlv_47=null; |
| Token otherlv_49=null; |
| Token otherlv_51=null; |
| Token otherlv_52=null; |
| Token lv_derived_54_0=null; |
| Token lv_domainDescription_55_0=null; |
| Token otherlv_58=null; |
| Token otherlv_59=null; |
| Token otherlv_61=null; |
| Token otherlv_63=null; |
| Token lv_id_66_0=null; |
| Token lv_version_67_0=null; |
| Token lv_uuid_68_0=null; |
| Token lv_domainDescription_69_0=null; |
| Token lv_domainKey_70_0=null; |
| Token otherlv_73=null; |
| Token otherlv_75=null; |
| Token otherlv_77=null; |
| Token otherlv_78=null; |
| Token otherlv_80=null; |
| Token otherlv_82=null; |
| Token otherlv_83=null; |
| Token otherlv_85=null; |
| Token lv_cascading_87_0=null; |
| Token lv_lazy_88_0=null; |
| Token otherlv_91=null; |
| Token otherlv_93=null; |
| Token otherlv_95=null; |
| Token otherlv_97=null; |
| Token otherlv_98=null; |
| Token otherlv_100=null; |
| Token otherlv_102=null; |
| Token otherlv_104=null; |
| Token otherlv_106=null; |
| Token otherlv_109=null; |
| Token otherlv_111=null; |
| Token otherlv_113=null; |
| Token otherlv_114=null; |
| Token otherlv_116=null; |
| Token otherlv_118=null; |
| Token otherlv_120=null; |
| Token otherlv_122=null; |
| Token otherlv_125=null; |
| Token otherlv_127=null; |
| Token otherlv_129=null; |
| EObject lv_annotations_1_0 = null; |
| |
| EObject lv_properties_9_0 = null; |
| |
| EObject lv_properties_11_0 = null; |
| |
| EObject lv_mapper_13_0 = null; |
| |
| EObject lv_properties_22_0 = null; |
| |
| EObject lv_properties_24_0 = null; |
| |
| EObject lv_mapper_26_0 = null; |
| |
| EObject lv_constraints_32_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_34_0 = null; |
| |
| EObject lv_properties_37_0 = null; |
| |
| EObject lv_properties_39_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_45_0 = null; |
| |
| EObject lv_properties_48_0 = null; |
| |
| EObject lv_properties_50_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_57_0 = null; |
| |
| EObject lv_properties_60_0 = null; |
| |
| EObject lv_properties_62_0 = null; |
| |
| EObject lv_derivedGetterExpression_64_0 = null; |
| |
| EObject lv_multiplicity_72_0 = null; |
| |
| EObject lv_constraints_74_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_76_0 = null; |
| |
| EObject lv_properties_79_0 = null; |
| |
| EObject lv_properties_81_0 = null; |
| |
| EObject lv_multiplicity_90_0 = null; |
| |
| EObject lv_constraints_92_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_94_0 = null; |
| |
| EObject lv_properties_99_0 = null; |
| |
| EObject lv_properties_101_0 = null; |
| |
| EObject lv_mapper_103_0 = null; |
| |
| EObject lv_multiplicity_108_0 = null; |
| |
| EObject lv_constraints_110_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_112_0 = null; |
| |
| EObject lv_properties_115_0 = null; |
| |
| EObject lv_properties_117_0 = null; |
| |
| EObject lv_mapper_119_0 = null; |
| |
| EObject lv_type_123_0 = null; |
| |
| AntlrDatatypeRuleToken lv_name_124_0 = null; |
| |
| EObject lv_params_126_0 = null; |
| |
| EObject lv_params_128_0 = null; |
| |
| EObject lv_body_130_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:379:28: ( ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( ( () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) ) (otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' )? ( ( (lv_mapper_13_0= ruleDtoMapper ) ) | (otherlv_14= ';' )? ) ) | ( () (otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) ) otherlv_18= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' )? ( ( (lv_mapper_26_0= ruleDtoMapper ) ) | (otherlv_27= ';' )? ) ) | ( () ( ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? ) ) | ( () ( ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? ) ) | ( () ( ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) ) ) | ( () ( ( (lv_id_66_0= 'id' ) ) | ( (lv_version_67_0= 'version' ) ) | ( (lv_uuid_68_0= 'uuid' ) ) | ( (lv_domainDescription_69_0= 'domainDescription' ) ) | ( (lv_domainKey_70_0= 'domainKey' ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_72_0= ruleMultiplicity ) )? (otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' )? ( (lv_name_76_0= ruleValidIDWithKeywords ) ) (otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' )? (otherlv_83= ';' )? ) | ( () (otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ( ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_104= ';' )? ) ) | ( () otherlv_106= 'var' ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_108_0= ruleMultiplicity ) )? (otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' )? ( (lv_name_112_0= ruleValidIDWithKeywords ) ) (otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' )? ( ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_120= ';' )? ) ) | ( () (otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:380:1: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( ( () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) ) (otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' )? ( ( (lv_mapper_13_0= ruleDtoMapper ) ) | (otherlv_14= ';' )? ) ) | ( () (otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) ) otherlv_18= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' )? ( ( (lv_mapper_26_0= ruleDtoMapper ) ) | (otherlv_27= ';' )? ) ) | ( () ( ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? ) ) | ( () ( ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? ) ) | ( () ( ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) ) ) | ( () ( ( (lv_id_66_0= 'id' ) ) | ( (lv_version_67_0= 'version' ) ) | ( (lv_uuid_68_0= 'uuid' ) ) | ( (lv_domainDescription_69_0= 'domainDescription' ) ) | ( (lv_domainKey_70_0= 'domainKey' ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_72_0= ruleMultiplicity ) )? (otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' )? ( (lv_name_76_0= ruleValidIDWithKeywords ) ) (otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' )? (otherlv_83= ';' )? ) | ( () (otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ( ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_104= ';' )? ) ) | ( () otherlv_106= 'var' ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_108_0= ruleMultiplicity ) )? (otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' )? ( (lv_name_112_0= ruleValidIDWithKeywords ) ) (otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' )? ( ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_120= ';' )? ) ) | ( () (otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:380:1: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( ( () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) ) (otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' )? ( ( (lv_mapper_13_0= ruleDtoMapper ) ) | (otherlv_14= ';' )? ) ) | ( () (otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) ) otherlv_18= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' )? ( ( (lv_mapper_26_0= ruleDtoMapper ) ) | (otherlv_27= ';' )? ) ) | ( () ( ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? ) ) | ( () ( ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? ) ) | ( () ( ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) ) ) | ( () ( ( (lv_id_66_0= 'id' ) ) | ( (lv_version_67_0= 'version' ) ) | ( (lv_uuid_68_0= 'uuid' ) ) | ( (lv_domainDescription_69_0= 'domainDescription' ) ) | ( (lv_domainKey_70_0= 'domainKey' ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_72_0= ruleMultiplicity ) )? (otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' )? ( (lv_name_76_0= ruleValidIDWithKeywords ) ) (otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' )? (otherlv_83= ';' )? ) | ( () (otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ( ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_104= ';' )? ) ) | ( () otherlv_106= 'var' ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_108_0= ruleMultiplicity ) )? (otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' )? ( (lv_name_112_0= ruleValidIDWithKeywords ) ) (otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' )? ( ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_120= ';' )? ) ) | ( () (otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:380:2: () ( (lv_annotations_1_0= ruleAnnotationDef ) )* ( ( ( () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) ) (otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' )? ( ( (lv_mapper_13_0= ruleDtoMapper ) ) | (otherlv_14= ';' )? ) ) | ( () (otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) ) otherlv_18= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' )? ( ( (lv_mapper_26_0= ruleDtoMapper ) ) | (otherlv_27= ';' )? ) ) | ( () ( ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? ) ) | ( () ( ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? ) ) | ( () ( ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) ) ) | ( () ( ( (lv_id_66_0= 'id' ) ) | ( (lv_version_67_0= 'version' ) ) | ( (lv_uuid_68_0= 'uuid' ) ) | ( (lv_domainDescription_69_0= 'domainDescription' ) ) | ( (lv_domainKey_70_0= 'domainKey' ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_72_0= ruleMultiplicity ) )? (otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' )? ( (lv_name_76_0= ruleValidIDWithKeywords ) ) (otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' )? (otherlv_83= ';' )? ) | ( () (otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ( ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_104= ';' )? ) ) | ( () otherlv_106= 'var' ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_108_0= ruleMultiplicity ) )? (otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' )? ( (lv_name_112_0= ruleValidIDWithKeywords ) ) (otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' )? ( ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_120= ';' )? ) ) | ( () (otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:380:2: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:381:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtoFeatureAccess().getLDtoFeatureAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:386:2: ( (lv_annotations_1_0= ruleAnnotationDef ) )* |
| loop11: |
| do { |
| int alt11=2; |
| int LA11_0 = input.LA(1); |
| |
| if ( (LA11_0==86) ) { |
| alt11=1; |
| } |
| |
| |
| switch (alt11) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:387:1: (lv_annotations_1_0= ruleAnnotationDef ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:387:1: (lv_annotations_1_0= ruleAnnotationDef ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:388:3: lv_annotations_1_0= ruleAnnotationDef |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getAnnotationsAnnotationDefParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleAnnotationDef_in_ruleDtoFeature734); |
| lv_annotations_1_0=ruleAnnotationDef(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "annotations", |
| lv_annotations_1_0, |
| "AnnotationDef"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop11; |
| } |
| } while (true); |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:404:3: ( ( ( () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) ) (otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' )? ( ( (lv_mapper_13_0= ruleDtoMapper ) ) | (otherlv_14= ';' )? ) ) | ( () (otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) ) otherlv_18= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' )? ( ( (lv_mapper_26_0= ruleDtoMapper ) ) | (otherlv_27= ';' )? ) ) | ( () ( ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? ) ) | ( () ( ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? ) ) | ( () ( ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) ) ) | ( () ( ( (lv_id_66_0= 'id' ) ) | ( (lv_version_67_0= 'version' ) ) | ( (lv_uuid_68_0= 'uuid' ) ) | ( (lv_domainDescription_69_0= 'domainDescription' ) ) | ( (lv_domainKey_70_0= 'domainKey' ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_72_0= ruleMultiplicity ) )? (otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' )? ( (lv_name_76_0= ruleValidIDWithKeywords ) ) (otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' )? (otherlv_83= ';' )? ) | ( () (otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ( ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_104= ';' )? ) ) | ( () otherlv_106= 'var' ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_108_0= ruleMultiplicity ) )? (otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' )? ( (lv_name_112_0= ruleValidIDWithKeywords ) ) (otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' )? ( ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_120= ';' )? ) ) | ( () (otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) ) ) ) |
| int alt57=9; |
| switch ( input.LA(1) ) { |
| case 20: |
| { |
| alt57=1; |
| } |
| break; |
| case 27: |
| { |
| alt57=2; |
| } |
| break; |
| case 28: |
| { |
| alt57=3; |
| } |
| break; |
| case 31: |
| { |
| alt57=4; |
| } |
| break; |
| case 32: |
| { |
| alt57=5; |
| } |
| break; |
| case 33: |
| case 34: |
| case 35: |
| case 36: |
| case 37: |
| { |
| alt57=6; |
| } |
| break; |
| case 38: |
| { |
| alt57=7; |
| } |
| break; |
| case 42: |
| { |
| alt57=8; |
| } |
| break; |
| case 43: |
| { |
| alt57=9; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 57, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt57) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:404:4: ( ( () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) ) (otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' )? ( ( (lv_mapper_13_0= ruleDtoMapper ) ) | (otherlv_14= ';' )? ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:404:4: ( ( () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) ) (otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' )? ( ( (lv_mapper_13_0= ruleDtoMapper ) ) | (otherlv_14= ';' )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:404:5: ( () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) ) (otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? (otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' )? ( ( (lv_mapper_13_0= ruleDtoMapper ) ) | (otherlv_14= ';' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:404:5: ( () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:404:6: () otherlv_3= 'inherit var' ( ( ruleValidLFQNWithKeywords ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:404:6: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:405:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getDtoFeatureAccess().getLDtoInheritedAttributeAnnotationInfoAction_2_0_0_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_3=(Token)match(input,20,FollowSets000.FOLLOW_20_in_ruleDtoFeature759); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDtoFeatureAccess().getInheritVarKeyword_2_0_0_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:414:1: ( ( ruleValidLFQNWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:415:1: ( ruleValidLFQNWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:415:1: ( ruleValidLFQNWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:416:3: ruleValidLFQNWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getInheritedFeatureLEntityAttributeCrossReference_2_0_0_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidLFQNWithKeywords_in_ruleDtoFeature782); |
| ruleValidLFQNWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:429:3: (otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) )? |
| int alt12=2; |
| int LA12_0 = input.LA(1); |
| |
| if ( (LA12_0==21) ) { |
| alt12=1; |
| } |
| switch (alt12) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:429:5: otherlv_5= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| { |
| otherlv_5=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleDtoFeature796); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtoFeatureAccess().getMaptoKeyword_2_0_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:433:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:434:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:434:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:435:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getTypeLDtoCrossReference_2_0_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDtoFeature819); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:448:4: (otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' )? |
| int alt14=2; |
| int LA14_0 = input.LA(1); |
| |
| if ( (LA14_0==22) ) { |
| alt14=1; |
| } |
| switch (alt14) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:448:6: otherlv_7= 'properties' otherlv_8= '(' ( (lv_properties_9_0= ruleKeyAndValue ) ) (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* otherlv_12= ')' |
| { |
| otherlv_7=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDtoFeature834); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtoFeatureAccess().getPropertiesKeyword_2_0_2_0()); |
| |
| } |
| otherlv_8=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtoFeature846); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtoFeatureAccess().getLeftParenthesisKeyword_2_0_2_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:456:1: ( (lv_properties_9_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:457:1: (lv_properties_9_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:457:1: (lv_properties_9_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:458:3: lv_properties_9_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_0_2_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature867); |
| lv_properties_9_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_9_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:474:2: (otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) )* |
| loop13: |
| do { |
| int alt13=2; |
| int LA13_0 = input.LA(1); |
| |
| if ( (LA13_0==24) ) { |
| alt13=1; |
| } |
| |
| |
| switch (alt13) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:474:4: otherlv_10= ', ' ( (lv_properties_11_0= ruleKeyAndValue ) ) |
| { |
| otherlv_10=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDtoFeature880); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtoFeatureAccess().getCommaSpaceKeyword_2_0_2_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:478:1: ( (lv_properties_11_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:479:1: (lv_properties_11_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:479:1: (lv_properties_11_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:480:3: lv_properties_11_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_0_2_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature901); |
| lv_properties_11_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_11_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop13; |
| } |
| } while (true); |
| |
| otherlv_12=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDtoFeature915); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDtoFeatureAccess().getRightParenthesisKeyword_2_0_2_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:500:3: ( ( (lv_mapper_13_0= ruleDtoMapper ) ) | (otherlv_14= ';' )? ) |
| int alt16=2; |
| int LA16_0 = input.LA(1); |
| |
| if ( (LA16_0==17) ) { |
| alt16=1; |
| } |
| else if ( (LA16_0==EOF||LA16_0==18||LA16_0==20||(LA16_0>=26 && LA16_0<=28)||(LA16_0>=31 && LA16_0<=38)||(LA16_0>=42 && LA16_0<=43)||LA16_0==86) ) { |
| alt16=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 16, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt16) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:500:4: ( (lv_mapper_13_0= ruleDtoMapper ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:500:4: ( (lv_mapper_13_0= ruleDtoMapper ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:501:1: (lv_mapper_13_0= ruleDtoMapper ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:501:1: (lv_mapper_13_0= ruleDtoMapper ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:502:3: lv_mapper_13_0= ruleDtoMapper |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getMapperDtoMapperParserRuleCall_2_0_3_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDtoMapper_in_ruleDtoFeature939); |
| lv_mapper_13_0=ruleDtoMapper(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "mapper", |
| lv_mapper_13_0, |
| "DtoMapper"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:519:6: (otherlv_14= ';' )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:519:6: (otherlv_14= ';' )? |
| int alt15=2; |
| int LA15_0 = input.LA(1); |
| |
| if ( (LA15_0==26) ) { |
| alt15=1; |
| } |
| switch (alt15) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:519:8: otherlv_14= ';' |
| { |
| otherlv_14=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleDtoFeature958); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_14, grammarAccess.getDtoFeatureAccess().getSemicolonKeyword_2_0_3_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:524:6: ( () (otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) ) otherlv_18= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' )? ( ( (lv_mapper_26_0= ruleDtoMapper ) ) | (otherlv_27= ';' )? ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:524:6: ( () (otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) ) otherlv_18= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' )? ( ( (lv_mapper_26_0= ruleDtoMapper ) ) | (otherlv_27= ';' )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:524:7: () (otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) ) otherlv_18= 'mapto' ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' )? ( ( (lv_mapper_26_0= ruleDtoMapper ) ) | (otherlv_27= ';' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:524:7: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:525:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getDtoFeatureAccess().getLDtoInheritedReferenceAnnotationInfoAction_2_1_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:530:2: (otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:530:4: otherlv_16= 'inherit ref' ( ( ruleValidLFQNWithKeywords ) ) |
| { |
| otherlv_16=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleDtoFeature991); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getDtoFeatureAccess().getInheritRefKeyword_2_1_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:534:1: ( ( ruleValidLFQNWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:535:1: ( ruleValidLFQNWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:535:1: ( ruleValidLFQNWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:536:3: ruleValidLFQNWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getInheritedFeatureLEntityReferenceCrossReference_2_1_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidLFQNWithKeywords_in_ruleDtoFeature1014); |
| ruleValidLFQNWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| otherlv_18=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleDtoFeature1027); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_18, grammarAccess.getDtoFeatureAccess().getMaptoKeyword_2_1_2()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:553:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:554:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:554:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:555:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getTypeLDtoCrossReference_2_1_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDtoFeature1050); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:568:2: (otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' )? |
| int alt18=2; |
| int LA18_0 = input.LA(1); |
| |
| if ( (LA18_0==22) ) { |
| alt18=1; |
| } |
| switch (alt18) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:568:4: otherlv_20= 'properties' otherlv_21= '(' ( (lv_properties_22_0= ruleKeyAndValue ) ) (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* otherlv_25= ')' |
| { |
| otherlv_20=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDtoFeature1063); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_20, grammarAccess.getDtoFeatureAccess().getPropertiesKeyword_2_1_4_0()); |
| |
| } |
| otherlv_21=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtoFeature1075); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_21, grammarAccess.getDtoFeatureAccess().getLeftParenthesisKeyword_2_1_4_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:576:1: ( (lv_properties_22_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:577:1: (lv_properties_22_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:577:1: (lv_properties_22_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:578:3: lv_properties_22_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_4_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature1096); |
| lv_properties_22_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_22_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:594:2: (otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) )* |
| loop17: |
| do { |
| int alt17=2; |
| int LA17_0 = input.LA(1); |
| |
| if ( (LA17_0==24) ) { |
| alt17=1; |
| } |
| |
| |
| switch (alt17) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:594:4: otherlv_23= ', ' ( (lv_properties_24_0= ruleKeyAndValue ) ) |
| { |
| otherlv_23=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDtoFeature1109); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_23, grammarAccess.getDtoFeatureAccess().getCommaSpaceKeyword_2_1_4_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:598:1: ( (lv_properties_24_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:599:1: (lv_properties_24_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:599:1: (lv_properties_24_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:600:3: lv_properties_24_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_1_4_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature1130); |
| lv_properties_24_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_24_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop17; |
| } |
| } while (true); |
| |
| otherlv_25=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDtoFeature1144); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_25, grammarAccess.getDtoFeatureAccess().getRightParenthesisKeyword_2_1_4_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:620:3: ( ( (lv_mapper_26_0= ruleDtoMapper ) ) | (otherlv_27= ';' )? ) |
| int alt20=2; |
| int LA20_0 = input.LA(1); |
| |
| if ( (LA20_0==17) ) { |
| alt20=1; |
| } |
| else if ( (LA20_0==EOF||LA20_0==18||LA20_0==20||(LA20_0>=26 && LA20_0<=28)||(LA20_0>=31 && LA20_0<=38)||(LA20_0>=42 && LA20_0<=43)||LA20_0==86) ) { |
| alt20=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 20, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt20) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:620:4: ( (lv_mapper_26_0= ruleDtoMapper ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:620:4: ( (lv_mapper_26_0= ruleDtoMapper ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:621:1: (lv_mapper_26_0= ruleDtoMapper ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:621:1: (lv_mapper_26_0= ruleDtoMapper ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:622:3: lv_mapper_26_0= ruleDtoMapper |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getMapperDtoMapperParserRuleCall_2_1_5_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDtoMapper_in_ruleDtoFeature1168); |
| lv_mapper_26_0=ruleDtoMapper(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "mapper", |
| lv_mapper_26_0, |
| "DtoMapper"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:639:6: (otherlv_27= ';' )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:639:6: (otherlv_27= ';' )? |
| int alt19=2; |
| int LA19_0 = input.LA(1); |
| |
| if ( (LA19_0==26) ) { |
| alt19=1; |
| } |
| switch (alt19) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:639:8: otherlv_27= ';' |
| { |
| otherlv_27=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleDtoFeature1187); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_27, grammarAccess.getDtoFeatureAccess().getSemicolonKeyword_2_1_5_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:644:6: ( () ( ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:644:6: ( () ( ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:644:7: () ( ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:644:7: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:645:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getDtoFeatureAccess().getLDtoAttributeAnnotationInfoAction_2_2_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:650:2: ( ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:650:3: ( (lv_transient_29_0= 'transient' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? ( (lv_name_34_0= ruleValidIDWithKeywords ) ) (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? (otherlv_41= ';' )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:650:3: ( (lv_transient_29_0= 'transient' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:651:1: (lv_transient_29_0= 'transient' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:651:1: (lv_transient_29_0= 'transient' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:652:3: lv_transient_29_0= 'transient' |
| { |
| lv_transient_29_0=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleDtoFeature1226); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_transient_29_0, grammarAccess.getDtoFeatureAccess().getTransientTransientKeyword_2_2_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "transient", true, "transient"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:665:2: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:666:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:666:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:667:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getTypeLScalarTypeCrossReference_2_2_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDtoFeature1262); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:680:2: (otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' )? |
| int alt22=2; |
| int LA22_0 = input.LA(1); |
| |
| if ( (LA22_0==29) ) { |
| alt22=1; |
| } |
| switch (alt22) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:680:4: otherlv_31= '[' ( (lv_constraints_32_0= ruleAllConstraints ) )* otherlv_33= ']' |
| { |
| otherlv_31=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleDtoFeature1275); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_31, grammarAccess.getDtoFeatureAccess().getLeftSquareBracketKeyword_2_2_1_2_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:684:1: ( (lv_constraints_32_0= ruleAllConstraints ) )* |
| loop21: |
| do { |
| int alt21=2; |
| int LA21_0 = input.LA(1); |
| |
| if ( (LA21_0==53||(LA21_0>=58 && LA21_0<=69)) ) { |
| alt21=1; |
| } |
| |
| |
| switch (alt21) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:685:1: (lv_constraints_32_0= ruleAllConstraints ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:685:1: (lv_constraints_32_0= ruleAllConstraints ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:686:3: lv_constraints_32_0= ruleAllConstraints |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_2_1_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleAllConstraints_in_ruleDtoFeature1296); |
| lv_constraints_32_0=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_32_0, |
| "AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop21; |
| } |
| } while (true); |
| |
| otherlv_33=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleDtoFeature1309); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_33, grammarAccess.getDtoFeatureAccess().getRightSquareBracketKeyword_2_2_1_2_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:706:3: ( (lv_name_34_0= ruleValidIDWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:707:1: (lv_name_34_0= ruleValidIDWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:707:1: (lv_name_34_0= ruleValidIDWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:708:3: lv_name_34_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getNameValidIDWithKeywordsParserRuleCall_2_2_1_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleDtoFeature1332); |
| lv_name_34_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_34_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:724:2: (otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' )? |
| int alt24=2; |
| int LA24_0 = input.LA(1); |
| |
| if ( (LA24_0==22) ) { |
| alt24=1; |
| } |
| switch (alt24) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:724:4: otherlv_35= 'properties' otherlv_36= '(' ( (lv_properties_37_0= ruleKeyAndValue ) ) (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* otherlv_40= ')' |
| { |
| otherlv_35=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDtoFeature1345); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_35, grammarAccess.getDtoFeatureAccess().getPropertiesKeyword_2_2_1_4_0()); |
| |
| } |
| otherlv_36=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtoFeature1357); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_36, grammarAccess.getDtoFeatureAccess().getLeftParenthesisKeyword_2_2_1_4_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:732:1: ( (lv_properties_37_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:733:1: (lv_properties_37_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:733:1: (lv_properties_37_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:734:3: lv_properties_37_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_2_1_4_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature1378); |
| lv_properties_37_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_37_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:750:2: (otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) )* |
| loop23: |
| do { |
| int alt23=2; |
| int LA23_0 = input.LA(1); |
| |
| if ( (LA23_0==24) ) { |
| alt23=1; |
| } |
| |
| |
| switch (alt23) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:750:4: otherlv_38= ', ' ( (lv_properties_39_0= ruleKeyAndValue ) ) |
| { |
| otherlv_38=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDtoFeature1391); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_38, grammarAccess.getDtoFeatureAccess().getCommaSpaceKeyword_2_2_1_4_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:754:1: ( (lv_properties_39_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:755:1: (lv_properties_39_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:755:1: (lv_properties_39_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:756:3: lv_properties_39_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_2_1_4_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature1412); |
| lv_properties_39_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_39_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop23; |
| } |
| } while (true); |
| |
| otherlv_40=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDtoFeature1426); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_40, grammarAccess.getDtoFeatureAccess().getRightParenthesisKeyword_2_2_1_4_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:776:3: (otherlv_41= ';' )? |
| int alt25=2; |
| int LA25_0 = input.LA(1); |
| |
| if ( (LA25_0==26) ) { |
| alt25=1; |
| } |
| switch (alt25) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:776:5: otherlv_41= ';' |
| { |
| otherlv_41=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleDtoFeature1441); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_41, grammarAccess.getDtoFeatureAccess().getSemicolonKeyword_2_2_1_5()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:781:6: ( () ( ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:781:6: ( () ( ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:781:7: () ( ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:781:7: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:782:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getDtoFeatureAccess().getLDtoAttributeAnnotationInfoAction_2_3_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:787:2: ( ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:787:3: ( (lv_dirty_43_0= 'dirty' ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_45_0= ruleValidIDWithKeywords ) ) (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? (otherlv_52= ';' )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:787:3: ( (lv_dirty_43_0= 'dirty' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:788:1: (lv_dirty_43_0= 'dirty' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:788:1: (lv_dirty_43_0= 'dirty' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:789:3: lv_dirty_43_0= 'dirty' |
| { |
| lv_dirty_43_0=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtoFeature1480); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_dirty_43_0, grammarAccess.getDtoFeatureAccess().getDirtyDirtyKeyword_2_3_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "dirty", true, "dirty"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:802:2: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:803:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:803:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:804:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getTypeLScalarTypeCrossReference_2_3_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDtoFeature1516); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:817:2: ( (lv_name_45_0= ruleValidIDWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:818:1: (lv_name_45_0= ruleValidIDWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:818:1: (lv_name_45_0= ruleValidIDWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:819:3: lv_name_45_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getNameValidIDWithKeywordsParserRuleCall_2_3_1_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleDtoFeature1537); |
| lv_name_45_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_45_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:835:2: (otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' )? |
| int alt27=2; |
| int LA27_0 = input.LA(1); |
| |
| if ( (LA27_0==22) ) { |
| alt27=1; |
| } |
| switch (alt27) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:835:4: otherlv_46= 'properties' otherlv_47= '(' ( (lv_properties_48_0= ruleKeyAndValue ) ) (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* otherlv_51= ')' |
| { |
| otherlv_46=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDtoFeature1550); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_46, grammarAccess.getDtoFeatureAccess().getPropertiesKeyword_2_3_1_3_0()); |
| |
| } |
| otherlv_47=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtoFeature1562); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_47, grammarAccess.getDtoFeatureAccess().getLeftParenthesisKeyword_2_3_1_3_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:843:1: ( (lv_properties_48_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:844:1: (lv_properties_48_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:844:1: (lv_properties_48_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:845:3: lv_properties_48_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_3_1_3_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature1583); |
| lv_properties_48_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_48_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:861:2: (otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) )* |
| loop26: |
| do { |
| int alt26=2; |
| int LA26_0 = input.LA(1); |
| |
| if ( (LA26_0==24) ) { |
| alt26=1; |
| } |
| |
| |
| switch (alt26) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:861:4: otherlv_49= ', ' ( (lv_properties_50_0= ruleKeyAndValue ) ) |
| { |
| otherlv_49=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDtoFeature1596); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_49, grammarAccess.getDtoFeatureAccess().getCommaSpaceKeyword_2_3_1_3_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:865:1: ( (lv_properties_50_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:866:1: (lv_properties_50_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:866:1: (lv_properties_50_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:867:3: lv_properties_50_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_3_1_3_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature1617); |
| lv_properties_50_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_50_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop26; |
| } |
| } while (true); |
| |
| otherlv_51=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDtoFeature1631); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_51, grammarAccess.getDtoFeatureAccess().getRightParenthesisKeyword_2_3_1_3_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:887:3: (otherlv_52= ';' )? |
| int alt28=2; |
| int LA28_0 = input.LA(1); |
| |
| if ( (LA28_0==26) ) { |
| alt28=1; |
| } |
| switch (alt28) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:887:5: otherlv_52= ';' |
| { |
| otherlv_52=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleDtoFeature1646); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_52, grammarAccess.getDtoFeatureAccess().getSemicolonKeyword_2_3_1_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 5 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:892:6: ( () ( ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:892:6: ( () ( ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:892:7: () ( ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:892:7: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:893:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getDtoFeatureAccess().getLDtoAttributeAnnotationInfoAction_2_4_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:898:2: ( ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:898:3: ( (lv_derived_54_0= 'derived' ) ) ( (lv_domainDescription_55_0= 'domainDescription' ) )? ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_name_57_0= ruleValidIDWithKeywords ) ) (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:898:3: ( (lv_derived_54_0= 'derived' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:899:1: (lv_derived_54_0= 'derived' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:899:1: (lv_derived_54_0= 'derived' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:900:3: lv_derived_54_0= 'derived' |
| { |
| lv_derived_54_0=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleDtoFeature1685); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_derived_54_0, grammarAccess.getDtoFeatureAccess().getDerivedDerivedKeyword_2_4_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "derived", true, "derived"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:913:2: ( (lv_domainDescription_55_0= 'domainDescription' ) )? |
| int alt29=2; |
| int LA29_0 = input.LA(1); |
| |
| if ( (LA29_0==33) ) { |
| alt29=1; |
| } |
| switch (alt29) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:914:1: (lv_domainDescription_55_0= 'domainDescription' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:914:1: (lv_domainDescription_55_0= 'domainDescription' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:915:3: lv_domainDescription_55_0= 'domainDescription' |
| { |
| lv_domainDescription_55_0=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleDtoFeature1716); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_domainDescription_55_0, grammarAccess.getDtoFeatureAccess().getDomainDescriptionDomainDescriptionKeyword_2_4_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "domainDescription", true, "domainDescription"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:928:3: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:929:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:929:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:930:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getTypeLScalarTypeCrossReference_2_4_1_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDtoFeature1753); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:943:2: ( (lv_name_57_0= ruleValidIDWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:944:1: (lv_name_57_0= ruleValidIDWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:944:1: (lv_name_57_0= ruleValidIDWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:945:3: lv_name_57_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getNameValidIDWithKeywordsParserRuleCall_2_4_1_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleDtoFeature1774); |
| lv_name_57_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_57_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:961:2: (otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' )? |
| int alt31=2; |
| int LA31_0 = input.LA(1); |
| |
| if ( (LA31_0==22) ) { |
| alt31=1; |
| } |
| switch (alt31) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:961:4: otherlv_58= 'properties' otherlv_59= '(' ( (lv_properties_60_0= ruleKeyAndValue ) ) (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* otherlv_63= ')' |
| { |
| otherlv_58=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDtoFeature1787); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_58, grammarAccess.getDtoFeatureAccess().getPropertiesKeyword_2_4_1_4_0()); |
| |
| } |
| otherlv_59=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtoFeature1799); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_59, grammarAccess.getDtoFeatureAccess().getLeftParenthesisKeyword_2_4_1_4_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:969:1: ( (lv_properties_60_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:970:1: (lv_properties_60_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:970:1: (lv_properties_60_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:971:3: lv_properties_60_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_4_1_4_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature1820); |
| lv_properties_60_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_60_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:987:2: (otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) )* |
| loop30: |
| do { |
| int alt30=2; |
| int LA30_0 = input.LA(1); |
| |
| if ( (LA30_0==24) ) { |
| alt30=1; |
| } |
| |
| |
| switch (alt30) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:987:4: otherlv_61= ', ' ( (lv_properties_62_0= ruleKeyAndValue ) ) |
| { |
| otherlv_61=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDtoFeature1833); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_61, grammarAccess.getDtoFeatureAccess().getCommaSpaceKeyword_2_4_1_4_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:991:1: ( (lv_properties_62_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:992:1: (lv_properties_62_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:992:1: (lv_properties_62_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:993:3: lv_properties_62_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_4_1_4_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature1854); |
| lv_properties_62_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_62_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop30; |
| } |
| } while (true); |
| |
| otherlv_63=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDtoFeature1868); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_63, grammarAccess.getDtoFeatureAccess().getRightParenthesisKeyword_2_4_1_4_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1013:3: ( (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1014:1: (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1014:1: (lv_derivedGetterExpression_64_0= ruleXBlockExpression ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1015:3: lv_derivedGetterExpression_64_0= ruleXBlockExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getDerivedGetterExpressionXBlockExpressionParserRuleCall_2_4_1_5_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleXBlockExpression_in_ruleDtoFeature1891); |
| lv_derivedGetterExpression_64_0=ruleXBlockExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "derivedGetterExpression", |
| lv_derivedGetterExpression_64_0, |
| "XBlockExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 6 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1032:6: ( () ( ( (lv_id_66_0= 'id' ) ) | ( (lv_version_67_0= 'version' ) ) | ( (lv_uuid_68_0= 'uuid' ) ) | ( (lv_domainDescription_69_0= 'domainDescription' ) ) | ( (lv_domainKey_70_0= 'domainKey' ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_72_0= ruleMultiplicity ) )? (otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' )? ( (lv_name_76_0= ruleValidIDWithKeywords ) ) (otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' )? (otherlv_83= ';' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1032:6: ( () ( ( (lv_id_66_0= 'id' ) ) | ( (lv_version_67_0= 'version' ) ) | ( (lv_uuid_68_0= 'uuid' ) ) | ( (lv_domainDescription_69_0= 'domainDescription' ) ) | ( (lv_domainKey_70_0= 'domainKey' ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_72_0= ruleMultiplicity ) )? (otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' )? ( (lv_name_76_0= ruleValidIDWithKeywords ) ) (otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' )? (otherlv_83= ';' )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1032:7: () ( ( (lv_id_66_0= 'id' ) ) | ( (lv_version_67_0= 'version' ) ) | ( (lv_uuid_68_0= 'uuid' ) ) | ( (lv_domainDescription_69_0= 'domainDescription' ) ) | ( (lv_domainKey_70_0= 'domainKey' ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_72_0= ruleMultiplicity ) )? (otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' )? ( (lv_name_76_0= ruleValidIDWithKeywords ) ) (otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' )? (otherlv_83= ';' )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1032:7: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1033:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getDtoFeatureAccess().getLDtoAttributeAnnotationInfoAction_2_5_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1038:2: ( ( (lv_id_66_0= 'id' ) ) | ( (lv_version_67_0= 'version' ) ) | ( (lv_uuid_68_0= 'uuid' ) ) | ( (lv_domainDescription_69_0= 'domainDescription' ) ) | ( (lv_domainKey_70_0= 'domainKey' ) ) ) |
| int alt32=5; |
| switch ( input.LA(1) ) { |
| case 34: |
| { |
| alt32=1; |
| } |
| break; |
| case 35: |
| { |
| alt32=2; |
| } |
| break; |
| case 36: |
| { |
| alt32=3; |
| } |
| break; |
| case 33: |
| { |
| alt32=4; |
| } |
| break; |
| case 37: |
| { |
| alt32=5; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 32, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt32) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1038:3: ( (lv_id_66_0= 'id' ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1038:3: ( (lv_id_66_0= 'id' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1039:1: (lv_id_66_0= 'id' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1039:1: (lv_id_66_0= 'id' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1040:3: lv_id_66_0= 'id' |
| { |
| lv_id_66_0=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleDtoFeature1928); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_id_66_0, grammarAccess.getDtoFeatureAccess().getIdIdKeyword_2_5_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "id", true, "id"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1054:6: ( (lv_version_67_0= 'version' ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1054:6: ( (lv_version_67_0= 'version' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1055:1: (lv_version_67_0= 'version' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1055:1: (lv_version_67_0= 'version' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1056:3: lv_version_67_0= 'version' |
| { |
| lv_version_67_0=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleDtoFeature1965); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_version_67_0, grammarAccess.getDtoFeatureAccess().getVersionVersionKeyword_2_5_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "version", true, "version"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1070:6: ( (lv_uuid_68_0= 'uuid' ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1070:6: ( (lv_uuid_68_0= 'uuid' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1071:1: (lv_uuid_68_0= 'uuid' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1071:1: (lv_uuid_68_0= 'uuid' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1072:3: lv_uuid_68_0= 'uuid' |
| { |
| lv_uuid_68_0=(Token)match(input,36,FollowSets000.FOLLOW_36_in_ruleDtoFeature2002); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_uuid_68_0, grammarAccess.getDtoFeatureAccess().getUuidUuidKeyword_2_5_1_2_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "uuid", true, "uuid"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 4 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1086:6: ( (lv_domainDescription_69_0= 'domainDescription' ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1086:6: ( (lv_domainDescription_69_0= 'domainDescription' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1087:1: (lv_domainDescription_69_0= 'domainDescription' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1087:1: (lv_domainDescription_69_0= 'domainDescription' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1088:3: lv_domainDescription_69_0= 'domainDescription' |
| { |
| lv_domainDescription_69_0=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleDtoFeature2039); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_domainDescription_69_0, grammarAccess.getDtoFeatureAccess().getDomainDescriptionDomainDescriptionKeyword_2_5_1_3_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "domainDescription", true, "domainDescription"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 5 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1102:6: ( (lv_domainKey_70_0= 'domainKey' ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1102:6: ( (lv_domainKey_70_0= 'domainKey' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1103:1: (lv_domainKey_70_0= 'domainKey' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1103:1: (lv_domainKey_70_0= 'domainKey' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1104:3: lv_domainKey_70_0= 'domainKey' |
| { |
| lv_domainKey_70_0=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleDtoFeature2076); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_domainKey_70_0, grammarAccess.getDtoFeatureAccess().getDomainKeyDomainKeyKeyword_2_5_1_4_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "domainKey", true, "domainKey"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1117:3: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1118:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1118:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1119:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getTypeLScalarTypeCrossReference_2_5_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDtoFeature2113); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1132:2: ( (lv_multiplicity_72_0= ruleMultiplicity ) )? |
| int alt33=2; |
| int LA33_0 = input.LA(1); |
| |
| if ( (LA33_0==29) ) { |
| int LA33_1 = input.LA(2); |
| |
| if ( (LA33_1==76||LA33_1==84||LA33_1==143||(LA33_1>=154 && LA33_1<=155)) ) { |
| alt33=1; |
| } |
| } |
| switch (alt33) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1133:1: (lv_multiplicity_72_0= ruleMultiplicity ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1133:1: (lv_multiplicity_72_0= ruleMultiplicity ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1134:3: lv_multiplicity_72_0= ruleMultiplicity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_5_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicity_in_ruleDtoFeature2134); |
| lv_multiplicity_72_0=ruleMultiplicity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "multiplicity", |
| lv_multiplicity_72_0, |
| "Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1150:3: (otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' )? |
| int alt35=2; |
| int LA35_0 = input.LA(1); |
| |
| if ( (LA35_0==29) ) { |
| alt35=1; |
| } |
| switch (alt35) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1150:5: otherlv_73= '[' ( (lv_constraints_74_0= ruleAllConstraints ) )* otherlv_75= ']' |
| { |
| otherlv_73=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleDtoFeature2148); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_73, grammarAccess.getDtoFeatureAccess().getLeftSquareBracketKeyword_2_5_4_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1154:1: ( (lv_constraints_74_0= ruleAllConstraints ) )* |
| loop34: |
| do { |
| int alt34=2; |
| int LA34_0 = input.LA(1); |
| |
| if ( (LA34_0==53||(LA34_0>=58 && LA34_0<=69)) ) { |
| alt34=1; |
| } |
| |
| |
| switch (alt34) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1155:1: (lv_constraints_74_0= ruleAllConstraints ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1155:1: (lv_constraints_74_0= ruleAllConstraints ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1156:3: lv_constraints_74_0= ruleAllConstraints |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_5_4_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleAllConstraints_in_ruleDtoFeature2169); |
| lv_constraints_74_0=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_74_0, |
| "AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop34; |
| } |
| } while (true); |
| |
| otherlv_75=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleDtoFeature2182); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_75, grammarAccess.getDtoFeatureAccess().getRightSquareBracketKeyword_2_5_4_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1176:3: ( (lv_name_76_0= ruleValidIDWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1177:1: (lv_name_76_0= ruleValidIDWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1177:1: (lv_name_76_0= ruleValidIDWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1178:3: lv_name_76_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getNameValidIDWithKeywordsParserRuleCall_2_5_5_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleDtoFeature2205); |
| lv_name_76_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_76_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1194:2: (otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' )? |
| int alt37=2; |
| int LA37_0 = input.LA(1); |
| |
| if ( (LA37_0==22) ) { |
| alt37=1; |
| } |
| switch (alt37) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1194:4: otherlv_77= 'properties' otherlv_78= '(' ( (lv_properties_79_0= ruleKeyAndValue ) ) (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* otherlv_82= ')' |
| { |
| otherlv_77=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDtoFeature2218); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_77, grammarAccess.getDtoFeatureAccess().getPropertiesKeyword_2_5_6_0()); |
| |
| } |
| otherlv_78=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtoFeature2230); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_78, grammarAccess.getDtoFeatureAccess().getLeftParenthesisKeyword_2_5_6_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1202:1: ( (lv_properties_79_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1203:1: (lv_properties_79_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1203:1: (lv_properties_79_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1204:3: lv_properties_79_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_5_6_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature2251); |
| lv_properties_79_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_79_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1220:2: (otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) )* |
| loop36: |
| do { |
| int alt36=2; |
| int LA36_0 = input.LA(1); |
| |
| if ( (LA36_0==24) ) { |
| alt36=1; |
| } |
| |
| |
| switch (alt36) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1220:4: otherlv_80= ', ' ( (lv_properties_81_0= ruleKeyAndValue ) ) |
| { |
| otherlv_80=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDtoFeature2264); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_80, grammarAccess.getDtoFeatureAccess().getCommaSpaceKeyword_2_5_6_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1224:1: ( (lv_properties_81_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1225:1: (lv_properties_81_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1225:1: (lv_properties_81_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1226:3: lv_properties_81_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_5_6_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature2285); |
| lv_properties_81_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_81_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop36; |
| } |
| } while (true); |
| |
| otherlv_82=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDtoFeature2299); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_82, grammarAccess.getDtoFeatureAccess().getRightParenthesisKeyword_2_5_6_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1246:3: (otherlv_83= ';' )? |
| int alt38=2; |
| int LA38_0 = input.LA(1); |
| |
| if ( (LA38_0==26) ) { |
| alt38=1; |
| } |
| switch (alt38) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1246:5: otherlv_83= ';' |
| { |
| otherlv_83=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleDtoFeature2314); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_83, grammarAccess.getDtoFeatureAccess().getSemicolonKeyword_2_5_7()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 7 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1251:6: ( () (otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ( ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_104= ';' )? ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1251:6: ( () (otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ( ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_104= ';' )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1251:7: () (otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) ( ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_104= ';' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1251:7: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1252:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getDtoFeatureAccess().getLDtoReferenceAnnotationInfoAction_2_6_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1257:2: (otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1257:4: otherlv_85= 'ref' ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_90_0= ruleMultiplicity ) )? (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? ( (lv_name_94_0= ruleValidIDWithKeywords ) ) (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? |
| { |
| otherlv_85=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleDtoFeature2346); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_85, grammarAccess.getDtoFeatureAccess().getRefKeyword_2_6_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1261:1: ( ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1263:1: ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1263:1: ( ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1264:2: ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1()); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1267:2: ( ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1268:3: ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1268:3: ( ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) )* |
| loop39: |
| do { |
| int alt39=3; |
| int LA39_0 = input.LA(1); |
| |
| if ( LA39_0 ==39 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1(), 0) ) { |
| alt39=1; |
| } |
| else if ( LA39_0 ==40 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1(), 1) ) { |
| alt39=2; |
| } |
| |
| |
| switch (alt39) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1270:4: ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1270:4: ({...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1271:5: {...}? => ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtoFeature", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1(), 0)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1271:113: ( ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1272:6: ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1(), 0); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1275:6: ({...}? => ( (lv_cascading_87_0= 'cascade' ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1275:7: {...}? => ( (lv_cascading_87_0= 'cascade' ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtoFeature", "true"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1275:16: ( (lv_cascading_87_0= 'cascade' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1276:1: (lv_cascading_87_0= 'cascade' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1276:1: (lv_cascading_87_0= 'cascade' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1277:3: lv_cascading_87_0= 'cascade' |
| { |
| lv_cascading_87_0=(Token)match(input,39,FollowSets000.FOLLOW_39_in_ruleDtoFeature2409); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_cascading_87_0, grammarAccess.getDtoFeatureAccess().getCascadingCascadeKeyword_2_6_1_1_0_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "cascading", true, "cascade"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1297:4: ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1297:4: ({...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1298:5: {...}? => ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtoFeature", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1(), 1)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1298:113: ( ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1299:6: ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1(), 1); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1302:6: ({...}? => ( (lv_lazy_88_0= 'lazy' ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1302:7: {...}? => ( (lv_lazy_88_0= 'lazy' ) ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtoFeature", "true"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1302:16: ( (lv_lazy_88_0= 'lazy' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1303:1: (lv_lazy_88_0= 'lazy' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1303:1: (lv_lazy_88_0= 'lazy' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1304:3: lv_lazy_88_0= 'lazy' |
| { |
| lv_lazy_88_0=(Token)match(input,40,FollowSets000.FOLLOW_40_in_ruleDtoFeature2494); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(lv_lazy_88_0, grammarAccess.getDtoFeatureAccess().getLazyLazyKeyword_2_6_1_1_1_0()); |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| setWithLastConsumed(current, "lazy", true, "lazy"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop39; |
| } |
| } while (true); |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtoFeatureAccess().getUnorderedGroup_2_6_1_1()); |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1331:2: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1332:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1332:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1333:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getTypeLDtoCrossReference_2_6_1_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDtoFeature2570); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1346:2: ( (lv_multiplicity_90_0= ruleMultiplicity ) )? |
| int alt40=2; |
| int LA40_0 = input.LA(1); |
| |
| if ( (LA40_0==29) ) { |
| int LA40_1 = input.LA(2); |
| |
| if ( (LA40_1==76||LA40_1==84||LA40_1==143||(LA40_1>=154 && LA40_1<=155)) ) { |
| alt40=1; |
| } |
| } |
| switch (alt40) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1347:1: (lv_multiplicity_90_0= ruleMultiplicity ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1347:1: (lv_multiplicity_90_0= ruleMultiplicity ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1348:3: lv_multiplicity_90_0= ruleMultiplicity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_6_1_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicity_in_ruleDtoFeature2591); |
| lv_multiplicity_90_0=ruleMultiplicity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "multiplicity", |
| lv_multiplicity_90_0, |
| "Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1364:3: (otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' )? |
| int alt42=2; |
| int LA42_0 = input.LA(1); |
| |
| if ( (LA42_0==29) ) { |
| alt42=1; |
| } |
| switch (alt42) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1364:5: otherlv_91= '[' ( (lv_constraints_92_0= ruleAllConstraints ) )* otherlv_93= ']' |
| { |
| otherlv_91=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleDtoFeature2605); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_91, grammarAccess.getDtoFeatureAccess().getLeftSquareBracketKeyword_2_6_1_4_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1368:1: ( (lv_constraints_92_0= ruleAllConstraints ) )* |
| loop41: |
| do { |
| int alt41=2; |
| int LA41_0 = input.LA(1); |
| |
| if ( (LA41_0==53||(LA41_0>=58 && LA41_0<=69)) ) { |
| alt41=1; |
| } |
| |
| |
| switch (alt41) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1369:1: (lv_constraints_92_0= ruleAllConstraints ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1369:1: (lv_constraints_92_0= ruleAllConstraints ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1370:3: lv_constraints_92_0= ruleAllConstraints |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_6_1_4_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleAllConstraints_in_ruleDtoFeature2626); |
| lv_constraints_92_0=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_92_0, |
| "AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop41; |
| } |
| } while (true); |
| |
| otherlv_93=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleDtoFeature2639); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_93, grammarAccess.getDtoFeatureAccess().getRightSquareBracketKeyword_2_6_1_4_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1390:3: ( (lv_name_94_0= ruleValidIDWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1391:1: (lv_name_94_0= ruleValidIDWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1391:1: (lv_name_94_0= ruleValidIDWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1392:3: lv_name_94_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getNameValidIDWithKeywordsParserRuleCall_2_6_1_5_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleDtoFeature2662); |
| lv_name_94_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_94_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1408:2: (otherlv_95= 'opposite' ( ( ruleLFQN ) ) )? |
| int alt43=2; |
| int LA43_0 = input.LA(1); |
| |
| if ( (LA43_0==41) ) { |
| alt43=1; |
| } |
| switch (alt43) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1408:4: otherlv_95= 'opposite' ( ( ruleLFQN ) ) |
| { |
| otherlv_95=(Token)match(input,41,FollowSets000.FOLLOW_41_in_ruleDtoFeature2675); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_95, grammarAccess.getDtoFeatureAccess().getOppositeKeyword_2_6_1_6_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1412:1: ( ( ruleLFQN ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1413:1: ( ruleLFQN ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1413:1: ( ruleLFQN ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1414:3: ruleLFQN |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getOppositeLDtoReferenceCrossReference_2_6_1_6_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLFQN_in_ruleDtoFeature2698); |
| ruleLFQN(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1427:4: (otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' )? |
| int alt45=2; |
| int LA45_0 = input.LA(1); |
| |
| if ( (LA45_0==22) ) { |
| alt45=1; |
| } |
| switch (alt45) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1427:6: otherlv_97= 'properties' otherlv_98= '(' ( (lv_properties_99_0= ruleKeyAndValue ) ) (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* otherlv_102= ')' |
| { |
| otherlv_97=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDtoFeature2713); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_97, grammarAccess.getDtoFeatureAccess().getPropertiesKeyword_2_6_1_7_0()); |
| |
| } |
| otherlv_98=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtoFeature2725); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_98, grammarAccess.getDtoFeatureAccess().getLeftParenthesisKeyword_2_6_1_7_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1435:1: ( (lv_properties_99_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1436:1: (lv_properties_99_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1436:1: (lv_properties_99_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1437:3: lv_properties_99_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_6_1_7_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature2746); |
| lv_properties_99_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_99_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1453:2: (otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) )* |
| loop44: |
| do { |
| int alt44=2; |
| int LA44_0 = input.LA(1); |
| |
| if ( (LA44_0==24) ) { |
| alt44=1; |
| } |
| |
| |
| switch (alt44) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1453:4: otherlv_100= ', ' ( (lv_properties_101_0= ruleKeyAndValue ) ) |
| { |
| otherlv_100=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDtoFeature2759); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_100, grammarAccess.getDtoFeatureAccess().getCommaSpaceKeyword_2_6_1_7_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1457:1: ( (lv_properties_101_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1458:1: (lv_properties_101_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1458:1: (lv_properties_101_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1459:3: lv_properties_101_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_6_1_7_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature2780); |
| lv_properties_101_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_101_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop44; |
| } |
| } while (true); |
| |
| otherlv_102=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDtoFeature2794); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_102, grammarAccess.getDtoFeatureAccess().getRightParenthesisKeyword_2_6_1_7_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1479:4: ( ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_104= ';' )? ) |
| int alt47=2; |
| int LA47_0 = input.LA(1); |
| |
| if ( (LA47_0==17) ) { |
| alt47=1; |
| } |
| else if ( (LA47_0==EOF||LA47_0==18||LA47_0==20||(LA47_0>=26 && LA47_0<=28)||(LA47_0>=31 && LA47_0<=38)||(LA47_0>=42 && LA47_0<=43)||LA47_0==86) ) { |
| alt47=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 47, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt47) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1479:5: ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1479:5: ( (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1480:1: (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1480:1: (lv_mapper_103_0= ruleLimitedMapperDtoMapper ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1481:3: lv_mapper_103_0= ruleLimitedMapperDtoMapper |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getMapperLimitedMapperDtoMapperParserRuleCall_2_6_2_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLimitedMapperDtoMapper_in_ruleDtoFeature2819); |
| lv_mapper_103_0=ruleLimitedMapperDtoMapper(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "mapper", |
| lv_mapper_103_0, |
| "LimitedMapperDtoMapper"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1498:6: (otherlv_104= ';' )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1498:6: (otherlv_104= ';' )? |
| int alt46=2; |
| int LA46_0 = input.LA(1); |
| |
| if ( (LA46_0==26) ) { |
| alt46=1; |
| } |
| switch (alt46) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1498:8: otherlv_104= ';' |
| { |
| otherlv_104=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleDtoFeature2838); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_104, grammarAccess.getDtoFeatureAccess().getSemicolonKeyword_2_6_2_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 8 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1503:6: ( () otherlv_106= 'var' ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_108_0= ruleMultiplicity ) )? (otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' )? ( (lv_name_112_0= ruleValidIDWithKeywords ) ) (otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' )? ( ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_120= ';' )? ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1503:6: ( () otherlv_106= 'var' ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_108_0= ruleMultiplicity ) )? (otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' )? ( (lv_name_112_0= ruleValidIDWithKeywords ) ) (otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' )? ( ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_120= ';' )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1503:7: () otherlv_106= 'var' ( ( ruleTYPE_CROSS_REFERENCE ) ) ( (lv_multiplicity_108_0= ruleMultiplicity ) )? (otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' )? ( (lv_name_112_0= ruleValidIDWithKeywords ) ) (otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' )? ( ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_120= ';' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1503:7: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1504:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getDtoFeatureAccess().getLDtoAttributeAnnotationInfoAction_2_7_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_106=(Token)match(input,42,FollowSets000.FOLLOW_42_in_ruleDtoFeature2870); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_106, grammarAccess.getDtoFeatureAccess().getVarKeyword_2_7_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1513:1: ( ( ruleTYPE_CROSS_REFERENCE ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1514:1: ( ruleTYPE_CROSS_REFERENCE ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1514:1: ( ruleTYPE_CROSS_REFERENCE ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1515:3: ruleTYPE_CROSS_REFERENCE |
| { |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElement(grammarAccess.getDtoFeatureRule()); |
| } |
| |
| } |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getTypeLScalarTypeCrossReference_2_7_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTYPE_CROSS_REFERENCE_in_ruleDtoFeature2893); |
| ruleTYPE_CROSS_REFERENCE(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1528:2: ( (lv_multiplicity_108_0= ruleMultiplicity ) )? |
| int alt48=2; |
| int LA48_0 = input.LA(1); |
| |
| if ( (LA48_0==29) ) { |
| int LA48_1 = input.LA(2); |
| |
| if ( (LA48_1==76||LA48_1==84||LA48_1==143||(LA48_1>=154 && LA48_1<=155)) ) { |
| alt48=1; |
| } |
| } |
| switch (alt48) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1529:1: (lv_multiplicity_108_0= ruleMultiplicity ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1529:1: (lv_multiplicity_108_0= ruleMultiplicity ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1530:3: lv_multiplicity_108_0= ruleMultiplicity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getMultiplicityMultiplicityParserRuleCall_2_7_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleMultiplicity_in_ruleDtoFeature2914); |
| lv_multiplicity_108_0=ruleMultiplicity(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "multiplicity", |
| lv_multiplicity_108_0, |
| "Multiplicity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1546:3: (otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' )? |
| int alt50=2; |
| int LA50_0 = input.LA(1); |
| |
| if ( (LA50_0==29) ) { |
| alt50=1; |
| } |
| switch (alt50) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1546:5: otherlv_109= '[' ( (lv_constraints_110_0= ruleAllConstraints ) )* otherlv_111= ']' |
| { |
| otherlv_109=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleDtoFeature2928); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_109, grammarAccess.getDtoFeatureAccess().getLeftSquareBracketKeyword_2_7_4_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1550:1: ( (lv_constraints_110_0= ruleAllConstraints ) )* |
| loop49: |
| do { |
| int alt49=2; |
| int LA49_0 = input.LA(1); |
| |
| if ( (LA49_0==53||(LA49_0>=58 && LA49_0<=69)) ) { |
| alt49=1; |
| } |
| |
| |
| switch (alt49) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1551:1: (lv_constraints_110_0= ruleAllConstraints ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1551:1: (lv_constraints_110_0= ruleAllConstraints ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1552:3: lv_constraints_110_0= ruleAllConstraints |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getConstraintsAllConstraintsParserRuleCall_2_7_4_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleAllConstraints_in_ruleDtoFeature2949); |
| lv_constraints_110_0=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "constraints", |
| lv_constraints_110_0, |
| "AllConstraints"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop49; |
| } |
| } while (true); |
| |
| otherlv_111=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleDtoFeature2962); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_111, grammarAccess.getDtoFeatureAccess().getRightSquareBracketKeyword_2_7_4_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1572:3: ( (lv_name_112_0= ruleValidIDWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1573:1: (lv_name_112_0= ruleValidIDWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1573:1: (lv_name_112_0= ruleValidIDWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1574:3: lv_name_112_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getNameValidIDWithKeywordsParserRuleCall_2_7_5_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleDtoFeature2985); |
| lv_name_112_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_112_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1590:2: (otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' )? |
| int alt52=2; |
| int LA52_0 = input.LA(1); |
| |
| if ( (LA52_0==22) ) { |
| alt52=1; |
| } |
| switch (alt52) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1590:4: otherlv_113= 'properties' otherlv_114= '(' ( (lv_properties_115_0= ruleKeyAndValue ) ) (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* otherlv_118= ')' |
| { |
| otherlv_113=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDtoFeature2998); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_113, grammarAccess.getDtoFeatureAccess().getPropertiesKeyword_2_7_6_0()); |
| |
| } |
| otherlv_114=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtoFeature3010); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_114, grammarAccess.getDtoFeatureAccess().getLeftParenthesisKeyword_2_7_6_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1598:1: ( (lv_properties_115_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1599:1: (lv_properties_115_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1599:1: (lv_properties_115_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1600:3: lv_properties_115_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_7_6_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature3031); |
| lv_properties_115_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_115_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1616:2: (otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) )* |
| loop51: |
| do { |
| int alt51=2; |
| int LA51_0 = input.LA(1); |
| |
| if ( (LA51_0==24) ) { |
| alt51=1; |
| } |
| |
| |
| switch (alt51) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1616:4: otherlv_116= ', ' ( (lv_properties_117_0= ruleKeyAndValue ) ) |
| { |
| otherlv_116=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDtoFeature3044); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_116, grammarAccess.getDtoFeatureAccess().getCommaSpaceKeyword_2_7_6_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1620:1: ( (lv_properties_117_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1621:1: (lv_properties_117_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1621:1: (lv_properties_117_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1622:3: lv_properties_117_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getPropertiesKeyAndValueParserRuleCall_2_7_6_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDtoFeature3065); |
| lv_properties_117_0=ruleKeyAndValue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "properties", |
| lv_properties_117_0, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop51; |
| } |
| } while (true); |
| |
| otherlv_118=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDtoFeature3079); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_118, grammarAccess.getDtoFeatureAccess().getRightParenthesisKeyword_2_7_6_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1642:3: ( ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) | (otherlv_120= ';' )? ) |
| int alt54=2; |
| int LA54_0 = input.LA(1); |
| |
| if ( (LA54_0==17) ) { |
| alt54=1; |
| } |
| else if ( (LA54_0==EOF||LA54_0==18||LA54_0==20||(LA54_0>=26 && LA54_0<=28)||(LA54_0>=31 && LA54_0<=38)||(LA54_0>=42 && LA54_0<=43)||LA54_0==86) ) { |
| alt54=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 54, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt54) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1642:4: ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1642:4: ( (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1643:1: (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1643:1: (lv_mapper_119_0= ruleLimitedMapperDtoMapper ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1644:3: lv_mapper_119_0= ruleLimitedMapperDtoMapper |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getMapperLimitedMapperDtoMapperParserRuleCall_2_7_7_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLimitedMapperDtoMapper_in_ruleDtoFeature3103); |
| lv_mapper_119_0=ruleLimitedMapperDtoMapper(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "mapper", |
| lv_mapper_119_0, |
| "LimitedMapperDtoMapper"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1661:6: (otherlv_120= ';' )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1661:6: (otherlv_120= ';' )? |
| int alt53=2; |
| int LA53_0 = input.LA(1); |
| |
| if ( (LA53_0==26) ) { |
| alt53=1; |
| } |
| switch (alt53) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1661:8: otherlv_120= ';' |
| { |
| otherlv_120=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleDtoFeature3122); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_120, grammarAccess.getDtoFeatureAccess().getSemicolonKeyword_2_7_7_1()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 9 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1666:6: ( () (otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1666:6: ( () (otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1666:7: () (otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1666:7: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1667:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElementAndSet( |
| grammarAccess.getDtoFeatureAccess().getLDtoOperationAnnotationInfoAction_2_8_0(), |
| current); |
| |
| } |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1672:2: (otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1672:4: otherlv_122= 'def' ( (lv_type_123_0= ruleJvmTypeReference ) ) ( (lv_name_124_0= ruleValidIDWithKeywords ) ) otherlv_125= '(' ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? otherlv_129= ')' ( (lv_body_130_0= ruleXExpression ) ) |
| { |
| otherlv_122=(Token)match(input,43,FollowSets000.FOLLOW_43_in_ruleDtoFeature3155); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_122, grammarAccess.getDtoFeatureAccess().getDefKeyword_2_8_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1676:1: ( (lv_type_123_0= ruleJvmTypeReference ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1677:1: (lv_type_123_0= ruleJvmTypeReference ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1677:1: (lv_type_123_0= ruleJvmTypeReference ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1678:3: lv_type_123_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getTypeJvmTypeReferenceParserRuleCall_2_8_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleJvmTypeReference_in_ruleDtoFeature3176); |
| lv_type_123_0=ruleJvmTypeReference(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "type", |
| lv_type_123_0, |
| "JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1694:2: ( (lv_name_124_0= ruleValidIDWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1695:1: (lv_name_124_0= ruleValidIDWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1695:1: (lv_name_124_0= ruleValidIDWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1696:3: lv_name_124_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getNameValidIDWithKeywordsParserRuleCall_2_8_1_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleDtoFeature3197); |
| lv_name_124_0=ruleValidIDWithKeywords(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "name", |
| lv_name_124_0, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_125=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtoFeature3209); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_125, grammarAccess.getDtoFeatureAccess().getLeftParenthesisKeyword_2_8_1_3()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1716:1: ( ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* )? |
| int alt56=2; |
| int LA56_0 = input.LA(1); |
| |
| if ( (LA56_0==RULE_ID||LA56_0==23||LA56_0==106) ) { |
| alt56=1; |
| } |
| switch (alt56) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1716:2: ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1716:2: ( (lv_params_126_0= ruleFullJvmFormalParameter ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1717:1: (lv_params_126_0= ruleFullJvmFormalParameter ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1717:1: (lv_params_126_0= ruleFullJvmFormalParameter ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1718:3: lv_params_126_0= ruleFullJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getParamsFullJvmFormalParameterParserRuleCall_2_8_1_4_0_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleFullJvmFormalParameter_in_ruleDtoFeature3231); |
| lv_params_126_0=ruleFullJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "params", |
| lv_params_126_0, |
| "FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1734:2: (otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) )* |
| loop55: |
| do { |
| int alt55=2; |
| int LA55_0 = input.LA(1); |
| |
| if ( (LA55_0==24) ) { |
| alt55=1; |
| } |
| |
| |
| switch (alt55) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1734:4: otherlv_127= ', ' ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) |
| { |
| otherlv_127=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDtoFeature3244); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_127, grammarAccess.getDtoFeatureAccess().getCommaSpaceKeyword_2_8_1_4_1_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1738:1: ( (lv_params_128_0= ruleFullJvmFormalParameter ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1739:1: (lv_params_128_0= ruleFullJvmFormalParameter ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1739:1: (lv_params_128_0= ruleFullJvmFormalParameter ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1740:3: lv_params_128_0= ruleFullJvmFormalParameter |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getParamsFullJvmFormalParameterParserRuleCall_2_8_1_4_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleFullJvmFormalParameter_in_ruleDtoFeature3265); |
| lv_params_128_0=ruleFullJvmFormalParameter(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| add( |
| current, |
| "params", |
| lv_params_128_0, |
| "FullJvmFormalParameter"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop55; |
| } |
| } while (true); |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_129=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDtoFeature3281); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_129, grammarAccess.getDtoFeatureAccess().getRightParenthesisKeyword_2_8_1_5()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1760:1: ( (lv_body_130_0= ruleXExpression ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1761:1: (lv_body_130_0= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1761:1: (lv_body_130_0= ruleXExpression ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1762:3: lv_body_130_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoFeatureAccess().getBodyXExpressionParserRuleCall_2_8_1_6_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleXExpression_in_ruleDtoFeature3302); |
| lv_body_130_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoFeatureRule()); |
| } |
| set( |
| current, |
| "body", |
| lv_body_130_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtoFeature" |
| |
| |
| // $ANTLR start "entryRuleDtoMapper" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1786:1: entryRuleDtoMapper returns [EObject current=null] : iv_ruleDtoMapper= ruleDtoMapper EOF ; |
| public final EObject entryRuleDtoMapper() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtoMapper = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1787:2: (iv_ruleDtoMapper= ruleDtoMapper EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1788:2: iv_ruleDtoMapper= ruleDtoMapper EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtoMapperRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDtoMapper_in_entryRuleDtoMapper3341); |
| iv_ruleDtoMapper=ruleDtoMapper(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtoMapper; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDtoMapper3351); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtoMapper" |
| |
| |
| // $ANTLR start "ruleDtoMapper" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1795:1: ruleDtoMapper returns [EObject current=null] : (otherlv_0= '{' otherlv_1= 'toDTO' ( (lv_toDTO_2_0= ruleXExpression ) ) (otherlv_3= 'fromDTO' ( (lv_fromDTO_4_0= ruleXExpression ) ) )? otherlv_5= '}' ) ; |
| public final EObject ruleDtoMapper() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_5=null; |
| EObject lv_toDTO_2_0 = null; |
| |
| EObject lv_fromDTO_4_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1798:28: ( (otherlv_0= '{' otherlv_1= 'toDTO' ( (lv_toDTO_2_0= ruleXExpression ) ) (otherlv_3= 'fromDTO' ( (lv_fromDTO_4_0= ruleXExpression ) ) )? otherlv_5= '}' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1799:1: (otherlv_0= '{' otherlv_1= 'toDTO' ( (lv_toDTO_2_0= ruleXExpression ) ) (otherlv_3= 'fromDTO' ( (lv_fromDTO_4_0= ruleXExpression ) ) )? otherlv_5= '}' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1799:1: (otherlv_0= '{' otherlv_1= 'toDTO' ( (lv_toDTO_2_0= ruleXExpression ) ) (otherlv_3= 'fromDTO' ( (lv_fromDTO_4_0= ruleXExpression ) ) )? otherlv_5= '}' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1799:3: otherlv_0= '{' otherlv_1= 'toDTO' ( (lv_toDTO_2_0= ruleXExpression ) ) (otherlv_3= 'fromDTO' ( (lv_fromDTO_4_0= ruleXExpression ) ) )? otherlv_5= '}' |
| { |
| otherlv_0=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleDtoMapper3388); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getDtoMapperAccess().getLeftCurlyBracketKeyword_0()); |
| |
| } |
| otherlv_1=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleDtoMapper3400); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtoMapperAccess().getToDTOKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1807:1: ( (lv_toDTO_2_0= ruleXExpression ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1808:1: (lv_toDTO_2_0= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1808:1: (lv_toDTO_2_0= ruleXExpression ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1809:3: lv_toDTO_2_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoMapperAccess().getToDTOXExpressionParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleXExpression_in_ruleDtoMapper3421); |
| lv_toDTO_2_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoMapperRule()); |
| } |
| set( |
| current, |
| "toDTO", |
| lv_toDTO_2_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1825:2: (otherlv_3= 'fromDTO' ( (lv_fromDTO_4_0= ruleXExpression ) ) )? |
| int alt58=2; |
| int LA58_0 = input.LA(1); |
| |
| if ( (LA58_0==45) ) { |
| alt58=1; |
| } |
| switch (alt58) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1825:4: otherlv_3= 'fromDTO' ( (lv_fromDTO_4_0= ruleXExpression ) ) |
| { |
| otherlv_3=(Token)match(input,45,FollowSets000.FOLLOW_45_in_ruleDtoMapper3434); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDtoMapperAccess().getFromDTOKeyword_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1829:1: ( (lv_fromDTO_4_0= ruleXExpression ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1830:1: (lv_fromDTO_4_0= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1830:1: (lv_fromDTO_4_0= ruleXExpression ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1831:3: lv_fromDTO_4_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtoMapperAccess().getFromDTOXExpressionParserRuleCall_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleXExpression_in_ruleDtoMapper3455); |
| lv_fromDTO_4_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getDtoMapperRule()); |
| } |
| set( |
| current, |
| "fromDTO", |
| lv_fromDTO_4_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_5=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleDtoMapper3469); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtoMapperAccess().getRightCurlyBracketKeyword_4()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtoMapper" |
| |
| |
| // $ANTLR start "entryRuleLimitedMapperDtoMapper" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1859:1: entryRuleLimitedMapperDtoMapper returns [EObject current=null] : iv_ruleLimitedMapperDtoMapper= ruleLimitedMapperDtoMapper EOF ; |
| public final EObject entryRuleLimitedMapperDtoMapper() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleLimitedMapperDtoMapper = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1860:2: (iv_ruleLimitedMapperDtoMapper= ruleLimitedMapperDtoMapper EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1861:2: iv_ruleLimitedMapperDtoMapper= ruleLimitedMapperDtoMapper EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getLimitedMapperDtoMapperRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLimitedMapperDtoMapper_in_entryRuleLimitedMapperDtoMapper3505); |
| iv_ruleLimitedMapperDtoMapper=ruleLimitedMapperDtoMapper(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleLimitedMapperDtoMapper; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleLimitedMapperDtoMapper3515); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleLimitedMapperDtoMapper" |
| |
| |
| // $ANTLR start "ruleLimitedMapperDtoMapper" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1868:1: ruleLimitedMapperDtoMapper returns [EObject current=null] : (otherlv_0= '{' otherlv_1= 'toDTO' ( (lv_toDTO_2_0= ruleXExpression ) ) otherlv_3= '}' ) ; |
| public final EObject ruleLimitedMapperDtoMapper() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| EObject lv_toDTO_2_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1871:28: ( (otherlv_0= '{' otherlv_1= 'toDTO' ( (lv_toDTO_2_0= ruleXExpression ) ) otherlv_3= '}' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1872:1: (otherlv_0= '{' otherlv_1= 'toDTO' ( (lv_toDTO_2_0= ruleXExpression ) ) otherlv_3= '}' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1872:1: (otherlv_0= '{' otherlv_1= 'toDTO' ( (lv_toDTO_2_0= ruleXExpression ) ) otherlv_3= '}' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1872:3: otherlv_0= '{' otherlv_1= 'toDTO' ( (lv_toDTO_2_0= ruleXExpression ) ) otherlv_3= '}' |
| { |
| otherlv_0=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleLimitedMapperDtoMapper3552); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getLimitedMapperDtoMapperAccess().getLeftCurlyBracketKeyword_0()); |
| |
| } |
| otherlv_1=(Token)match(input,44,FollowSets000.FOLLOW_44_in_ruleLimitedMapperDtoMapper3564); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getLimitedMapperDtoMapperAccess().getToDTOKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1880:1: ( (lv_toDTO_2_0= ruleXExpression ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1881:1: (lv_toDTO_2_0= ruleXExpression ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1881:1: (lv_toDTO_2_0= ruleXExpression ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1882:3: lv_toDTO_2_0= ruleXExpression |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getLimitedMapperDtoMapperAccess().getToDTOXExpressionParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleXExpression_in_ruleLimitedMapperDtoMapper3585); |
| lv_toDTO_2_0=ruleXExpression(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getLimitedMapperDtoMapperRule()); |
| } |
| set( |
| current, |
| "toDTO", |
| lv_toDTO_2_0, |
| "XExpression"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| otherlv_3=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleLimitedMapperDtoMapper3597); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getLimitedMapperDtoMapperAccess().getRightCurlyBracketKeyword_3()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleLimitedMapperDtoMapper" |
| |
| |
| // $ANTLR start "entryRuleTypedPackage" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1912:1: entryRuleTypedPackage returns [EObject current=null] : iv_ruleTypedPackage= ruleTypedPackage EOF ; |
| public final EObject entryRuleTypedPackage() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleTypedPackage = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1913:2: (iv_ruleTypedPackage= ruleTypedPackage EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1914:2: iv_ruleTypedPackage= ruleTypedPackage EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTypedPackageRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleTypedPackage_in_entryRuleTypedPackage3635); |
| iv_ruleTypedPackage=ruleTypedPackage(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleTypedPackage; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypedPackage3645); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleTypedPackage" |
| |
| |
| // $ANTLR start "ruleTypedPackage" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1921:1: ruleTypedPackage returns [EObject current=null] : ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleImport ) )* ( (lv_types_5_0= ruleType ) )* otherlv_6= '}' )? ) ; |
| public final EObject ruleTypedPackage() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_3=null; |
| Token otherlv_6=null; |
| AntlrDatatypeRuleToken lv_name_2_0 = null; |
| |
| EObject lv_imports_4_0 = null; |
| |
| EObject lv_types_5_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1924:28: ( ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleImport ) )* ( (lv_types_5_0= ruleType ) )* otherlv_6= '}' )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1925:1: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleImport ) )* ( (lv_types_5_0= ruleType ) )* otherlv_6= '}' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1925:1: ( () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleImport ) )* ( (lv_types_5_0= ruleType ) )* otherlv_6= '}' )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1925:2: () otherlv_1= 'package' ( (lv_name_2_0= ruleQualifiedName ) ) (otherlv_3= '{' ( (lv_imports_4_0= ruleImport ) )* ( (lv_types_5_0= ruleType ) )* otherlv_6= '}' )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1925:2: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1926:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getTypedPackageAccess().getLTypedPackageAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,46,FollowSets000.FOLLOW_46_in_ruleTypedPackage3691); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getTypedPackageAccess().getPackageKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1935:1: ( (lv_name_2_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1936:1: (lv_name_2_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1936:1: (lv_name_2_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1937:3: lv_name_2_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypedPackageAccess().getNameQualifiedNameParserRuleCall_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleTypedPackage3712); |
| 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, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1953:2: (otherlv_3= '{' ( (lv_imports_4_0= ruleImport ) )* ( (lv_types_5_0= ruleType ) )* otherlv_6= '}' )? |
| int alt61=2; |
| int LA61_0 = input.LA(1); |
| |
| if ( (LA61_0==17) ) { |
| alt61=1; |
| } |
| switch (alt61) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1953:4: otherlv_3= '{' ( (lv_imports_4_0= ruleImport ) )* ( (lv_types_5_0= ruleType ) )* otherlv_6= '}' |
| { |
| otherlv_3=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleTypedPackage3725); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getTypedPackageAccess().getLeftCurlyBracketKeyword_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1957:1: ( (lv_imports_4_0= ruleImport ) )* |
| loop59: |
| do { |
| int alt59=2; |
| int LA59_0 = input.LA(1); |
| |
| if ( (LA59_0==47) ) { |
| alt59=1; |
| } |
| |
| |
| switch (alt59) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1958:1: (lv_imports_4_0= ruleImport ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1958:1: (lv_imports_4_0= ruleImport ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1959:3: lv_imports_4_0= ruleImport |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypedPackageAccess().getImportsImportParserRuleCall_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleImport_in_ruleTypedPackage3746); |
| lv_imports_4_0=ruleImport(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getTypedPackageRule()); |
| } |
| add( |
| current, |
| "imports", |
| lv_imports_4_0, |
| "Import"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop59; |
| } |
| } while (true); |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1975:3: ( (lv_types_5_0= ruleType ) )* |
| loop60: |
| do { |
| int alt60=2; |
| int LA60_0 = input.LA(1); |
| |
| if ( ((LA60_0>=13 && LA60_0<=14)||LA60_0==19||LA60_0==48||LA60_0==70||LA60_0==86) ) { |
| alt60=1; |
| } |
| |
| |
| switch (alt60) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1976:1: (lv_types_5_0= ruleType ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1976:1: (lv_types_5_0= ruleType ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:1977:3: lv_types_5_0= ruleType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypedPackageAccess().getTypesTypeParserRuleCall_3_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleType_in_ruleTypedPackage3768); |
| lv_types_5_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_5_0, |
| "Type"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop60; |
| } |
| } while (true); |
| |
| otherlv_6=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleTypedPackage3781); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getTypedPackageAccess().getRightCurlyBracketKeyword_3_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleTypedPackage" |
| |
| |
| // $ANTLR start "entryRuleType" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2005:1: entryRuleType returns [EObject current=null] : iv_ruleType= ruleType EOF ; |
| public final EObject entryRuleType() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleType = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2006:2: (iv_ruleType= ruleType EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2007:2: iv_ruleType= ruleType EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getTypeRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleType_in_entryRuleType3819); |
| iv_ruleType=ruleType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleType; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleType3829); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleType" |
| |
| |
| // $ANTLR start "ruleType" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2014:1: ruleType returns [EObject current=null] : (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass ) ; |
| public final EObject ruleType() throws RecognitionException { |
| EObject current = null; |
| |
| EObject this_ScalarType_0 = null; |
| |
| EObject this_Class_1 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2017:28: ( (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2018:1: (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2018:1: (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass ) |
| int alt62=2; |
| int LA62_0 = input.LA(1); |
| |
| if ( (LA62_0==48||LA62_0==70) ) { |
| alt62=1; |
| } |
| else if ( ((LA62_0>=13 && LA62_0<=14)||LA62_0==19||LA62_0==86) ) { |
| alt62=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 62, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt62) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2019:5: this_ScalarType_0= ruleScalarType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeAccess().getScalarTypeParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleScalarType_in_ruleType3876); |
| this_ScalarType_0=ruleScalarType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_ScalarType_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2029:5: this_Class_1= ruleClass |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getTypeAccess().getClassParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleClass_in_ruleType3903); |
| this_Class_1=ruleClass(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_Class_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleType" |
| |
| |
| // $ANTLR start "entryRuleImport" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2045:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ; |
| public final EObject entryRuleImport() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleImport = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2046:2: (iv_ruleImport= ruleImport EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2047:2: iv_ruleImport= ruleImport EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getImportRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleImport_in_entryRuleImport3938); |
| iv_ruleImport=ruleImport(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleImport; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleImport3948); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleImport" |
| |
| |
| // $ANTLR start "ruleImport" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2054:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) ) (otherlv_2= ';' )? ) ; |
| public final EObject ruleImport() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_0=null; |
| Token otherlv_2=null; |
| AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null; |
| |
| |
| enterRule(); |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2057:28: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) ) (otherlv_2= ';' )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2058:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) ) (otherlv_2= ';' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2058:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) ) (otherlv_2= ';' )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2058:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) ) (otherlv_2= ';' )? |
| { |
| otherlv_0=(Token)match(input,47,FollowSets000.FOLLOW_47_in_ruleImport3985); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2062:1: ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2063:1: (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2063:1: (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2064:3: lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceLQualifiedNameWithWildCardParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleLQualifiedNameWithWildCard_in_ruleImport4006); |
| lv_importedNamespace_1_0=ruleLQualifiedNameWithWildCard(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| if (current==null) { |
| current = createModelElementForParent(grammarAccess.getImportRule()); |
| } |
| set( |
| current, |
| "importedNamespace", |
| lv_importedNamespace_1_0, |
| "LQualifiedNameWithWildCard"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2080:2: (otherlv_2= ';' )? |
| int alt63=2; |
| int LA63_0 = input.LA(1); |
| |
| if ( (LA63_0==26) ) { |
| alt63=1; |
| } |
| switch (alt63) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2080:4: otherlv_2= ';' |
| { |
| otherlv_2=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleImport4019); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getImportAccess().getSemicolonKeyword_2()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleImport" |
| |
| |
| // $ANTLR start "entryRuleDataType" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2092:1: entryRuleDataType returns [EObject current=null] : iv_ruleDataType= ruleDataType EOF ; |
| public final EObject entryRuleDataType() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataType = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2093:2: (iv_ruleDataType= ruleDataType EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2094:2: iv_ruleDataType= ruleDataType EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataTypeRule()); |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDataType_in_entryRuleDataType4057); |
| iv_ruleDataType=ruleDataType(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataType; |
| } |
| match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDataType4067); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataType" |
| |
| |
| // $ANTLR start "ruleDataType" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2101: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= 'as primitive' ) )? ( (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= 'as blob' ) ) ( (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_29= ';' )? ) ; |
| 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; |
| Token otherlv_29=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 { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2104:28: ( (otherlv_0= 'datatype' ( (lv_name_1_0= ruleValidIDWithKeywords ) ) ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'as primitive' ) )? ( (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= 'as blob' ) ) ( (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_29= ';' )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2105:1: (otherlv_0= 'datatype' ( (lv_name_1_0= ruleValidIDWithKeywords ) ) ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'as primitive' ) )? ( (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= 'as blob' ) ) ( (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_29= ';' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2105:1: (otherlv_0= 'datatype' ( (lv_name_1_0= ruleValidIDWithKeywords ) ) ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'as primitive' ) )? ( (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= 'as blob' ) ) ( (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_29= ';' )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2105:3: otherlv_0= 'datatype' ( (lv_name_1_0= ruleValidIDWithKeywords ) ) ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'as primitive' ) )? ( (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= 'as blob' ) ) ( (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_29= ';' )? |
| { |
| otherlv_0=(Token)match(input,48,FollowSets000.FOLLOW_48_in_ruleDataType4104); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_0, grammarAccess.getDataTypeAccess().getDatatypeKeyword_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2109:1: ( (lv_name_1_0= ruleValidIDWithKeywords ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2110:1: (lv_name_1_0= ruleValidIDWithKeywords ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2110:1: (lv_name_1_0= ruleValidIDWithKeywords ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2111:3: lv_name_1_0= ruleValidIDWithKeywords |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getNameValidIDWithKeywordsParserRuleCall_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleDataType4125); |
| 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, |
| "ValidIDWithKeywords"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2127:2: ( (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'as primitive' ) )? ( (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= 'as blob' ) ) ( (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 alt74=3; |
| switch ( input.LA(1) ) { |
| case 49: |
| { |
| alt74=1; |
| } |
| break; |
| case 51: |
| { |
| alt74=2; |
| } |
| break; |
| case 52: |
| { |
| alt74=3; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 74, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt74) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2127:3: (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'as primitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ', ' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2127:3: (otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'as primitive' ) )? ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ', ' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2127:5: otherlv_2= 'jvmType' ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) ( (lv_asPrimitive_4_0= 'as primitive' ) )? ( (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,49,FollowSets000.FOLLOW_49_in_ruleDataType4139); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDataTypeAccess().getJvmTypeKeyword_2_0_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2131:1: ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2132:1: (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2132:1: (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2133:3: lv_jvmTypeReference_3_0= ruleJvmTypeReference |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getJvmTypeReferenceJvmTypeReferenceParserRuleCall_2_0_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleJvmTypeReference_in_ruleDataType4160); |
| 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, |
| "JvmTypeReference"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2149:2: ( (lv_asPrimitive_4_0= 'as primitive' ) )? |
| int alt64=2; |
| int LA64_0 = input.LA(1); |
| |
| if ( (LA64_0==50) ) { |
| alt64=1; |
| } |
| switch (alt64) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2150:1: (lv_asPrimitive_4_0= 'as primitive' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2150:1: (lv_asPrimitive_4_0= 'as primitive' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2151:3: lv_asPrimitive_4_0= 'as primitive' |
| { |
| lv_asPrimitive_4_0=(Token)match(input,50,FollowSets000.FOLLOW_50_in_ruleDataType4178); 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, "as primitive"); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2164:3: ( (lv_constraints_5_0= ruleDataTypeConstraint ) )* |
| loop65: |
| do { |
| int alt65=2; |
| int LA65_0 = input.LA(1); |
| |
| if ( (LA65_0==53||(LA65_0>=58 && LA65_0<=61)||(LA65_0>=64 && LA65_0<=69)) ) { |
| alt65=1; |
| } |
| |
| |
| switch (alt65) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2165:1: (lv_constraints_5_0= ruleDataTypeConstraint ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2165:1: (lv_constraints_5_0= ruleDataTypeConstraint ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2166:3: lv_constraints_5_0= ruleDataTypeConstraint |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsDataTypeConstraintParserRuleCall_2_0_3_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDataTypeConstraint_in_ruleDataType4213); |
| 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, |
| "DataTypeConstraint"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop65; |
| } |
| } while (true); |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2182:3: (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ', ' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )? |
| int alt67=2; |
| int LA67_0 = input.LA(1); |
| |
| if ( (LA67_0==22) ) { |
| alt67=1; |
| } |
| switch (alt67) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2182:5: otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ', ' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' |
| { |
| otherlv_6=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDataType4227); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDataTypeAccess().getPropertiesKeyword_2_0_4_0()); |
| |
| } |
| otherlv_7=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDataType4239); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_0_4_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2190:1: ( (lv_properties_8_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2191:1: (lv_properties_8_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2191:1: (lv_properties_8_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2192:3: lv_properties_8_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_0_4_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDataType4260); |
| 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, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2208:2: (otherlv_9= ', ' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* |
| loop66: |
| do { |
| int alt66=2; |
| int LA66_0 = input.LA(1); |
| |
| if ( (LA66_0==24) ) { |
| alt66=1; |
| } |
| |
| |
| switch (alt66) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2208:4: otherlv_9= ', ' ( (lv_properties_10_0= ruleKeyAndValue ) ) |
| { |
| otherlv_9=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDataType4273); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDataTypeAccess().getCommaSpaceKeyword_2_0_4_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2212:1: ( (lv_properties_10_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2213:1: (lv_properties_10_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2213:1: (lv_properties_10_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2214:3: lv_properties_10_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_0_4_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDataType4294); |
| 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, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop66; |
| } |
| } while (true); |
| |
| otherlv_11=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDataType4308); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDataTypeAccess().getRightParenthesisKeyword_2_0_4_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2235:6: ( ( (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= ')' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2235:6: ( ( (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= ')' )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2235:7: ( (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= ')' )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2235:7: ( (lv_date_12_0= 'dateType' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2236:1: (lv_date_12_0= 'dateType' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2236:1: (lv_date_12_0= 'dateType' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2237:3: lv_date_12_0= 'dateType' |
| { |
| lv_date_12_0=(Token)match(input,51,FollowSets000.FOLLOW_51_in_ruleDataType4336); 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"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2250:2: ( (lv_dateType_13_0= ruleDateType ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2251:1: (lv_dateType_13_0= ruleDateType ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2251:1: (lv_dateType_13_0= ruleDateType ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2252:3: lv_dateType_13_0= ruleDateType |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getDateTypeDateTypeEnumRuleCall_2_1_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDateType_in_ruleDataType4370); |
| 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, |
| "DateType"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2268:2: ( (lv_constraints_14_0= ruleDateConstraint ) )* |
| loop68: |
| do { |
| int alt68=2; |
| int LA68_0 = input.LA(1); |
| |
| if ( ((LA68_0>=62 && LA68_0<=63)||(LA68_0>=66 && LA68_0<=67)) ) { |
| alt68=1; |
| } |
| |
| |
| switch (alt68) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2269:1: (lv_constraints_14_0= ruleDateConstraint ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2269:1: (lv_constraints_14_0= ruleDateConstraint ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2270:3: lv_constraints_14_0= ruleDateConstraint |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsDateConstraintParserRuleCall_2_1_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleDateConstraint_in_ruleDataType4391); |
| 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, |
| "DateConstraint"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop68; |
| } |
| } while (true); |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2286:3: (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ', ' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )? |
| int alt70=2; |
| int LA70_0 = input.LA(1); |
| |
| if ( (LA70_0==22) ) { |
| alt70=1; |
| } |
| switch (alt70) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2286:5: otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ', ' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' |
| { |
| otherlv_15=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDataType4405); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDataTypeAccess().getPropertiesKeyword_2_1_3_0()); |
| |
| } |
| otherlv_16=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDataType4417); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_16, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_1_3_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2294:1: ( (lv_properties_17_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2295:1: (lv_properties_17_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2295:1: (lv_properties_17_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2296:3: lv_properties_17_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_1_3_2_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDataType4438); |
| 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, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2312:2: (otherlv_18= ', ' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* |
| loop69: |
| do { |
| int alt69=2; |
| int LA69_0 = input.LA(1); |
| |
| if ( (LA69_0==24) ) { |
| alt69=1; |
| } |
| |
| |
| switch (alt69) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2312:4: otherlv_18= ', ' ( (lv_properties_19_0= ruleKeyAndValue ) ) |
| { |
| otherlv_18=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDataType4451); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_18, grammarAccess.getDataTypeAccess().getCommaSpaceKeyword_2_1_3_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2316:1: ( (lv_properties_19_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2317:1: (lv_properties_19_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2317:1: (lv_properties_19_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2318:3: lv_properties_19_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_1_3_3_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDataType4472); |
| 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, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop69; |
| } |
| } while (true); |
| |
| otherlv_20=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDataType4486); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_20, grammarAccess.getDataTypeAccess().getRightParenthesisKeyword_2_1_3_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2339:6: ( ( (lv_asBlob_21_0= 'as blob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ', ' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2339:6: ( ( (lv_asBlob_21_0= 'as blob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ', ' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2339:7: ( (lv_asBlob_21_0= 'as blob' ) ) ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ', ' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2339:7: ( (lv_asBlob_21_0= 'as blob' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2340:1: (lv_asBlob_21_0= 'as blob' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2340:1: (lv_asBlob_21_0= 'as blob' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2341:3: lv_asBlob_21_0= 'as blob' |
| { |
| lv_asBlob_21_0=(Token)match(input,52,FollowSets000.FOLLOW_52_in_ruleDataType4514); 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, "as blob"); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2354:2: ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )* |
| loop71: |
| do { |
| int alt71=2; |
| int LA71_0 = input.LA(1); |
| |
| if ( ((LA71_0>=66 && LA71_0<=67)) ) { |
| alt71=1; |
| } |
| |
| |
| switch (alt71) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2355:1: (lv_constraints_22_0= ruleBlobTypeConstraint ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2355:1: (lv_constraints_22_0= ruleBlobTypeConstraint ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2356:3: lv_constraints_22_0= ruleBlobTypeConstraint |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsBlobTypeConstraintParserRuleCall_2_2_1_0()); |
| |
| } |
| pushFollow(FollowSets000.FOLLOW_ruleBlobTypeConstraint_in_ruleDataType4548); |
| 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, |
| "BlobTypeConstraint"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop71; |
| } |
| } while (true); |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2372:3: (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ', ' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )? |
| int alt73=2; |
| int LA73_0 = input.LA(1); |
| |
| if ( (LA73_0==22) ) { |
| alt73=1; |
| } |
| switch (alt73) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2372:5: otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ', ' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' |
| { |
| otherlv_23=(Token)match(input,22,FollowSets000.FOLLOW_22_in_ruleDataType4562); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_23, grammarAccess.getDataTypeAccess().getPropertiesKeyword_2_2_2_0()); |
| |
| } |
| otherlv_24=(Token)match(input,23,FollowSets001.FOLLOW_23_in_ruleDataType4574); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_24, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_2_2_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2380:1: ( (lv_properties_25_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2381:1: (lv_properties_25_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2381:1: (lv_properties_25_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2382:3: lv_properties_25_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_2_2_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleKeyAndValue_in_ruleDataType4595); |
| 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, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2398:2: (otherlv_26= ', ' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* |
| loop72: |
| do { |
| int alt72=2; |
| int LA72_0 = input.LA(1); |
| |
| if ( (LA72_0==24) ) { |
| alt72=1; |
| } |
| |
| |
| switch (alt72) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2398:4: otherlv_26= ', ' ( (lv_properties_27_0= ruleKeyAndValue ) ) |
| { |
| otherlv_26=(Token)match(input,24,FollowSets001.FOLLOW_24_in_ruleDataType4608); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_26, grammarAccess.getDataTypeAccess().getCommaSpaceKeyword_2_2_2_3_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2402:1: ( (lv_properties_27_0= ruleKeyAndValue ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2403:1: (lv_properties_27_0= ruleKeyAndValue ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2403:1: (lv_properties_27_0= ruleKeyAndValue ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2404:3: lv_properties_27_0= ruleKeyAndValue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_2_2_3_1_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleKeyAndValue_in_ruleDataType4629); |
| 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, |
| "KeyAndValue"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| break loop72; |
| } |
| } while (true); |
| |
| otherlv_28=(Token)match(input,25,FollowSets001.FOLLOW_25_in_ruleDataType4643); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_28, grammarAccess.getDataTypeAccess().getRightParenthesisKeyword_2_2_2_4()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2424:5: (otherlv_29= ';' )? |
| int alt75=2; |
| int LA75_0 = input.LA(1); |
| |
| if ( (LA75_0==26) ) { |
| alt75=1; |
| } |
| switch (alt75) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2424:7: otherlv_29= ';' |
| { |
| otherlv_29=(Token)match(input,26,FollowSets001.FOLLOW_26_in_ruleDataType4660); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_29, grammarAccess.getDataTypeAccess().getSemicolonKeyword_3()); |
| |
| } |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDataType" |
| |
| |
| // $ANTLR start "entryRuleAllConstraints" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2436:1: entryRuleAllConstraints returns [EObject current=null] : iv_ruleAllConstraints= ruleAllConstraints EOF ; |
| public final EObject entryRuleAllConstraints() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleAllConstraints = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2437:2: (iv_ruleAllConstraints= ruleAllConstraints EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2438:2: iv_ruleAllConstraints= ruleAllConstraints EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getAllConstraintsRule()); |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleAllConstraints_in_entryRuleAllConstraints4698); |
| iv_ruleAllConstraints=ruleAllConstraints(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleAllConstraints; |
| } |
| match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleAllConstraints4708); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleAllConstraints" |
| |
| |
| // $ANTLR start "ruleAllConstraints" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2445: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 { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2448:28: ( (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 ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2449:1: (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 ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2449:1: (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 alt76=13; |
| switch ( input.LA(1) ) { |
| case 53: |
| { |
| alt76=1; |
| } |
| break; |
| case 58: |
| { |
| alt76=2; |
| } |
| break; |
| case 59: |
| { |
| alt76=3; |
| } |
| break; |
| case 60: |
| { |
| alt76=4; |
| } |
| break; |
| case 61: |
| { |
| alt76=5; |
| } |
| break; |
| case 64: |
| { |
| alt76=6; |
| } |
| break; |
| case 65: |
| { |
| alt76=7; |
| } |
| break; |
| case 66: |
| { |
| alt76=8; |
| } |
| break; |
| case 67: |
| { |
| alt76=9; |
| } |
| break; |
| case 68: |
| { |
| alt76=10; |
| } |
| break; |
| case 69: |
| { |
| alt76=11; |
| } |
| break; |
| case 62: |
| { |
| alt76=12; |
| } |
| break; |
| case 63: |
| { |
| alt76=13; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 76, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt76) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2450:5: this_DtCAssertFalse_0= ruleDtCAssertFalse |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCAssertFalseParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCAssertFalse_in_ruleAllConstraints4755); |
| this_DtCAssertFalse_0=ruleDtCAssertFalse(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCAssertFalse_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2460:5: this_DtCAssertTrue_1= ruleDtCAssertTrue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCAssertTrueParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCAssertTrue_in_ruleAllConstraints4782); |
| this_DtCAssertTrue_1=ruleDtCAssertTrue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCAssertTrue_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2470:5: this_DtCDecimalMax_2= ruleDtCDecimalMax |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCDecimalMaxParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCDecimalMax_in_ruleAllConstraints4809); |
| this_DtCDecimalMax_2=ruleDtCDecimalMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDecimalMax_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2480:5: this_DtCDecimalMin_3= ruleDtCDecimalMin |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCDecimalMinParserRuleCall_3()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCDecimalMin_in_ruleAllConstraints4836); |
| this_DtCDecimalMin_3=ruleDtCDecimalMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDecimalMin_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2490:5: this_DtCDigits_4= ruleDtCDigits |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCDigitsParserRuleCall_4()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCDigits_in_ruleAllConstraints4863); |
| this_DtCDigits_4=ruleDtCDigits(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDigits_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2500:5: this_DtCNumericMax_5= ruleDtCNumericMax |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNumericMaxParserRuleCall_5()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNumericMax_in_ruleAllConstraints4890); |
| this_DtCNumericMax_5=ruleDtCNumericMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNumericMax_5; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2510:5: this_DtCNumericMin_6= ruleDtCNumericMin |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNumericMinParserRuleCall_6()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNumericMin_in_ruleAllConstraints4917); |
| this_DtCNumericMin_6=ruleDtCNumericMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNumericMin_6; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 8 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2520:5: this_DtCNotNull_7= ruleDtCNotNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNotNullParserRuleCall_7()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNotNull_in_ruleAllConstraints4944); |
| this_DtCNotNull_7=ruleDtCNotNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNotNull_7; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 9 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2530:5: this_DtCNull_8= ruleDtCNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCNullParserRuleCall_8()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNull_in_ruleAllConstraints4971); |
| this_DtCNull_8=ruleDtCNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNull_8; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 10 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2540:5: this_DtCRegEx_9= ruleDtCRegEx |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCRegExParserRuleCall_9()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCRegEx_in_ruleAllConstraints4998); |
| this_DtCRegEx_9=ruleDtCRegEx(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCRegEx_9; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 11 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2550:5: this_DtCSize_10= ruleDtCSize |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCSizeParserRuleCall_10()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCSize_in_ruleAllConstraints5025); |
| this_DtCSize_10=ruleDtCSize(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCSize_10; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 12 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2560:5: this_DtCFuture_11= ruleDtCFuture |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCFutureParserRuleCall_11()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCFuture_in_ruleAllConstraints5052); |
| this_DtCFuture_11=ruleDtCFuture(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCFuture_11; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 13 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2570:5: this_DtCPast_12= ruleDtCPast |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getAllConstraintsAccess().getDtCPastParserRuleCall_12()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCPast_in_ruleAllConstraints5079); |
| 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" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2586:1: entryRuleDataTypeConstraint returns [EObject current=null] : iv_ruleDataTypeConstraint= ruleDataTypeConstraint EOF ; |
| public final EObject entryRuleDataTypeConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDataTypeConstraint = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2587:2: (iv_ruleDataTypeConstraint= ruleDataTypeConstraint EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2588:2: iv_ruleDataTypeConstraint= ruleDataTypeConstraint EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDataTypeConstraintRule()); |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDataTypeConstraint_in_entryRuleDataTypeConstraint5114); |
| iv_ruleDataTypeConstraint=ruleDataTypeConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDataTypeConstraint; |
| } |
| match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDataTypeConstraint5124); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDataTypeConstraint" |
| |
| |
| // $ANTLR start "ruleDataTypeConstraint" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2595: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 { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2598:28: ( (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 ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2599:1: (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 ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2599:1: (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 alt77=11; |
| switch ( input.LA(1) ) { |
| case 53: |
| { |
| alt77=1; |
| } |
| break; |
| case 58: |
| { |
| alt77=2; |
| } |
| break; |
| case 59: |
| { |
| alt77=3; |
| } |
| break; |
| case 60: |
| { |
| alt77=4; |
| } |
| break; |
| case 61: |
| { |
| alt77=5; |
| } |
| break; |
| case 64: |
| { |
| alt77=6; |
| } |
| break; |
| case 65: |
| { |
| alt77=7; |
| } |
| break; |
| case 66: |
| { |
| alt77=8; |
| } |
| break; |
| case 67: |
| { |
| alt77=9; |
| } |
| break; |
| case 68: |
| { |
| alt77=10; |
| } |
| break; |
| case 69: |
| { |
| alt77=11; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 77, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt77) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2600:5: this_DtCAssertFalse_0= ruleDtCAssertFalse |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCAssertFalseParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCAssertFalse_in_ruleDataTypeConstraint5171); |
| this_DtCAssertFalse_0=ruleDtCAssertFalse(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCAssertFalse_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2610:5: this_DtCAssertTrue_1= ruleDtCAssertTrue |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCAssertTrueParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCAssertTrue_in_ruleDataTypeConstraint5198); |
| this_DtCAssertTrue_1=ruleDtCAssertTrue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCAssertTrue_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2620:5: this_DtCDecimalMax_2= ruleDtCDecimalMax |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDecimalMaxParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCDecimalMax_in_ruleDataTypeConstraint5225); |
| this_DtCDecimalMax_2=ruleDtCDecimalMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDecimalMax_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2630:5: this_DtCDecimalMin_3= ruleDtCDecimalMin |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDecimalMinParserRuleCall_3()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCDecimalMin_in_ruleDataTypeConstraint5252); |
| this_DtCDecimalMin_3=ruleDtCDecimalMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDecimalMin_3; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 5 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2640:5: this_DtCDigits_4= ruleDtCDigits |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDigitsParserRuleCall_4()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCDigits_in_ruleDataTypeConstraint5279); |
| this_DtCDigits_4=ruleDtCDigits(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCDigits_4; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 6 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2650:5: this_DtCNumericMax_5= ruleDtCNumericMax |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNumericMaxParserRuleCall_5()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNumericMax_in_ruleDataTypeConstraint5306); |
| this_DtCNumericMax_5=ruleDtCNumericMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNumericMax_5; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 7 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2660:5: this_DtCNumericMin_6= ruleDtCNumericMin |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNumericMinParserRuleCall_6()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNumericMin_in_ruleDataTypeConstraint5333); |
| this_DtCNumericMin_6=ruleDtCNumericMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNumericMin_6; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 8 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2670:5: this_DtCNotNull_7= ruleDtCNotNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNotNullParserRuleCall_7()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNotNull_in_ruleDataTypeConstraint5360); |
| this_DtCNotNull_7=ruleDtCNotNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNotNull_7; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 9 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2680:5: this_DtCNull_8= ruleDtCNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNullParserRuleCall_8()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNull_in_ruleDataTypeConstraint5387); |
| this_DtCNull_8=ruleDtCNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNull_8; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 10 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2690:5: this_DtCRegEx_9= ruleDtCRegEx |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCRegExParserRuleCall_9()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCRegEx_in_ruleDataTypeConstraint5414); |
| this_DtCRegEx_9=ruleDtCRegEx(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCRegEx_9; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 11 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2700:5: this_DtCSize_10= ruleDtCSize |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCSizeParserRuleCall_10()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCSize_in_ruleDataTypeConstraint5441); |
| 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" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2716:1: entryRuleDateConstraint returns [EObject current=null] : iv_ruleDateConstraint= ruleDateConstraint EOF ; |
| public final EObject entryRuleDateConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDateConstraint = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2717:2: (iv_ruleDateConstraint= ruleDateConstraint EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2718:2: iv_ruleDateConstraint= ruleDateConstraint EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDateConstraintRule()); |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDateConstraint_in_entryRuleDateConstraint5476); |
| iv_ruleDateConstraint=ruleDateConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDateConstraint; |
| } |
| match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDateConstraint5486); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDateConstraint" |
| |
| |
| // $ANTLR start "ruleDateConstraint" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2725: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 { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2728:28: ( (this_DtCFuture_0= ruleDtCFuture | this_DtCPast_1= ruleDtCPast | this_DtCNotNull_2= ruleDtCNotNull | this_DtCNull_3= ruleDtCNull ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2729:1: (this_DtCFuture_0= ruleDtCFuture | this_DtCPast_1= ruleDtCPast | this_DtCNotNull_2= ruleDtCNotNull | this_DtCNull_3= ruleDtCNull ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2729:1: (this_DtCFuture_0= ruleDtCFuture | this_DtCPast_1= ruleDtCPast | this_DtCNotNull_2= ruleDtCNotNull | this_DtCNull_3= ruleDtCNull ) |
| int alt78=4; |
| switch ( input.LA(1) ) { |
| case 62: |
| { |
| alt78=1; |
| } |
| break; |
| case 63: |
| { |
| alt78=2; |
| } |
| break; |
| case 66: |
| { |
| alt78=3; |
| } |
| break; |
| case 67: |
| { |
| alt78=4; |
| } |
| break; |
| default: |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 78, 0, input); |
| |
| throw nvae; |
| } |
| |
| switch (alt78) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2730:5: this_DtCFuture_0= ruleDtCFuture |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCFutureParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCFuture_in_ruleDateConstraint5533); |
| this_DtCFuture_0=ruleDtCFuture(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCFuture_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2740:5: this_DtCPast_1= ruleDtCPast |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCPastParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCPast_in_ruleDateConstraint5560); |
| this_DtCPast_1=ruleDtCPast(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCPast_1; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2750:5: this_DtCNotNull_2= ruleDtCNotNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCNotNullParserRuleCall_2()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNotNull_in_ruleDateConstraint5587); |
| this_DtCNotNull_2=ruleDtCNotNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNotNull_2; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 4 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2760:5: this_DtCNull_3= ruleDtCNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCNullParserRuleCall_3()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNull_in_ruleDateConstraint5614); |
| 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" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2776:1: entryRuleBlobTypeConstraint returns [EObject current=null] : iv_ruleBlobTypeConstraint= ruleBlobTypeConstraint EOF ; |
| public final EObject entryRuleBlobTypeConstraint() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleBlobTypeConstraint = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2777:2: (iv_ruleBlobTypeConstraint= ruleBlobTypeConstraint EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2778:2: iv_ruleBlobTypeConstraint= ruleBlobTypeConstraint EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getBlobTypeConstraintRule()); |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleBlobTypeConstraint_in_entryRuleBlobTypeConstraint5649); |
| iv_ruleBlobTypeConstraint=ruleBlobTypeConstraint(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleBlobTypeConstraint; |
| } |
| match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleBlobTypeConstraint5659); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleBlobTypeConstraint" |
| |
| |
| // $ANTLR start "ruleBlobTypeConstraint" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2785: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 { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2788:28: ( (this_DtCNotNull_0= ruleDtCNotNull | this_DtCNull_1= ruleDtCNull ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2789:1: (this_DtCNotNull_0= ruleDtCNotNull | this_DtCNull_1= ruleDtCNull ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2789:1: (this_DtCNotNull_0= ruleDtCNotNull | this_DtCNull_1= ruleDtCNull ) |
| int alt79=2; |
| int LA79_0 = input.LA(1); |
| |
| if ( (LA79_0==66) ) { |
| alt79=1; |
| } |
| else if ( (LA79_0==67) ) { |
| alt79=2; |
| } |
| else { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| NoViableAltException nvae = |
| new NoViableAltException("", 79, 0, input); |
| |
| throw nvae; |
| } |
| switch (alt79) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2790:5: this_DtCNotNull_0= ruleDtCNotNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBlobTypeConstraintAccess().getDtCNotNullParserRuleCall_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNotNull_in_ruleBlobTypeConstraint5706); |
| this_DtCNotNull_0=ruleDtCNotNull(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| current = this_DtCNotNull_0; |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2800:5: this_DtCNull_1= ruleDtCNull |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getBlobTypeConstraintAccess().getDtCNullParserRuleCall_1()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCNull_in_ruleBlobTypeConstraint5733); |
| 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" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2816:1: entryRuleDtCAssertFalse returns [EObject current=null] : iv_ruleDtCAssertFalse= ruleDtCAssertFalse EOF ; |
| public final EObject entryRuleDtCAssertFalse() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCAssertFalse = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2817:2: (iv_ruleDtCAssertFalse= ruleDtCAssertFalse EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2818:2: iv_ruleDtCAssertFalse= ruleDtCAssertFalse EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCAssertFalseRule()); |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCAssertFalse_in_entryRuleDtCAssertFalse5768); |
| iv_ruleDtCAssertFalse=ruleDtCAssertFalse(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCAssertFalse; |
| } |
| match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCAssertFalse5778); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCAssertFalse" |
| |
| |
| // $ANTLR start "ruleDtCAssertFalse" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2825:1: ruleDtCAssertFalse returns [EObject current=null] : ( () otherlv_1= 'isFalse' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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_3=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 { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2828:28: ( ( () otherlv_1= 'isFalse' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2829:1: ( () otherlv_1= 'isFalse' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2829:1: ( () otherlv_1= 'isFalse' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2829:2: () otherlv_1= 'isFalse' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2829:2: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2830:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCAssertFalseAccess().getLDtCAssertFalseAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,53,FollowSets001.FOLLOW_53_in_ruleDtCAssertFalse5824); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCAssertFalseAccess().getIsFalseKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2839:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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 alt83=2; |
| alt83 = dfa83.predict(input); |
| switch (alt83) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2841:1: ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2841:1: ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2842:2: ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2845:2: ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2846:3: ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2846:3: ( ({...}? => ( ({...}? => (otherlv_3= '[' (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 cnt82=0; |
| loop82: |
| do { |
| int alt82=4; |
| alt82 = dfa82.predict(input); |
| switch (alt82) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2848:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2848:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2849:5: {...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 0)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2849:111: ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2850:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 0); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2853:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2853:7: {...}? => (otherlv_3= '[' (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"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2853:16: (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2853:18: otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? |
| { |
| otherlv_3=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCAssertFalse5882); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDtCAssertFalseAccess().getLeftSquareBracketKeyword_2_0_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2857:1: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? |
| int alt80=2; |
| int LA80_0 = input.LA(1); |
| |
| if ( (LA80_0==54) ) { |
| alt80=1; |
| } |
| switch (alt80) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2857:3: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| { |
| otherlv_4=(Token)match(input,54,FollowSets001.FOLLOW_54_in_ruleDtCAssertFalse5895); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCAssertFalseAccess().getMsgCodeKeyword_2_0_1_0()); |
| |
| } |
| otherlv_5=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCAssertFalse5907); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_0_1_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2865:1: ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2866:1: (lv_msgCode_6_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2866:1: (lv_msgCode_6_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2867:3: lv_msgCode_6_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCAssertFalse5928); |
| 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, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2890:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2890:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2891:5: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 1)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2891:111: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2892:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 1); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2895:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2895:7: {...}? => (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"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2895:16: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2895:18: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| { |
| otherlv_7=(Token)match(input,56,FollowSets001.FOLLOW_56_in_ruleDtCAssertFalse5998); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCAssertFalseAccess().getMsgI18nKeyKeyword_2_1_0()); |
| |
| } |
| otherlv_8=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCAssertFalse6010); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_1_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2903:1: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2904:1: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2904:1: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2905:3: lv_msgI18nKey_9_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCAssertFalse6031); |
| 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, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2928:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2928:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2929:5: {...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 2)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2929:111: ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2930:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 2); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2933:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2933:7: {...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "true"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2933:16: ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2933:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2933:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? |
| int alt81=2; |
| int LA81_0 = input.LA(1); |
| |
| if ( (LA81_0==57) ) { |
| alt81=1; |
| } |
| switch (alt81) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2933:19: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_10=(Token)match(input,57,FollowSets001.FOLLOW_57_in_ruleDtCAssertFalse6100); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCAssertFalseAccess().getSeverityKeyword_2_2_0_0()); |
| |
| } |
| otherlv_11=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCAssertFalse6112); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_2_0_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2941:1: ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2942:1: (lv_severity_12_0= ruleConstraintSeverity ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2942:1: (lv_severity_12_0= ruleConstraintSeverity ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2943:3: lv_severity_12_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCAssertFalse6133); |
| 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, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_13=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCAssertFalse6147); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCAssertFalseAccess().getRightSquareBracketKeyword_2_2_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| if ( cnt82 >= 1 ) break loop82; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(82, input); |
| throw eee; |
| } |
| cnt82++; |
| } while (true); |
| |
| if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertFalse", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2())"); |
| } |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2()); |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCAssertFalse" |
| |
| |
| // $ANTLR start "entryRuleDtCAssertTrue" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2986:1: entryRuleDtCAssertTrue returns [EObject current=null] : iv_ruleDtCAssertTrue= ruleDtCAssertTrue EOF ; |
| public final EObject entryRuleDtCAssertTrue() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCAssertTrue = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2987:2: (iv_ruleDtCAssertTrue= ruleDtCAssertTrue EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2988:2: iv_ruleDtCAssertTrue= ruleDtCAssertTrue EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCAssertTrueRule()); |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCAssertTrue_in_entryRuleDtCAssertTrue6231); |
| iv_ruleDtCAssertTrue=ruleDtCAssertTrue(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCAssertTrue; |
| } |
| match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCAssertTrue6241); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCAssertTrue" |
| |
| |
| // $ANTLR start "ruleDtCAssertTrue" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2995:1: ruleDtCAssertTrue returns [EObject current=null] : ( () otherlv_1= 'isTrue' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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_3=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 { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2998:28: ( ( () otherlv_1= 'isTrue' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2999:1: ( () otherlv_1= 'isTrue' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) )? ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2999:1: ( () otherlv_1= 'isTrue' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2999:2: () otherlv_1= 'isTrue' ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) )? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:2999:2: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3000:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCAssertTrueAccess().getLDtCAssertTrueAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,58,FollowSets001.FOLLOW_58_in_ruleDtCAssertTrue6287); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCAssertTrueAccess().getIsTrueKeyword_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3009:1: ( ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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 alt87=2; |
| alt87 = dfa87.predict(input); |
| switch (alt87) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3011:1: ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3011:1: ( ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3012:2: ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3015:2: ( ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}?) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3016:3: ( ({...}? => ( ({...}? => (otherlv_3= '[' (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= ']' ) ) ) ) )+ {...}? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3016:3: ( ({...}? => ( ({...}? => (otherlv_3= '[' (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 cnt86=0; |
| loop86: |
| do { |
| int alt86=4; |
| alt86 = dfa86.predict(input); |
| switch (alt86) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3018:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3018:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3019:5: {...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 0)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3019:110: ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3020:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 0); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3023:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3023:7: {...}? => (otherlv_3= '[' (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"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3023:16: (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3023:18: otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? |
| { |
| otherlv_3=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCAssertTrue6345); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_3, grammarAccess.getDtCAssertTrueAccess().getLeftSquareBracketKeyword_2_0_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3027:1: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? |
| int alt84=2; |
| int LA84_0 = input.LA(1); |
| |
| if ( (LA84_0==54) ) { |
| alt84=1; |
| } |
| switch (alt84) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3027:3: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| { |
| otherlv_4=(Token)match(input,54,FollowSets001.FOLLOW_54_in_ruleDtCAssertTrue6358); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_4, grammarAccess.getDtCAssertTrueAccess().getMsgCodeKeyword_2_0_1_0()); |
| |
| } |
| otherlv_5=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCAssertTrue6370); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_0_1_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3035:1: ( (lv_msgCode_6_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3036:1: (lv_msgCode_6_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3036:1: (lv_msgCode_6_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3037:3: lv_msgCode_6_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCAssertTrue6391); |
| 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, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3060:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3060:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3061:5: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 1)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3061:110: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3062:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 1); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3065:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3065:7: {...}? => (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"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3065:16: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3065:18: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| { |
| otherlv_7=(Token)match(input,56,FollowSets001.FOLLOW_56_in_ruleDtCAssertTrue6461); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCAssertTrueAccess().getMsgI18nKeyKeyword_2_1_0()); |
| |
| } |
| otherlv_8=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCAssertTrue6473); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_8, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_1_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3073:1: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3074:1: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3074:1: (lv_msgI18nKey_9_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3075:3: lv_msgI18nKey_9_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCAssertTrue6494); |
| 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, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3098:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3098:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3099:5: {...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 2)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3099:110: ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3100:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 2); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3103:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3103:7: {...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "true"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3103:16: ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3103:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3103:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? |
| int alt85=2; |
| int LA85_0 = input.LA(1); |
| |
| if ( (LA85_0==57) ) { |
| alt85=1; |
| } |
| switch (alt85) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3103:19: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_10=(Token)match(input,57,FollowSets001.FOLLOW_57_in_ruleDtCAssertTrue6563); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCAssertTrueAccess().getSeverityKeyword_2_2_0_0()); |
| |
| } |
| otherlv_11=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCAssertTrue6575); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_11, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_2_0_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3111:1: ( (lv_severity_12_0= ruleConstraintSeverity ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3112:1: (lv_severity_12_0= ruleConstraintSeverity ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3112:1: (lv_severity_12_0= ruleConstraintSeverity ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3113:3: lv_severity_12_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCAssertTrue6596); |
| 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, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_13=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCAssertTrue6610); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCAssertTrueAccess().getRightSquareBracketKeyword_2_2_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| if ( cnt86 >= 1 ) break loop86; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(86, input); |
| throw eee; |
| } |
| cnt86++; |
| } while (true); |
| |
| if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCAssertTrue", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2())"); |
| } |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2()); |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| if ( state.backtracking==0 ) { |
| leaveRule(); |
| } |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "ruleDtCAssertTrue" |
| |
| |
| // $ANTLR start "entryRuleDtCDecimalMax" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3156:1: entryRuleDtCDecimalMax returns [EObject current=null] : iv_ruleDtCDecimalMax= ruleDtCDecimalMax EOF ; |
| public final EObject entryRuleDtCDecimalMax() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCDecimalMax = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3157:2: (iv_ruleDtCDecimalMax= ruleDtCDecimalMax EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3158:2: iv_ruleDtCDecimalMax= ruleDtCDecimalMax EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCDecimalMaxRule()); |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCDecimalMax_in_entryRuleDtCDecimalMax6694); |
| iv_ruleDtCDecimalMax=ruleDtCDecimalMax(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCDecimalMax; |
| } |
| match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCDecimalMax6704); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCDecimalMax" |
| |
| |
| // $ANTLR start "ruleDtCDecimalMax" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3165:1: ruleDtCDecimalMax returns [EObject current=null] : ( () otherlv_1= 'maxDecimal' otherlv_2= '(' ( (lv_max_3_0= ruleLDecimal ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? otherlv_16= ')' ) ; |
| public final EObject ruleDtCDecimalMax() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_5=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 { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3168:28: ( ( () otherlv_1= 'maxDecimal' otherlv_2= '(' ( (lv_max_3_0= ruleLDecimal ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? otherlv_16= ')' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3169:1: ( () otherlv_1= 'maxDecimal' otherlv_2= '(' ( (lv_max_3_0= ruleLDecimal ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? otherlv_16= ')' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3169:1: ( () otherlv_1= 'maxDecimal' otherlv_2= '(' ( (lv_max_3_0= ruleLDecimal ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? otherlv_16= ')' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3169:2: () otherlv_1= 'maxDecimal' otherlv_2= '(' ( (lv_max_3_0= ruleLDecimal ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? otherlv_16= ')' |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3169:2: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3170:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCDecimalMaxAccess().getLDtCDecimalMaxAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,59,FollowSets001.FOLLOW_59_in_ruleDtCDecimalMax6750); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCDecimalMaxAccess().getMaxDecimalKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,23,FollowSets001.FOLLOW_23_in_ruleDtCDecimalMax6762); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCDecimalMaxAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3183:1: ( (lv_max_3_0= ruleLDecimal ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3184:1: (lv_max_3_0= ruleLDecimal ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3184:1: (lv_max_3_0= ruleLDecimal ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3185:3: lv_max_3_0= ruleLDecimal |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMaxLDecimalParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleLDecimal_in_ruleDtCDecimalMax6783); |
| 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, |
| "LDecimal"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3201:2: ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? |
| int alt91=2; |
| int LA91_0 = input.LA(1); |
| |
| if ( ((LA91_0>=29 && LA91_0<=30)||(LA91_0>=56 && LA91_0<=57)) ) { |
| alt91=1; |
| } |
| switch (alt91) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3203:1: ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3203:1: ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3204:2: ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3207:2: ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3208:3: ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3208:3: ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ |
| int cnt90=0; |
| loop90: |
| do { |
| int alt90=4; |
| int LA90_0 = input.LA(1); |
| |
| if ( LA90_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 0) ) { |
| alt90=1; |
| } |
| else if ( LA90_0 ==56 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 1) ) { |
| alt90=2; |
| } |
| else if ( (LA90_0==30||LA90_0==57) && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 2) ) { |
| alt90=3; |
| } |
| |
| |
| switch (alt90) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3210:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3210:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3211:5: {...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 0)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3211:110: ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3212:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 0); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3215:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3215:7: {...}? => (otherlv_5= '[' (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"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3215:16: (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3215:18: otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? |
| { |
| otherlv_5=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCDecimalMax6841); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtCDecimalMaxAccess().getLeftSquareBracketKeyword_4_0_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3219:1: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? |
| int alt88=2; |
| int LA88_0 = input.LA(1); |
| |
| if ( (LA88_0==54) ) { |
| alt88=1; |
| } |
| switch (alt88) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3219:3: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| { |
| otherlv_6=(Token)match(input,54,FollowSets001.FOLLOW_54_in_ruleDtCDecimalMax6854); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDtCDecimalMaxAccess().getMsgCodeKeyword_4_0_1_0()); |
| |
| } |
| otherlv_7=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCDecimalMax6866); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_0_1_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3227:1: ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3228:1: (lv_msgCode_8_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3228:1: (lv_msgCode_8_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3229:3: lv_msgCode_8_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCDecimalMax6887); |
| 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, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3252:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3252:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3253:5: {...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 1)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3253:110: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3254:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 1); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3257:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3257:7: {...}? => (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"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3257:16: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3257:18: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| { |
| otherlv_9=(Token)match(input,56,FollowSets001.FOLLOW_56_in_ruleDtCDecimalMax6957); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDtCDecimalMaxAccess().getMsgI18nKeyKeyword_4_1_0()); |
| |
| } |
| otherlv_10=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCDecimalMax6969); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_1_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3265:1: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3266:1: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3266:1: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3267:3: lv_msgI18nKey_11_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCDecimalMax6990); |
| 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, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 3 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3290:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3290:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3291:5: {...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 2) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 2)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3291:110: ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3292:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 2); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3295:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3295:7: {...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) |
| { |
| if ( !((true)) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "true"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3295:16: ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3295:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3295:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? |
| int alt89=2; |
| int LA89_0 = input.LA(1); |
| |
| if ( (LA89_0==57) ) { |
| alt89=1; |
| } |
| switch (alt89) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3295:19: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| { |
| otherlv_12=(Token)match(input,57,FollowSets001.FOLLOW_57_in_ruleDtCDecimalMax7059); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_12, grammarAccess.getDtCDecimalMaxAccess().getSeverityKeyword_4_2_0_0()); |
| |
| } |
| otherlv_13=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCDecimalMax7071); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_13, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_2_0_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3303:1: ( (lv_severity_14_0= ruleConstraintSeverity ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3304:1: (lv_severity_14_0= ruleConstraintSeverity ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3304:1: (lv_severity_14_0= ruleConstraintSeverity ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3305:3: lv_severity_14_0= ruleConstraintSeverity |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCDecimalMax7092); |
| 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, |
| "ConstraintSeverity"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_15=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCDecimalMax7106); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_15, grammarAccess.getDtCDecimalMaxAccess().getRightSquareBracketKeyword_4_2_1()); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| default : |
| if ( cnt90 >= 1 ) break loop90; |
| if (state.backtracking>0) {state.failed=true; return current;} |
| EarlyExitException eee = |
| new EarlyExitException(90, input); |
| throw eee; |
| } |
| cnt90++; |
| } while (true); |
| |
| if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMax", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4())"); |
| } |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().leave(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4()); |
| |
| } |
| break; |
| |
| } |
| |
| otherlv_16=(Token)match(input,25,FollowSets001.FOLLOW_25_in_ruleDtCDecimalMax7166); 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" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3352:1: entryRuleDtCDecimalMin returns [EObject current=null] : iv_ruleDtCDecimalMin= ruleDtCDecimalMin EOF ; |
| public final EObject entryRuleDtCDecimalMin() throws RecognitionException { |
| EObject current = null; |
| |
| EObject iv_ruleDtCDecimalMin = null; |
| |
| |
| try { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3353:2: (iv_ruleDtCDecimalMin= ruleDtCDecimalMin EOF ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3354:2: iv_ruleDtCDecimalMin= ruleDtCDecimalMin EOF |
| { |
| if ( state.backtracking==0 ) { |
| newCompositeNode(grammarAccess.getDtCDecimalMinRule()); |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleDtCDecimalMin_in_entryRuleDtCDecimalMin7202); |
| iv_ruleDtCDecimalMin=ruleDtCDecimalMin(); |
| |
| state._fsp--; |
| if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| current =iv_ruleDtCDecimalMin; |
| } |
| match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCDecimalMin7212); if (state.failed) return current; |
| |
| } |
| |
| } |
| |
| catch (RecognitionException re) { |
| recover(input,re); |
| appendSkippedTokens(); |
| } |
| finally { |
| } |
| return current; |
| } |
| // $ANTLR end "entryRuleDtCDecimalMin" |
| |
| |
| // $ANTLR start "ruleDtCDecimalMin" |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3361:1: ruleDtCDecimalMin returns [EObject current=null] : ( () otherlv_1= 'minDecimal' otherlv_2= '(' ( (lv_min_3_0= ruleLDecimal ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? otherlv_16= ')' ) ; |
| public final EObject ruleDtCDecimalMin() throws RecognitionException { |
| EObject current = null; |
| |
| Token otherlv_1=null; |
| Token otherlv_2=null; |
| Token otherlv_5=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 { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3364:28: ( ( () otherlv_1= 'minDecimal' otherlv_2= '(' ( (lv_min_3_0= ruleLDecimal ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? otherlv_16= ')' ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3365:1: ( () otherlv_1= 'minDecimal' otherlv_2= '(' ( (lv_min_3_0= ruleLDecimal ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? otherlv_16= ')' ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3365:1: ( () otherlv_1= 'minDecimal' otherlv_2= '(' ( (lv_min_3_0= ruleLDecimal ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? otherlv_16= ')' ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3365:2: () otherlv_1= 'minDecimal' otherlv_2= '(' ( (lv_min_3_0= ruleLDecimal ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? otherlv_16= ')' |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3365:2: () |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3366:5: |
| { |
| if ( state.backtracking==0 ) { |
| |
| current = forceCreateModelElement( |
| grammarAccess.getDtCDecimalMinAccess().getLDtCDecimalMinAction_0(), |
| current); |
| |
| } |
| |
| } |
| |
| otherlv_1=(Token)match(input,60,FollowSets001.FOLLOW_60_in_ruleDtCDecimalMin7258); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_1, grammarAccess.getDtCDecimalMinAccess().getMinDecimalKeyword_1()); |
| |
| } |
| otherlv_2=(Token)match(input,23,FollowSets001.FOLLOW_23_in_ruleDtCDecimalMin7270); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_2, grammarAccess.getDtCDecimalMinAccess().getLeftParenthesisKeyword_2()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3379:1: ( (lv_min_3_0= ruleLDecimal ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3380:1: (lv_min_3_0= ruleLDecimal ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3380:1: (lv_min_3_0= ruleLDecimal ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3381:3: lv_min_3_0= ruleLDecimal |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMinLDecimalParserRuleCall_3_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleLDecimal_in_ruleDtCDecimalMin7291); |
| 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, |
| "LDecimal"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3397:2: ( ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) )? |
| int alt95=2; |
| int LA95_0 = input.LA(1); |
| |
| if ( ((LA95_0>=29 && LA95_0<=30)||(LA95_0>=56 && LA95_0<=57)) ) { |
| alt95=1; |
| } |
| switch (alt95) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3399:1: ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3399:1: ( ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3400:2: ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) |
| { |
| getUnorderedGroupHelper().enter(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4()); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3403:2: ( ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}?) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3404:3: ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ {...}? |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3404:3: ( ({...}? => ( ({...}? => (otherlv_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 ) ) )? otherlv_15= ']' ) ) ) ) )+ |
| int cnt94=0; |
| loop94: |
| do { |
| int alt94=4; |
| int LA94_0 = input.LA(1); |
| |
| if ( LA94_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 0) ) { |
| alt94=1; |
| } |
| else if ( LA94_0 ==56 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 1) ) { |
| alt94=2; |
| } |
| else if ( (LA94_0==30||LA94_0==57) && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 2) ) { |
| alt94=3; |
| } |
| |
| |
| switch (alt94) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3406:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3406:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3407:5: {...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 0) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 0)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3407:110: ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3408:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 0); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3411:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3411:7: {...}? => (otherlv_5= '[' (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"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3411:16: (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3411:18: otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? |
| { |
| otherlv_5=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCDecimalMin7349); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_5, grammarAccess.getDtCDecimalMinAccess().getLeftSquareBracketKeyword_4_0_0()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3415:1: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? |
| int alt92=2; |
| int LA92_0 = input.LA(1); |
| |
| if ( (LA92_0==54) ) { |
| alt92=1; |
| } |
| switch (alt92) { |
| case 1 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3415:3: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| { |
| otherlv_6=(Token)match(input,54,FollowSets001.FOLLOW_54_in_ruleDtCDecimalMin7362); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_6, grammarAccess.getDtCDecimalMinAccess().getMsgCodeKeyword_4_0_1_0()); |
| |
| } |
| otherlv_7=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCDecimalMin7374); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_7, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_0_1_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3423:1: ( (lv_msgCode_8_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3424:1: (lv_msgCode_8_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3424:1: (lv_msgCode_8_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3425:3: lv_msgCode_8_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0()); |
| |
| } |
| pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCDecimalMin7395); |
| 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, |
| "QualifiedName"); |
| afterParserOrEnumRuleCall(); |
| |
| } |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| |
| getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4()); |
| |
| } |
| |
| |
| } |
| |
| |
| } |
| break; |
| case 2 : |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3448:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3448:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3449:5: {...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| { |
| if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 1) ) { |
| if (state.backtracking>0) {state.failed=true; return current;} |
| throw new FailedPredicateException(input, "ruleDtCDecimalMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 1)"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3449:110: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3450:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| { |
| getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 1); |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3453:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3453:7: {...}? => (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"); |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3453:16: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3453:18: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| { |
| otherlv_9=(Token)match(input,56,FollowSets001.FOLLOW_56_in_ruleDtCDecimalMin7465); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_9, grammarAccess.getDtCDecimalMinAccess().getMsgI18nKeyKeyword_4_1_0()); |
| |
| } |
| otherlv_10=(Token)match(input,55,FollowSets001.FOLLOW_55_in_ruleDtCDecimalMin7477); if (state.failed) return current; |
| if ( state.backtracking==0 ) { |
| |
| newLeafNode(otherlv_10, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_1_1()); |
| |
| } |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3461:1: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3462:1: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| { |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3462:1: (lv_msgI18nKey_11_0= ruleQualifiedName ) |
| // ../org.eclipse.osbp.dsl.dto.xtext/src-gen/org/eclipse/osbp/dsl/dto/xtext/parser/antlr/internal/InternalDtoGrammar.g:3463:3: lv_msgI18nKey_11_0= ruleQualifiedName |
| { |
| if ( state.backtracking==0 ) { |
| |
| newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0()); |
| |
| } |