blob: db7da1bf44d150ece2dcb6453491311deddb8147 [file] [log] [blame]
/**
* 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.common.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.common.xtext.services.CommonGrammarGrammarAccess;
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 InternalCommonGrammarParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_STRING", "RULE_ID", "RULE_HEX", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'package'", "'{'", "'}'", "'class'", "'import'", "';'", "'datatype'", "'jvmType'", "'as primitive'", "'properties'", "'('", "', '", "')'", "'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'", "'id'", "'uuid'", "'transient'", "'version'", "'derived'", "'collection'", "'refers'", "'settings'", "'lazy'", "'notnull'", "'dto'", "'date'", "'mapto'", "'ref'", "'cascade'", "'var'", "'+'", "'-'", "'@'", "','", "'#'", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'**'", "'/'", "'%'", "'!'", "'as'", "'++'", "'--'", "'::'", "'?.'", "'|'", "'if'", "'else'", "'switch'", "':'", "'default'", "'case'", "'for'", "'while'", "'do'", "'val'", "'extends'", "'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 RULE_HEX=7;
public static final int T__50=50;
public static final int T__140=140;
public static final int T__142=142;
public static final int T__141=141;
public static final int T__59=59;
public static final int T__55=55;
public static final int T__56=56;
public static final int T__57=57;
public static final int T__58=58;
public static final int T__51=51;
public static final int T__137=137;
public static final int T__52=52;
public static final int T__136=136;
public static final int T__53=53;
public static final int T__139=139;
public static final int T__54=54;
public static final int T__138=138;
public static final int T__133=133;
public static final int T__132=132;
public static final int T__60=60;
public static final int T__135=135;
public static final int T__61=61;
public static final int T__134=134;
public static final int RULE_ID=6;
public static final int T__131=131;
public static final int T__130=130;
public static final int RULE_INT=4;
public static final int T__66=66;
public static final int RULE_ML_COMMENT=9;
public static final int T__67=67;
public static final int T__129=129;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__62=62;
public static final int T__126=126;
public static final int T__63=63;
public static final int T__125=125;
public static final int T__64=64;
public static final int T__128=128;
public static final int T__65=65;
public static final int T__127=127;
public static final int T__37=37;
public static final int T__38=38;
public static final int T__39=39;
public static final int T__33=33;
public static final int T__34=34;
public static final int T__35=35;
public static final int T__36=36;
public static final int T__30=30;
public static final int T__31=31;
public static final int T__32=32;
public static final int T__48=48;
public static final int T__49=49;
public static final int T__44=44;
public static final int T__45=45;
public static final int T__46=46;
public static final int T__47=47;
public static final int T__40=40;
public static final int T__41=41;
public static final int T__42=42;
public static final int T__43=43;
public static final int T__91=91;
public static final int T__100=100;
public static final int T__92=92;
public static final int T__93=93;
public static final int T__102=102;
public static final int T__94=94;
public static final int T__101=101;
public static final int T__90=90;
public static final int T__19=19;
public static final int T__15=15;
public static final int T__16=16;
public static final int T__17=17;
public static final int T__18=18;
public static final int T__99=99;
public static final int T__13=13;
public static final int T__14=14;
public static final int T__95=95;
public static final int T__96=96;
public static final int T__97=97;
public static final int T__98=98;
public static final int RULE_DECIMAL=8;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int T__29=29;
public static final int T__22=22;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
public static final int T__20=20;
public static final int T__21=21;
public static final int T__122=122;
public static final int T__70=70;
public static final int T__121=121;
public static final int T__71=71;
public static final int T__124=124;
public static final int T__72=72;
public static final int T__123=123;
public static final int T__120=120;
public static final int RULE_STRING=5;
public static final int RULE_SL_COMMENT=10;
public static final int T__77=77;
public static final int T__119=119;
public static final int T__78=78;
public static final int T__118=118;
public static final int T__79=79;
public static final int T__73=73;
public static final int T__115=115;
public static final int EOF=-1;
public static final int T__74=74;
public static final int T__114=114;
public static final int T__75=75;
public static final int T__117=117;
public static final int T__76=76;
public static final int T__116=116;
public static final int T__80=80;
public static final int T__111=111;
public static final int T__81=81;
public static final int T__110=110;
public static final int T__82=82;
public static final int T__113=113;
public static final int T__83=83;
public static final int T__112=112;
public static final int RULE_WS=11;
public static final int RULE_ANY_OTHER=12;
public static final int T__88=88;
public static final int T__108=108;
public static final int T__89=89;
public static final int T__107=107;
public static final int T__109=109;
public static final int T__84=84;
public static final int T__104=104;
public static final int T__85=85;
public static final int T__103=103;
public static final int T__86=86;
public static final int T__106=106;
public static final int T__87=87;
public static final int T__105=105;
// delegates
// delegators
public InternalCommonGrammarParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalCommonGrammarParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalCommonGrammarParser.tokenNames; }
public String getGrammarFileName() { return "../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g"; }
private CommonGrammarGrammarAccess grammarAccess;
public InternalCommonGrammarParser(TokenStream input, CommonGrammarGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "TypedPackage";
}
@Override
protected CommonGrammarGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleTypedPackage"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:68: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:69:2: (iv_ruleTypedPackage= ruleTypedPackage EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:70:2: iv_ruleTypedPackage= ruleTypedPackage EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypedPackageRule());
}
pushFollow(FollowSets000.FOLLOW_ruleTypedPackage_in_entryRuleTypedPackage75);
iv_ruleTypedPackage=ruleTypedPackage();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleTypedPackage;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleTypedPackage85); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:77: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:80: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:81: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:81: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:81: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:81:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:82:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getTypedPackageAccess().getLTypedPackageAction_0(),
current);
}
}
otherlv_1=(Token)match(input,13,FollowSets000.FOLLOW_13_in_ruleTypedPackage131); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getTypedPackageAccess().getPackageKeyword_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:91:1: ( (lv_name_2_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:92:1: (lv_name_2_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:92:1: (lv_name_2_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:93:3: lv_name_2_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypedPackageAccess().getNameQualifiedNameParserRuleCall_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleTypedPackage152);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:109:2: (otherlv_3= '{' ( (lv_imports_4_0= ruleImport ) )* ( (lv_types_5_0= ruleType ) )* otherlv_6= '}' )?
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==14) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:109:4: otherlv_3= '{' ( (lv_imports_4_0= ruleImport ) )* ( (lv_types_5_0= ruleType ) )* otherlv_6= '}'
{
otherlv_3=(Token)match(input,14,FollowSets000.FOLLOW_14_in_ruleTypedPackage165); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getTypedPackageAccess().getLeftCurlyBracketKeyword_3_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:113:1: ( (lv_imports_4_0= ruleImport ) )*
loop1:
do {
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==17) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:114:1: (lv_imports_4_0= ruleImport )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:114:1: (lv_imports_4_0= ruleImport )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:115:3: lv_imports_4_0= ruleImport
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypedPackageAccess().getImportsImportParserRuleCall_3_1_0());
}
pushFollow(FollowSets000.FOLLOW_ruleImport_in_ruleTypedPackage186);
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 loop1;
}
} while (true);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:131:3: ( (lv_types_5_0= ruleType ) )*
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==16||LA2_0==19||LA2_0==47||LA2_0==73) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:132:1: (lv_types_5_0= ruleType )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:132:1: (lv_types_5_0= ruleType )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:133:3: lv_types_5_0= ruleType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypedPackageAccess().getTypesTypeParserRuleCall_3_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleType_in_ruleTypedPackage208);
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 loop2;
}
} while (true);
otherlv_6=(Token)match(input,15,FollowSets000.FOLLOW_15_in_ruleTypedPackage221); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:161: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:162:2: (iv_ruleType= ruleType EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:163:2: iv_ruleType= ruleType EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypeRule());
}
pushFollow(FollowSets000.FOLLOW_ruleType_in_entryRuleType259);
iv_ruleType=ruleType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleType;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleType269); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:170: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:173:28: ( (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:174:1: (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:174:1: (this_ScalarType_0= ruleScalarType | this_Class_1= ruleClass )
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==19||LA4_0==47) ) {
alt4=1;
}
else if ( (LA4_0==16||LA4_0==73) ) {
alt4=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 4, 0, input);
throw nvae;
}
switch (alt4) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:175:5: this_ScalarType_0= ruleScalarType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypeAccess().getScalarTypeParserRuleCall_0());
}
pushFollow(FollowSets000.FOLLOW_ruleScalarType_in_ruleType316);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:185:5: this_Class_1= ruleClass
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getTypeAccess().getClassParserRuleCall_1());
}
pushFollow(FollowSets000.FOLLOW_ruleClass_in_ruleType343);
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 "entryRuleClass"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:201: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:202:2: (iv_ruleClass= ruleClass EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:203:2: iv_ruleClass= ruleClass EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getClassRule());
}
pushFollow(FollowSets000.FOLLOW_ruleClass_in_entryRuleClass378);
iv_ruleClass=ruleClass();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleClass;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleClass388); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:210:1: ruleClass returns [EObject current=null] : ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* () otherlv_3= 'class' ) ;
public final EObject ruleClass() throws RecognitionException {
EObject current = null;
Token otherlv_3=null;
EObject lv_annotations_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:213:28: ( ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* () otherlv_3= 'class' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:214:1: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* () otherlv_3= 'class' )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:214:1: ( () ( (lv_annotations_1_0= ruleAnnotationDef ) )* () otherlv_3= 'class' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:214:2: () ( (lv_annotations_1_0= ruleAnnotationDef ) )* () otherlv_3= 'class'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:214:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:215:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getClassAccess().getLClassAction_0(),
current);
}
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:220:2: ( (lv_annotations_1_0= ruleAnnotationDef ) )*
loop5:
do {
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==73) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:221:1: (lv_annotations_1_0= ruleAnnotationDef )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:221:1: (lv_annotations_1_0= ruleAnnotationDef )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:222:3: lv_annotations_1_0= ruleAnnotationDef
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getClassAccess().getAnnotationsAnnotationDefParserRuleCall_1_0());
}
pushFollow(FollowSets000.FOLLOW_ruleAnnotationDef_in_ruleClass443);
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 loop5;
}
} while (true);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:238:3: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:239:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getClassAccess().getLClassAnnotationInfoAction_2(),
current);
}
}
otherlv_3=(Token)match(input,16,FollowSets000.FOLLOW_16_in_ruleClass465); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getClassAccess().getClassKeyword_3());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleClass"
// $ANTLR start "entryRuleImport"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:256: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:257:2: (iv_ruleImport= ruleImport EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:258:2: iv_ruleImport= ruleImport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImportRule());
}
pushFollow(FollowSets000.FOLLOW_ruleImport_in_entryRuleImport501);
iv_ruleImport=ruleImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleImport;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleImport511); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:265: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:268:28: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) ) (otherlv_2= ';' )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:269:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) ) (otherlv_2= ';' )? )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:269:1: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) ) (otherlv_2= ';' )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:269:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) ) (otherlv_2= ';' )?
{
otherlv_0=(Token)match(input,17,FollowSets000.FOLLOW_17_in_ruleImport548); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:273:1: ( (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:274:1: (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:274:1: (lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:275:3: lv_importedNamespace_1_0= ruleLQualifiedNameWithWildCard
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceLQualifiedNameWithWildCardParserRuleCall_1_0());
}
pushFollow(FollowSets000.FOLLOW_ruleLQualifiedNameWithWildCard_in_ruleImport569);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:291:2: (otherlv_2= ';' )?
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==18) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:291:4: otherlv_2= ';'
{
otherlv_2=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleImport582); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:303: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:304:2: (iv_ruleDataType= ruleDataType EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:305:2: iv_ruleDataType= ruleDataType EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeRule());
}
pushFollow(FollowSets000.FOLLOW_ruleDataType_in_entryRuleDataType620);
iv_ruleDataType=ruleDataType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDataType;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDataType630); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:312: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:315: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:316: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:316: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:316: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,19,FollowSets000.FOLLOW_19_in_ruleDataType667); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getDataTypeAccess().getDatatypeKeyword_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:320:1: ( (lv_name_1_0= ruleValidIDWithKeywords ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:321:1: (lv_name_1_0= ruleValidIDWithKeywords )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:321:1: (lv_name_1_0= ruleValidIDWithKeywords )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:322:3: lv_name_1_0= ruleValidIDWithKeywords
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeAccess().getNameValidIDWithKeywordsParserRuleCall_1_0());
}
pushFollow(FollowSets000.FOLLOW_ruleValidIDWithKeywords_in_ruleDataType688);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:338: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 alt17=3;
switch ( input.LA(1) ) {
case 20:
{
alt17=1;
}
break;
case 26:
{
alt17=2;
}
break;
case 27:
{
alt17=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 17, 0, input);
throw nvae;
}
switch (alt17) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:338: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:338: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:338: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,20,FollowSets000.FOLLOW_20_in_ruleDataType702); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDataTypeAccess().getJvmTypeKeyword_2_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:342:1: ( (lv_jvmTypeReference_3_0= ruleJvmTypeReference ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:343:1: (lv_jvmTypeReference_3_0= ruleJvmTypeReference )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:343:1: (lv_jvmTypeReference_3_0= ruleJvmTypeReference )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:344:3: lv_jvmTypeReference_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeAccess().getJvmTypeReferenceJvmTypeReferenceParserRuleCall_2_0_1_0());
}
pushFollow(FollowSets000.FOLLOW_ruleJvmTypeReference_in_ruleDataType723);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:360:2: ( (lv_asPrimitive_4_0= 'as primitive' ) )?
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==21) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:361:1: (lv_asPrimitive_4_0= 'as primitive' )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:361:1: (lv_asPrimitive_4_0= 'as primitive' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:362:3: lv_asPrimitive_4_0= 'as primitive'
{
lv_asPrimitive_4_0=(Token)match(input,21,FollowSets000.FOLLOW_21_in_ruleDataType741); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:375:3: ( (lv_constraints_5_0= ruleDataTypeConstraint ) )*
loop8:
do {
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==28||(LA8_0>=35 && LA8_0<=38)||(LA8_0>=41 && LA8_0<=46)) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:376:1: (lv_constraints_5_0= ruleDataTypeConstraint )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:376:1: (lv_constraints_5_0= ruleDataTypeConstraint )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:377:3: lv_constraints_5_0= ruleDataTypeConstraint
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsDataTypeConstraintParserRuleCall_2_0_3_0());
}
pushFollow(FollowSets000.FOLLOW_ruleDataTypeConstraint_in_ruleDataType776);
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 loop8;
}
} while (true);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:393:3: (otherlv_6= 'properties' otherlv_7= '(' ( (lv_properties_8_0= ruleKeyAndValue ) ) (otherlv_9= ', ' ( (lv_properties_10_0= ruleKeyAndValue ) ) )* otherlv_11= ')' )?
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==22) ) {
alt10=1;
}
switch (alt10) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:393: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_ruleDataType790); 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_ruleDataType802); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_0_4_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:401:1: ( (lv_properties_8_0= ruleKeyAndValue ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:402:1: (lv_properties_8_0= ruleKeyAndValue )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:402:1: (lv_properties_8_0= ruleKeyAndValue )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:403:3: lv_properties_8_0= ruleKeyAndValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_0_4_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDataType823);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:419:2: (otherlv_9= ', ' ( (lv_properties_10_0= ruleKeyAndValue ) ) )*
loop9:
do {
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==24) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:419:4: otherlv_9= ', ' ( (lv_properties_10_0= ruleKeyAndValue ) )
{
otherlv_9=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDataType836); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDataTypeAccess().getCommaSpaceKeyword_2_0_4_3_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:423:1: ( (lv_properties_10_0= ruleKeyAndValue ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:424:1: (lv_properties_10_0= ruleKeyAndValue )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:424:1: (lv_properties_10_0= ruleKeyAndValue )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:425: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_ruleDataType857);
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 loop9;
}
} while (true);
otherlv_11=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDataType871); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:446: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:446: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:446: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:446:7: ( (lv_date_12_0= 'dateType' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:447:1: (lv_date_12_0= 'dateType' )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:447:1: (lv_date_12_0= 'dateType' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:448:3: lv_date_12_0= 'dateType'
{
lv_date_12_0=(Token)match(input,26,FollowSets000.FOLLOW_26_in_ruleDataType899); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:461:2: ( (lv_dateType_13_0= ruleDateType ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:462:1: (lv_dateType_13_0= ruleDateType )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:462:1: (lv_dateType_13_0= ruleDateType )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:463:3: lv_dateType_13_0= ruleDateType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeAccess().getDateTypeDateTypeEnumRuleCall_2_1_1_0());
}
pushFollow(FollowSets000.FOLLOW_ruleDateType_in_ruleDataType933);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:479:2: ( (lv_constraints_14_0= ruleDateConstraint ) )*
loop11:
do {
int alt11=2;
int LA11_0 = input.LA(1);
if ( ((LA11_0>=39 && LA11_0<=40)||(LA11_0>=43 && LA11_0<=44)) ) {
alt11=1;
}
switch (alt11) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:480:1: (lv_constraints_14_0= ruleDateConstraint )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:480:1: (lv_constraints_14_0= ruleDateConstraint )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:481:3: lv_constraints_14_0= ruleDateConstraint
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsDateConstraintParserRuleCall_2_1_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleDateConstraint_in_ruleDataType954);
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 loop11;
}
} while (true);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:497:3: (otherlv_15= 'properties' otherlv_16= '(' ( (lv_properties_17_0= ruleKeyAndValue ) ) (otherlv_18= ', ' ( (lv_properties_19_0= ruleKeyAndValue ) ) )* otherlv_20= ')' )?
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==22) ) {
alt13=1;
}
switch (alt13) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:497: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_ruleDataType968); 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_ruleDataType980); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_1_3_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:505:1: ( (lv_properties_17_0= ruleKeyAndValue ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:506:1: (lv_properties_17_0= ruleKeyAndValue )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:506:1: (lv_properties_17_0= ruleKeyAndValue )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:507:3: lv_properties_17_0= ruleKeyAndValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_1_3_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDataType1001);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:523:2: (otherlv_18= ', ' ( (lv_properties_19_0= ruleKeyAndValue ) ) )*
loop12:
do {
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==24) ) {
alt12=1;
}
switch (alt12) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:523:4: otherlv_18= ', ' ( (lv_properties_19_0= ruleKeyAndValue ) )
{
otherlv_18=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDataType1014); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_18, grammarAccess.getDataTypeAccess().getCommaSpaceKeyword_2_1_3_3_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:527:1: ( (lv_properties_19_0= ruleKeyAndValue ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:528:1: (lv_properties_19_0= ruleKeyAndValue )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:528:1: (lv_properties_19_0= ruleKeyAndValue )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:529: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_ruleDataType1035);
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 loop12;
}
} while (true);
otherlv_20=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDataType1049); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:550: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:550: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:550: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:550:7: ( (lv_asBlob_21_0= 'as blob' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:551:1: (lv_asBlob_21_0= 'as blob' )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:551:1: (lv_asBlob_21_0= 'as blob' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:552:3: lv_asBlob_21_0= 'as blob'
{
lv_asBlob_21_0=(Token)match(input,27,FollowSets000.FOLLOW_27_in_ruleDataType1077); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:565:2: ( (lv_constraints_22_0= ruleBlobTypeConstraint ) )*
loop14:
do {
int alt14=2;
int LA14_0 = input.LA(1);
if ( ((LA14_0>=43 && LA14_0<=44)) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:566:1: (lv_constraints_22_0= ruleBlobTypeConstraint )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:566:1: (lv_constraints_22_0= ruleBlobTypeConstraint )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:567:3: lv_constraints_22_0= ruleBlobTypeConstraint
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeAccess().getConstraintsBlobTypeConstraintParserRuleCall_2_2_1_0());
}
pushFollow(FollowSets000.FOLLOW_ruleBlobTypeConstraint_in_ruleDataType1111);
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 loop14;
}
} while (true);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:583:3: (otherlv_23= 'properties' otherlv_24= '(' ( (lv_properties_25_0= ruleKeyAndValue ) ) (otherlv_26= ', ' ( (lv_properties_27_0= ruleKeyAndValue ) ) )* otherlv_28= ')' )?
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==22) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:583: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_ruleDataType1125); 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,FollowSets000.FOLLOW_23_in_ruleDataType1137); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_24, grammarAccess.getDataTypeAccess().getLeftParenthesisKeyword_2_2_2_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:591:1: ( (lv_properties_25_0= ruleKeyAndValue ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:592:1: (lv_properties_25_0= ruleKeyAndValue )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:592:1: (lv_properties_25_0= ruleKeyAndValue )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:593:3: lv_properties_25_0= ruleKeyAndValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_2_2_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDataType1158);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:609:2: (otherlv_26= ', ' ( (lv_properties_27_0= ruleKeyAndValue ) ) )*
loop15:
do {
int alt15=2;
int LA15_0 = input.LA(1);
if ( (LA15_0==24) ) {
alt15=1;
}
switch (alt15) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:609:4: otherlv_26= ', ' ( (lv_properties_27_0= ruleKeyAndValue ) )
{
otherlv_26=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDataType1171); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_26, grammarAccess.getDataTypeAccess().getCommaSpaceKeyword_2_2_2_3_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:613:1: ( (lv_properties_27_0= ruleKeyAndValue ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:614:1: (lv_properties_27_0= ruleKeyAndValue )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:614:1: (lv_properties_27_0= ruleKeyAndValue )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:615:3: lv_properties_27_0= ruleKeyAndValue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeAccess().getPropertiesKeyAndValueParserRuleCall_2_2_2_3_1_0());
}
pushFollow(FollowSets000.FOLLOW_ruleKeyAndValue_in_ruleDataType1192);
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 loop15;
}
} while (true);
otherlv_28=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDataType1206); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:635:5: (otherlv_29= ';' )?
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==18) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:635:7: otherlv_29= ';'
{
otherlv_29=(Token)match(input,18,FollowSets000.FOLLOW_18_in_ruleDataType1223); 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 "entryRuleDataTypeConstraint"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:649: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:650:2: (iv_ruleDataTypeConstraint= ruleDataTypeConstraint EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:651:2: iv_ruleDataTypeConstraint= ruleDataTypeConstraint EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintRule());
}
pushFollow(FollowSets000.FOLLOW_ruleDataTypeConstraint_in_entryRuleDataTypeConstraint1263);
iv_ruleDataTypeConstraint=ruleDataTypeConstraint();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDataTypeConstraint;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDataTypeConstraint1273); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:658: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:661: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:662: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:662: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 alt19=11;
switch ( input.LA(1) ) {
case 28:
{
alt19=1;
}
break;
case 35:
{
alt19=2;
}
break;
case 36:
{
alt19=3;
}
break;
case 37:
{
alt19=4;
}
break;
case 38:
{
alt19=5;
}
break;
case 41:
{
alt19=6;
}
break;
case 42:
{
alt19=7;
}
break;
case 43:
{
alt19=8;
}
break;
case 44:
{
alt19=9;
}
break;
case 45:
{
alt19=10;
}
break;
case 46:
{
alt19=11;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 19, 0, input);
throw nvae;
}
switch (alt19) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:663:5: this_DtCAssertFalse_0= ruleDtCAssertFalse
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCAssertFalseParserRuleCall_0());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCAssertFalse_in_ruleDataTypeConstraint1320);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:673:5: this_DtCAssertTrue_1= ruleDtCAssertTrue
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCAssertTrueParserRuleCall_1());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCAssertTrue_in_ruleDataTypeConstraint1347);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:683:5: this_DtCDecimalMax_2= ruleDtCDecimalMax
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDecimalMaxParserRuleCall_2());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCDecimalMax_in_ruleDataTypeConstraint1374);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:693:5: this_DtCDecimalMin_3= ruleDtCDecimalMin
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDecimalMinParserRuleCall_3());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCDecimalMin_in_ruleDataTypeConstraint1401);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:703:5: this_DtCDigits_4= ruleDtCDigits
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCDigitsParserRuleCall_4());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCDigits_in_ruleDataTypeConstraint1428);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:713:5: this_DtCNumericMax_5= ruleDtCNumericMax
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNumericMaxParserRuleCall_5());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCNumericMax_in_ruleDataTypeConstraint1455);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:723:5: this_DtCNumericMin_6= ruleDtCNumericMin
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNumericMinParserRuleCall_6());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCNumericMin_in_ruleDataTypeConstraint1482);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:733:5: this_DtCNotNull_7= ruleDtCNotNull
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNotNullParserRuleCall_7());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCNotNull_in_ruleDataTypeConstraint1509);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:743:5: this_DtCNull_8= ruleDtCNull
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCNullParserRuleCall_8());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCNull_in_ruleDataTypeConstraint1536);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:753:5: this_DtCRegEx_9= ruleDtCRegEx
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCRegExParserRuleCall_9());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCRegEx_in_ruleDataTypeConstraint1563);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:763:5: this_DtCSize_10= ruleDtCSize
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDataTypeConstraintAccess().getDtCSizeParserRuleCall_10());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCSize_in_ruleDataTypeConstraint1590);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:779: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:780:2: (iv_ruleDateConstraint= ruleDateConstraint EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:781:2: iv_ruleDateConstraint= ruleDateConstraint EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateConstraintRule());
}
pushFollow(FollowSets000.FOLLOW_ruleDateConstraint_in_entryRuleDateConstraint1625);
iv_ruleDateConstraint=ruleDateConstraint();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDateConstraint;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDateConstraint1635); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:788: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:791:28: ( (this_DtCFuture_0= ruleDtCFuture | this_DtCPast_1= ruleDtCPast | this_DtCNotNull_2= ruleDtCNotNull | this_DtCNull_3= ruleDtCNull ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:792:1: (this_DtCFuture_0= ruleDtCFuture | this_DtCPast_1= ruleDtCPast | this_DtCNotNull_2= ruleDtCNotNull | this_DtCNull_3= ruleDtCNull )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:792:1: (this_DtCFuture_0= ruleDtCFuture | this_DtCPast_1= ruleDtCPast | this_DtCNotNull_2= ruleDtCNotNull | this_DtCNull_3= ruleDtCNull )
int alt20=4;
switch ( input.LA(1) ) {
case 39:
{
alt20=1;
}
break;
case 40:
{
alt20=2;
}
break;
case 43:
{
alt20=3;
}
break;
case 44:
{
alt20=4;
}
break;
default:
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:793:5: this_DtCFuture_0= ruleDtCFuture
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCFutureParserRuleCall_0());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCFuture_in_ruleDateConstraint1682);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:803:5: this_DtCPast_1= ruleDtCPast
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCPastParserRuleCall_1());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCPast_in_ruleDateConstraint1709);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:813:5: this_DtCNotNull_2= ruleDtCNotNull
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCNotNullParserRuleCall_2());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCNotNull_in_ruleDateConstraint1736);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:823:5: this_DtCNull_3= ruleDtCNull
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDateConstraintAccess().getDtCNullParserRuleCall_3());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCNull_in_ruleDateConstraint1763);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:839: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:840:2: (iv_ruleBlobTypeConstraint= ruleBlobTypeConstraint EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:841:2: iv_ruleBlobTypeConstraint= ruleBlobTypeConstraint EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBlobTypeConstraintRule());
}
pushFollow(FollowSets000.FOLLOW_ruleBlobTypeConstraint_in_entryRuleBlobTypeConstraint1798);
iv_ruleBlobTypeConstraint=ruleBlobTypeConstraint();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleBlobTypeConstraint;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleBlobTypeConstraint1808); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:848: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:851:28: ( (this_DtCNotNull_0= ruleDtCNotNull | this_DtCNull_1= ruleDtCNull ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:852:1: (this_DtCNotNull_0= ruleDtCNotNull | this_DtCNull_1= ruleDtCNull )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:852:1: (this_DtCNotNull_0= ruleDtCNotNull | this_DtCNull_1= ruleDtCNull )
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==43) ) {
alt21=1;
}
else if ( (LA21_0==44) ) {
alt21=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 21, 0, input);
throw nvae;
}
switch (alt21) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:853:5: this_DtCNotNull_0= ruleDtCNotNull
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBlobTypeConstraintAccess().getDtCNotNullParserRuleCall_0());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCNotNull_in_ruleBlobTypeConstraint1855);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:863:5: this_DtCNull_1= ruleDtCNull
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getBlobTypeConstraintAccess().getDtCNullParserRuleCall_1());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCNull_in_ruleBlobTypeConstraint1882);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:879: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:880:2: (iv_ruleDtCAssertFalse= ruleDtCAssertFalse EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:881:2: iv_ruleDtCAssertFalse= ruleDtCAssertFalse EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCAssertFalseRule());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCAssertFalse_in_entryRuleDtCAssertFalse1917);
iv_ruleDtCAssertFalse=ruleDtCAssertFalse();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCAssertFalse;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDtCAssertFalse1927); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:888: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:891: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:892: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:892: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:892: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:892:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:893:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCAssertFalseAccess().getLDtCAssertFalseAction_0(),
current);
}
}
otherlv_1=(Token)match(input,28,FollowSets000.FOLLOW_28_in_ruleDtCAssertFalse1973); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCAssertFalseAccess().getIsFalseKeyword_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:902: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 alt25=2;
int LA25_0 = input.LA(1);
if ( (LA25_0==29||(LA25_0>=32 && LA25_0<=34)) ) {
alt25=1;
}
switch (alt25) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:904: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:904: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:905: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:908: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:909: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:909: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 cnt24=0;
loop24:
do {
int alt24=4;
int LA24_0 = input.LA(1);
if ( LA24_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 0) ) {
alt24=1;
}
else if ( LA24_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 1) ) {
alt24=2;
}
else if ( LA24_0 >=33 && LA24_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 2) ) {
alt24=3;
}
switch (alt24) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:911:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:911:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:912: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:912:111: ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:913:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:916:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:916: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:916:16: (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:916:18: otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
{
otherlv_3=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleDtCAssertFalse2031); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDtCAssertFalseAccess().getLeftSquareBracketKeyword_2_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:920:1: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==30) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:920:3: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) )
{
otherlv_4=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleDtCAssertFalse2044); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDtCAssertFalseAccess().getMsgCodeKeyword_2_0_1_0());
}
otherlv_5=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCAssertFalse2056); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:928:1: ( (lv_msgCode_6_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:929:1: (lv_msgCode_6_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:929:1: (lv_msgCode_6_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:930:3: lv_msgCode_6_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleDtCAssertFalse2077);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:953:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:953:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:954: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:954:111: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:955:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:958:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:958: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:958:16: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:958:18: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
{
otherlv_7=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleDtCAssertFalse2147); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCAssertFalseAccess().getMsgI18nKeyKeyword_2_1_0());
}
otherlv_8=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCAssertFalse2159); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:966:1: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:967:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:967:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:968:3: lv_msgI18nKey_9_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleDtCAssertFalse2180);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:991:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:991:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:992: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:992:111: ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:993:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCAssertFalseAccess().getUnorderedGroup_2(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:996:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:996: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:996:16: ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:996:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:996:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==33) ) {
alt23=1;
}
switch (alt23) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:996:19: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) )
{
otherlv_10=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleDtCAssertFalse2249); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCAssertFalseAccess().getSeverityKeyword_2_2_0_0());
}
otherlv_11=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCAssertFalse2261); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDtCAssertFalseAccess().getEqualsSignKeyword_2_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1004:1: ( (lv_severity_12_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1005:1: (lv_severity_12_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1005:1: (lv_severity_12_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1006:3: lv_severity_12_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCAssertFalseAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleConstraintSeverity_in_ruleDtCAssertFalse2282);
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,34,FollowSets000.FOLLOW_34_in_ruleDtCAssertFalse2296); 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 ( cnt24 >= 1 ) break loop24;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(24, input);
throw eee;
}
cnt24++;
} 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1049: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1050:2: (iv_ruleDtCAssertTrue= ruleDtCAssertTrue EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1051:2: iv_ruleDtCAssertTrue= ruleDtCAssertTrue EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCAssertTrueRule());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCAssertTrue_in_entryRuleDtCAssertTrue2380);
iv_ruleDtCAssertTrue=ruleDtCAssertTrue();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCAssertTrue;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDtCAssertTrue2390); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1058: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1061: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1062: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1062: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1062: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1062:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1063:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCAssertTrueAccess().getLDtCAssertTrueAction_0(),
current);
}
}
otherlv_1=(Token)match(input,35,FollowSets000.FOLLOW_35_in_ruleDtCAssertTrue2436); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCAssertTrueAccess().getIsTrueKeyword_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1072: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 alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==29||(LA29_0>=32 && LA29_0<=34)) ) {
alt29=1;
}
switch (alt29) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1074: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1074: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1075: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1078: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1079: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1079: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 cnt28=0;
loop28:
do {
int alt28=4;
int LA28_0 = input.LA(1);
if ( LA28_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 0) ) {
alt28=1;
}
else if ( LA28_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 1) ) {
alt28=2;
}
else if ( LA28_0 >=33 && LA28_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 2) ) {
alt28=3;
}
switch (alt28) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1081:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1081:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1082: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1082:110: ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1083:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1086:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1086: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1086:16: (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1086:18: otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
{
otherlv_3=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleDtCAssertTrue2494); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDtCAssertTrueAccess().getLeftSquareBracketKeyword_2_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1090:1: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==30) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1090:3: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) )
{
otherlv_4=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleDtCAssertTrue2507); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDtCAssertTrueAccess().getMsgCodeKeyword_2_0_1_0());
}
otherlv_5=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCAssertTrue2519); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1098:1: ( (lv_msgCode_6_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1099:1: (lv_msgCode_6_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1099:1: (lv_msgCode_6_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1100:3: lv_msgCode_6_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleDtCAssertTrue2540);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1123:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1123:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1124: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1124:110: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1125:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1128:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1128: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1128:16: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1128:18: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
{
otherlv_7=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleDtCAssertTrue2610); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCAssertTrueAccess().getMsgI18nKeyKeyword_2_1_0());
}
otherlv_8=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCAssertTrue2622); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1136:1: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1137:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1137:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1138:3: lv_msgI18nKey_9_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleDtCAssertTrue2643);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1161:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1161:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1162: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1162:110: ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1163:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCAssertTrueAccess().getUnorderedGroup_2(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1166:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1166: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1166:16: ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1166:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1166:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )?
int alt27=2;
int LA27_0 = input.LA(1);
if ( (LA27_0==33) ) {
alt27=1;
}
switch (alt27) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1166:19: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) )
{
otherlv_10=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleDtCAssertTrue2712); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCAssertTrueAccess().getSeverityKeyword_2_2_0_0());
}
otherlv_11=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCAssertTrue2724); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDtCAssertTrueAccess().getEqualsSignKeyword_2_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1174:1: ( (lv_severity_12_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1175:1: (lv_severity_12_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1175:1: (lv_severity_12_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1176:3: lv_severity_12_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCAssertTrueAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleConstraintSeverity_in_ruleDtCAssertTrue2745);
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,34,FollowSets000.FOLLOW_34_in_ruleDtCAssertTrue2759); 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 ( cnt28 >= 1 ) break loop28;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(28, input);
throw eee;
}
cnt28++;
} 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1219: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1220:2: (iv_ruleDtCDecimalMax= ruleDtCDecimalMax EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1221:2: iv_ruleDtCDecimalMax= ruleDtCDecimalMax EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDecimalMaxRule());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCDecimalMax_in_entryRuleDtCDecimalMax2843);
iv_ruleDtCDecimalMax=ruleDtCDecimalMax();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCDecimalMax;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDtCDecimalMax2853); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1228: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1231: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1232: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1232: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1232: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1232:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1233:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCDecimalMaxAccess().getLDtCDecimalMaxAction_0(),
current);
}
}
otherlv_1=(Token)match(input,36,FollowSets000.FOLLOW_36_in_ruleDtCDecimalMax2899); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCDecimalMaxAccess().getMaxDecimalKeyword_1());
}
otherlv_2=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtCDecimalMax2911); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDtCDecimalMaxAccess().getLeftParenthesisKeyword_2());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1246:1: ( (lv_max_3_0= ruleLDecimal ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1247:1: (lv_max_3_0= ruleLDecimal )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1247:1: (lv_max_3_0= ruleLDecimal )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1248:3: lv_max_3_0= ruleLDecimal
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMaxLDecimalParserRuleCall_3_0());
}
pushFollow(FollowSets000.FOLLOW_ruleLDecimal_in_ruleDtCDecimalMax2932);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1264: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 alt33=2;
int LA33_0 = input.LA(1);
if ( (LA33_0==29||(LA33_0>=32 && LA33_0<=34)) ) {
alt33=1;
}
switch (alt33) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1266: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1266: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1267: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1270: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1271: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1271: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 cnt32=0;
loop32:
do {
int alt32=4;
int LA32_0 = input.LA(1);
if ( LA32_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 0) ) {
alt32=1;
}
else if ( LA32_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 1) ) {
alt32=2;
}
else if ( LA32_0 >=33 && LA32_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 2) ) {
alt32=3;
}
switch (alt32) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1273:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1273:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1274: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1274:110: ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1275:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1278:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1278: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1278:16: (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1278:18: otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )?
{
otherlv_5=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleDtCDecimalMax2990); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCDecimalMaxAccess().getLeftSquareBracketKeyword_4_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1282:1: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )?
int alt30=2;
int LA30_0 = input.LA(1);
if ( (LA30_0==30) ) {
alt30=1;
}
switch (alt30) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1282:3: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) )
{
otherlv_6=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleDtCDecimalMax3003); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getDtCDecimalMaxAccess().getMsgCodeKeyword_4_0_1_0());
}
otherlv_7=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCDecimalMax3015); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1290:1: ( (lv_msgCode_8_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1291:1: (lv_msgCode_8_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1291:1: (lv_msgCode_8_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1292:3: lv_msgCode_8_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleDtCDecimalMax3036);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1315:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1315:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1316: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1316:110: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1317:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1320:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1320: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1320:16: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1320:18: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) )
{
otherlv_9=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleDtCDecimalMax3106); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDtCDecimalMaxAccess().getMsgI18nKeyKeyword_4_1_0());
}
otherlv_10=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCDecimalMax3118); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1328:1: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1329:1: (lv_msgI18nKey_11_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1329:1: (lv_msgI18nKey_11_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1330:3: lv_msgI18nKey_11_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleDtCDecimalMax3139);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1353:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1353:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1354: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1354:110: ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1355:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMaxAccess().getUnorderedGroup_4(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1358:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1358: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1358:16: ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1358:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1358:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )?
int alt31=2;
int LA31_0 = input.LA(1);
if ( (LA31_0==33) ) {
alt31=1;
}
switch (alt31) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1358:19: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) )
{
otherlv_12=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleDtCDecimalMax3208); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getDtCDecimalMaxAccess().getSeverityKeyword_4_2_0_0());
}
otherlv_13=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCDecimalMax3220); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDtCDecimalMaxAccess().getEqualsSignKeyword_4_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1366:1: ( (lv_severity_14_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1367:1: (lv_severity_14_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1367:1: (lv_severity_14_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1368:3: lv_severity_14_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDecimalMaxAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleConstraintSeverity_in_ruleDtCDecimalMax3241);
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,34,FollowSets000.FOLLOW_34_in_ruleDtCDecimalMax3255); 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 ( cnt32 >= 1 ) break loop32;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(32, input);
throw eee;
}
cnt32++;
} 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,FollowSets000.FOLLOW_25_in_ruleDtCDecimalMax3315); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1415: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1416:2: (iv_ruleDtCDecimalMin= ruleDtCDecimalMin EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1417:2: iv_ruleDtCDecimalMin= ruleDtCDecimalMin EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDecimalMinRule());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCDecimalMin_in_entryRuleDtCDecimalMin3351);
iv_ruleDtCDecimalMin=ruleDtCDecimalMin();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCDecimalMin;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDtCDecimalMin3361); 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1424: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1427: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1428: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1428: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1428: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1428:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1429:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCDecimalMinAccess().getLDtCDecimalMinAction_0(),
current);
}
}
otherlv_1=(Token)match(input,37,FollowSets000.FOLLOW_37_in_ruleDtCDecimalMin3407); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCDecimalMinAccess().getMinDecimalKeyword_1());
}
otherlv_2=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtCDecimalMin3419); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDtCDecimalMinAccess().getLeftParenthesisKeyword_2());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1442:1: ( (lv_min_3_0= ruleLDecimal ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1443:1: (lv_min_3_0= ruleLDecimal )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1443:1: (lv_min_3_0= ruleLDecimal )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1444:3: lv_min_3_0= ruleLDecimal
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMinLDecimalParserRuleCall_3_0());
}
pushFollow(FollowSets000.FOLLOW_ruleLDecimal_in_ruleDtCDecimalMin3440);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1460: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 alt37=2;
int LA37_0 = input.LA(1);
if ( (LA37_0==29||(LA37_0>=32 && LA37_0<=34)) ) {
alt37=1;
}
switch (alt37) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1462: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1462: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1463: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1466: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1467: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1467: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 cnt36=0;
loop36:
do {
int alt36=4;
int LA36_0 = input.LA(1);
if ( LA36_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 0) ) {
alt36=1;
}
else if ( LA36_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 1) ) {
alt36=2;
}
else if ( LA36_0 >=33 && LA36_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 2) ) {
alt36=3;
}
switch (alt36) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1469:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1469:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1470: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1470:110: ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1471:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1474:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1474: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1474:16: (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1474:18: otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )?
{
otherlv_5=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleDtCDecimalMin3498); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCDecimalMinAccess().getLeftSquareBracketKeyword_4_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1478:1: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )?
int alt34=2;
int LA34_0 = input.LA(1);
if ( (LA34_0==30) ) {
alt34=1;
}
switch (alt34) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1478:3: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) )
{
otherlv_6=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleDtCDecimalMin3511); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getDtCDecimalMinAccess().getMsgCodeKeyword_4_0_1_0());
}
otherlv_7=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCDecimalMin3523); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1486:1: ( (lv_msgCode_8_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1487:1: (lv_msgCode_8_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1487:1: (lv_msgCode_8_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1488:3: lv_msgCode_8_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleDtCDecimalMin3544);
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1511:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1511:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1512: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1512:110: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1513:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1516:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1516: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1516:16: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1516:18: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) )
{
otherlv_9=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleDtCDecimalMin3614); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDtCDecimalMinAccess().getMsgI18nKeyKeyword_4_1_0());
}
otherlv_10=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCDecimalMin3626); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1524:1: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1525:1: (lv_msgI18nKey_11_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1525:1: (lv_msgI18nKey_11_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1526:3: lv_msgI18nKey_11_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleDtCDecimalMin3647);
lv_msgI18nKey_11_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCDecimalMinRule());
}
set(
current,
"msgI18nKey",
lv_msgI18nKey_11_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1549:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1549:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1550:5: {...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCDecimalMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 2)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1550:110: ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1551:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1554:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1554: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, "ruleDtCDecimalMin", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1554:16: ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1554:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1554:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )?
int alt35=2;
int LA35_0 = input.LA(1);
if ( (LA35_0==33) ) {
alt35=1;
}
switch (alt35) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1554:19: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) )
{
otherlv_12=(Token)match(input,33,FollowSets000.FOLLOW_33_in_ruleDtCDecimalMin3716); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getDtCDecimalMinAccess().getSeverityKeyword_4_2_0_0());
}
otherlv_13=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCDecimalMin3728); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDtCDecimalMinAccess().getEqualsSignKeyword_4_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1562:1: ( (lv_severity_14_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1563:1: (lv_severity_14_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1563:1: (lv_severity_14_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1564:3: lv_severity_14_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDecimalMinAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleConstraintSeverity_in_ruleDtCDecimalMin3749);
lv_severity_14_0=ruleConstraintSeverity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCDecimalMinRule());
}
set(
current,
"severity",
lv_severity_14_0,
"ConstraintSeverity");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_15=(Token)match(input,34,FollowSets000.FOLLOW_34_in_ruleDtCDecimalMin3763); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getDtCDecimalMinAccess().getRightSquareBracketKeyword_4_2_1());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4());
}
}
}
break;
default :
if ( cnt36 >= 1 ) break loop36;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(36, input);
throw eee;
}
cnt36++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCDecimalMin", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDtCDecimalMinAccess().getUnorderedGroup_4());
}
break;
}
otherlv_16=(Token)match(input,25,FollowSets000.FOLLOW_25_in_ruleDtCDecimalMin3823); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getDtCDecimalMinAccess().getRightParenthesisKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDtCDecimalMin"
// $ANTLR start "entryRuleDtCDigits"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1611:1: entryRuleDtCDigits returns [EObject current=null] : iv_ruleDtCDigits= ruleDtCDigits EOF ;
public final EObject entryRuleDtCDigits() throws RecognitionException {
EObject current = null;
EObject iv_ruleDtCDigits = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1612:2: (iv_ruleDtCDigits= ruleDtCDigits EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1613:2: iv_ruleDtCDigits= ruleDtCDigits EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDigitsRule());
}
pushFollow(FollowSets000.FOLLOW_ruleDtCDigits_in_entryRuleDtCDigits3859);
iv_ruleDtCDigits=ruleDtCDigits();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCDigits;
}
match(input,EOF,FollowSets000.FOLLOW_EOF_in_entryRuleDtCDigits3869); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDtCDigits"
// $ANTLR start "ruleDtCDigits"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1620:1: ruleDtCDigits returns [EObject current=null] : ( () otherlv_1= 'digits' otherlv_2= '(' ( (lv_intDigits_3_0= RULE_INT ) ) otherlv_4= ', ' ( (lv_fractionDigits_5_0= RULE_INT ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )? otherlv_18= ')' ) ;
public final EObject ruleDtCDigits() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_intDigits_3_0=null;
Token otherlv_4=null;
Token lv_fractionDigits_5_0=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_17=null;
Token otherlv_18=null;
AntlrDatatypeRuleToken lv_msgCode_10_0 = null;
AntlrDatatypeRuleToken lv_msgI18nKey_13_0 = null;
Enumerator lv_severity_16_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1623:28: ( ( () otherlv_1= 'digits' otherlv_2= '(' ( (lv_intDigits_3_0= RULE_INT ) ) otherlv_4= ', ' ( (lv_fractionDigits_5_0= RULE_INT ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )? otherlv_18= ')' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1624:1: ( () otherlv_1= 'digits' otherlv_2= '(' ( (lv_intDigits_3_0= RULE_INT ) ) otherlv_4= ', ' ( (lv_fractionDigits_5_0= RULE_INT ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )? otherlv_18= ')' )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1624:1: ( () otherlv_1= 'digits' otherlv_2= '(' ( (lv_intDigits_3_0= RULE_INT ) ) otherlv_4= ', ' ( (lv_fractionDigits_5_0= RULE_INT ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )? otherlv_18= ')' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1624:2: () otherlv_1= 'digits' otherlv_2= '(' ( (lv_intDigits_3_0= RULE_INT ) ) otherlv_4= ', ' ( (lv_fractionDigits_5_0= RULE_INT ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )? otherlv_18= ')'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1624:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1625:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCDigitsAccess().getLDtCDigitsAction_0(),
current);
}
}
otherlv_1=(Token)match(input,38,FollowSets000.FOLLOW_38_in_ruleDtCDigits3915); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCDigitsAccess().getDigitsKeyword_1());
}
otherlv_2=(Token)match(input,23,FollowSets000.FOLLOW_23_in_ruleDtCDigits3927); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDtCDigitsAccess().getLeftParenthesisKeyword_2());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1638:1: ( (lv_intDigits_3_0= RULE_INT ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1639:1: (lv_intDigits_3_0= RULE_INT )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1639:1: (lv_intDigits_3_0= RULE_INT )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1640:3: lv_intDigits_3_0= RULE_INT
{
lv_intDigits_3_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleDtCDigits3944); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_intDigits_3_0, grammarAccess.getDtCDigitsAccess().getIntDigitsINTTerminalRuleCall_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDtCDigitsRule());
}
setWithLastConsumed(
current,
"intDigits",
lv_intDigits_3_0,
"INT");
}
}
}
otherlv_4=(Token)match(input,24,FollowSets000.FOLLOW_24_in_ruleDtCDigits3961); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDtCDigitsAccess().getCommaSpaceKeyword_4());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1660:1: ( (lv_fractionDigits_5_0= RULE_INT ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1661:1: (lv_fractionDigits_5_0= RULE_INT )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1661:1: (lv_fractionDigits_5_0= RULE_INT )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1662:3: lv_fractionDigits_5_0= RULE_INT
{
lv_fractionDigits_5_0=(Token)match(input,RULE_INT,FollowSets000.FOLLOW_RULE_INT_in_ruleDtCDigits3978); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_fractionDigits_5_0, grammarAccess.getDtCDigitsAccess().getFractionDigitsINTTerminalRuleCall_5_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDtCDigitsRule());
}
setWithLastConsumed(
current,
"fractionDigits",
lv_fractionDigits_5_0,
"INT");
}
}
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1678:2: ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )?
int alt41=2;
int LA41_0 = input.LA(1);
if ( (LA41_0==29||(LA41_0>=32 && LA41_0<=34)) ) {
alt41=1;
}
switch (alt41) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1680:1: ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1680:1: ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1681:2: ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?)
{
getUnorderedGroupHelper().enter(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6());
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1684:2: ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?)
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1685:3: ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1685:3: ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+
int cnt40=0;
loop40:
do {
int alt40=4;
int LA40_0 = input.LA(1);
if ( LA40_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 0) ) {
alt40=1;
}
else if ( LA40_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 1) ) {
alt40=2;
}
else if ( LA40_0 >=33 && LA40_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 2) ) {
alt40=3;
}
switch (alt40) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1687:4: ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1687:4: ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1688:5: {...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCDigits", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 0)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1688:106: ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1689:6: ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1692:6: ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1692:7: {...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCDigits", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1692:16: (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1692:18: otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )?
{
otherlv_7=(Token)match(input,29,FollowSets000.FOLLOW_29_in_ruleDtCDigits4041); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCDigitsAccess().getLeftSquareBracketKeyword_6_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1696:1: (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )?
int alt38=2;
int LA38_0 = input.LA(1);
if ( (LA38_0==30) ) {
alt38=1;
}
switch (alt38) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1696:3: otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) )
{
otherlv_8=(Token)match(input,30,FollowSets000.FOLLOW_30_in_ruleDtCDigits4054); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDtCDigitsAccess().getMsgCodeKeyword_6_0_1_0());
}
otherlv_9=(Token)match(input,31,FollowSets000.FOLLOW_31_in_ruleDtCDigits4066); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDtCDigitsAccess().getEqualsSignKeyword_6_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1704:1: ( (lv_msgCode_10_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1705:1: (lv_msgCode_10_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1705:1: (lv_msgCode_10_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1706:3: lv_msgCode_10_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDigitsAccess().getMsgCodeQualifiedNameParserRuleCall_6_0_1_2_0());
}
pushFollow(FollowSets000.FOLLOW_ruleQualifiedName_in_ruleDtCDigits4087);
lv_msgCode_10_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCDigitsRule());
}
set(
current,
"msgCode",
lv_msgCode_10_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1729:4: ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1729:4: ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1730:5: {...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCDigits", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 1)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1730:106: ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1731:6: ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1734:6: ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1734:7: {...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCDigits", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1734:16: (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1734:18: otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) )
{
otherlv_11=(Token)match(input,32,FollowSets000.FOLLOW_32_in_ruleDtCDigits4157); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDtCDigitsAccess().getMsgI18nKeyKeyword_6_1_0());
}
otherlv_12=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCDigits4169); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getDtCDigitsAccess().getEqualsSignKeyword_6_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1742:1: ( (lv_msgI18nKey_13_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1743:1: (lv_msgI18nKey_13_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1743:1: (lv_msgI18nKey_13_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1744:3: lv_msgI18nKey_13_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDigitsAccess().getMsgI18nKeyQualifiedNameParserRuleCall_6_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCDigits4190);
lv_msgI18nKey_13_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCDigitsRule());
}
set(
current,
"msgI18nKey",
lv_msgI18nKey_13_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1767:4: ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1767:4: ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1768:5: {...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCDigits", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 2)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1768:106: ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1769:6: ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1772:6: ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1772:7: {...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCDigits", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1772:16: ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1772:17: (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1772:17: (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )?
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==33) ) {
alt39=1;
}
switch (alt39) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1772:19: otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) )
{
otherlv_14=(Token)match(input,33,FollowSets001.FOLLOW_33_in_ruleDtCDigits4259); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getDtCDigitsAccess().getSeverityKeyword_6_2_0_0());
}
otherlv_15=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCDigits4271); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getDtCDigitsAccess().getEqualsSignKeyword_6_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1780:1: ( (lv_severity_16_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1781:1: (lv_severity_16_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1781:1: (lv_severity_16_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1782:3: lv_severity_16_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCDigitsAccess().getSeverityConstraintSeverityEnumRuleCall_6_2_0_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCDigits4292);
lv_severity_16_0=ruleConstraintSeverity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCDigitsRule());
}
set(
current,
"severity",
lv_severity_16_0,
"ConstraintSeverity");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_17=(Token)match(input,34,FollowSets001.FOLLOW_34_in_ruleDtCDigits4306); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_17, grammarAccess.getDtCDigitsAccess().getRightSquareBracketKeyword_6_2_1());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6());
}
}
}
break;
default :
if ( cnt40 >= 1 ) break loop40;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(40, input);
throw eee;
}
cnt40++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCDigits", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDtCDigitsAccess().getUnorderedGroup_6());
}
break;
}
otherlv_18=(Token)match(input,25,FollowSets001.FOLLOW_25_in_ruleDtCDigits4366); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_18, grammarAccess.getDtCDigitsAccess().getRightParenthesisKeyword_7());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDtCDigits"
// $ANTLR start "entryRuleDtCFuture"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1829:1: entryRuleDtCFuture returns [EObject current=null] : iv_ruleDtCFuture= ruleDtCFuture EOF ;
public final EObject entryRuleDtCFuture() throws RecognitionException {
EObject current = null;
EObject iv_ruleDtCFuture = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1830:2: (iv_ruleDtCFuture= ruleDtCFuture EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1831:2: iv_ruleDtCFuture= ruleDtCFuture EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCFutureRule());
}
pushFollow(FollowSets001.FOLLOW_ruleDtCFuture_in_entryRuleDtCFuture4402);
iv_ruleDtCFuture=ruleDtCFuture();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCFuture;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCFuture4412); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDtCFuture"
// $ANTLR start "ruleDtCFuture"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1838:1: ruleDtCFuture returns [EObject current=null] : ( () otherlv_1= 'isFuture' ( ( ( ( ({...}? => ( ({...}? => (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 ruleDtCFuture() 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1841:28: ( ( () otherlv_1= 'isFuture' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1842:1: ( () otherlv_1= 'isFuture' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1842:1: ( () otherlv_1= 'isFuture' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1842:2: () otherlv_1= 'isFuture' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1842:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1843:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCFutureAccess().getLDtCFutureAction_0(),
current);
}
}
otherlv_1=(Token)match(input,39,FollowSets001.FOLLOW_39_in_ruleDtCFuture4458); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCFutureAccess().getIsFutureKeyword_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1852: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 alt45=2;
int LA45_0 = input.LA(1);
if ( (LA45_0==29||(LA45_0>=32 && LA45_0<=34)) ) {
alt45=1;
}
switch (alt45) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1854: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1854: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1855: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.getDtCFutureAccess().getUnorderedGroup_2());
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1858: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1859: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1859: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 cnt44=0;
loop44:
do {
int alt44=4;
int LA44_0 = input.LA(1);
if ( LA44_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 0) ) {
alt44=1;
}
else if ( LA44_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 1) ) {
alt44=2;
}
else if ( LA44_0 >=33 && LA44_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 2) ) {
alt44=3;
}
switch (alt44) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1861:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1861:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1862:5: {...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCFuture", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 0)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1862:106: ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1863:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1866:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1866: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, "ruleDtCFuture", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1866:16: (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1866:18: otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
{
otherlv_3=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCFuture4516); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDtCFutureAccess().getLeftSquareBracketKeyword_2_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1870:1: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
int alt42=2;
int LA42_0 = input.LA(1);
if ( (LA42_0==30) ) {
alt42=1;
}
switch (alt42) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1870:3: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) )
{
otherlv_4=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCFuture4529); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDtCFutureAccess().getMsgCodeKeyword_2_0_1_0());
}
otherlv_5=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCFuture4541); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCFutureAccess().getEqualsSignKeyword_2_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1878:1: ( (lv_msgCode_6_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1879:1: (lv_msgCode_6_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1879:1: (lv_msgCode_6_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1880:3: lv_msgCode_6_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCFutureAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCFuture4562);
lv_msgCode_6_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCFutureRule());
}
set(
current,
"msgCode",
lv_msgCode_6_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1903:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1903:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1904:5: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCFuture", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 1)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1904:106: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1905:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1908:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1908: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, "ruleDtCFuture", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1908:16: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1908:18: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
{
otherlv_7=(Token)match(input,32,FollowSets001.FOLLOW_32_in_ruleDtCFuture4632); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCFutureAccess().getMsgI18nKeyKeyword_2_1_0());
}
otherlv_8=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCFuture4644); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDtCFutureAccess().getEqualsSignKeyword_2_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1916:1: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1917:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1917:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1918:3: lv_msgI18nKey_9_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCFutureAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCFuture4665);
lv_msgI18nKey_9_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCFutureRule());
}
set(
current,
"msgI18nKey",
lv_msgI18nKey_9_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1941:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1941:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1942:5: {...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCFuture", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 2)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1942:106: ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1943:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1946:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1946: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, "ruleDtCFuture", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1946:16: ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1946:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1946:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )?
int alt43=2;
int LA43_0 = input.LA(1);
if ( (LA43_0==33) ) {
alt43=1;
}
switch (alt43) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1946:19: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) )
{
otherlv_10=(Token)match(input,33,FollowSets001.FOLLOW_33_in_ruleDtCFuture4734); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCFutureAccess().getSeverityKeyword_2_2_0_0());
}
otherlv_11=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCFuture4746); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDtCFutureAccess().getEqualsSignKeyword_2_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1954:1: ( (lv_severity_12_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1955:1: (lv_severity_12_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1955:1: (lv_severity_12_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1956:3: lv_severity_12_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCFutureAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCFuture4767);
lv_severity_12_0=ruleConstraintSeverity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCFutureRule());
}
set(
current,
"severity",
lv_severity_12_0,
"ConstraintSeverity");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_13=(Token)match(input,34,FollowSets001.FOLLOW_34_in_ruleDtCFuture4781); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDtCFutureAccess().getRightSquareBracketKeyword_2_2_1());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2());
}
}
}
break;
default :
if ( cnt44 >= 1 ) break loop44;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(44, input);
throw eee;
}
cnt44++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCFuture", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDtCFutureAccess().getUnorderedGroup_2());
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDtCFuture"
// $ANTLR start "entryRuleDtCPast"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:1999:1: entryRuleDtCPast returns [EObject current=null] : iv_ruleDtCPast= ruleDtCPast EOF ;
public final EObject entryRuleDtCPast() throws RecognitionException {
EObject current = null;
EObject iv_ruleDtCPast = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2000:2: (iv_ruleDtCPast= ruleDtCPast EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2001:2: iv_ruleDtCPast= ruleDtCPast EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCPastRule());
}
pushFollow(FollowSets001.FOLLOW_ruleDtCPast_in_entryRuleDtCPast4865);
iv_ruleDtCPast=ruleDtCPast();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCPast;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCPast4875); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDtCPast"
// $ANTLR start "ruleDtCPast"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2008:1: ruleDtCPast returns [EObject current=null] : ( () otherlv_1= 'isPast' ( ( ( ( ({...}? => ( ({...}? => (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 ruleDtCPast() 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2011:28: ( ( () otherlv_1= 'isPast' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2012:1: ( () otherlv_1= 'isPast' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2012:1: ( () otherlv_1= 'isPast' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2012:2: () otherlv_1= 'isPast' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2012:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2013:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCPastAccess().getLDtCPastAction_0(),
current);
}
}
otherlv_1=(Token)match(input,40,FollowSets001.FOLLOW_40_in_ruleDtCPast4921); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCPastAccess().getIsPastKeyword_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2022: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 alt49=2;
int LA49_0 = input.LA(1);
if ( (LA49_0==29||(LA49_0>=32 && LA49_0<=34)) ) {
alt49=1;
}
switch (alt49) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2024: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2024: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2025: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.getDtCPastAccess().getUnorderedGroup_2());
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2028: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2029: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2029: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 cnt48=0;
loop48:
do {
int alt48=4;
int LA48_0 = input.LA(1);
if ( LA48_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 0) ) {
alt48=1;
}
else if ( LA48_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 1) ) {
alt48=2;
}
else if ( LA48_0 >=33 && LA48_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 2) ) {
alt48=3;
}
switch (alt48) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2031:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2031:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2032:5: {...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCPast", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 0)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2032:104: ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2033:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2036:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2036: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, "ruleDtCPast", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2036:16: (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2036:18: otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
{
otherlv_3=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCPast4979); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDtCPastAccess().getLeftSquareBracketKeyword_2_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2040:1: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
int alt46=2;
int LA46_0 = input.LA(1);
if ( (LA46_0==30) ) {
alt46=1;
}
switch (alt46) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2040:3: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) )
{
otherlv_4=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCPast4992); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDtCPastAccess().getMsgCodeKeyword_2_0_1_0());
}
otherlv_5=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCPast5004); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCPastAccess().getEqualsSignKeyword_2_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2048:1: ( (lv_msgCode_6_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2049:1: (lv_msgCode_6_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2049:1: (lv_msgCode_6_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2050:3: lv_msgCode_6_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCPastAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCPast5025);
lv_msgCode_6_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCPastRule());
}
set(
current,
"msgCode",
lv_msgCode_6_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCPastAccess().getUnorderedGroup_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2073:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2073:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2074:5: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCPast", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 1)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2074:104: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2075:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2078:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2078: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, "ruleDtCPast", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2078:16: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2078:18: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
{
otherlv_7=(Token)match(input,32,FollowSets001.FOLLOW_32_in_ruleDtCPast5095); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCPastAccess().getMsgI18nKeyKeyword_2_1_0());
}
otherlv_8=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCPast5107); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDtCPastAccess().getEqualsSignKeyword_2_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2086:1: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2087:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2087:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2088:3: lv_msgI18nKey_9_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCPastAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCPast5128);
lv_msgI18nKey_9_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCPastRule());
}
set(
current,
"msgI18nKey",
lv_msgI18nKey_9_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCPastAccess().getUnorderedGroup_2());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2111:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2111:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2112:5: {...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCPast", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 2)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2112:104: ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2113:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCPastAccess().getUnorderedGroup_2(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2116:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2116: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, "ruleDtCPast", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2116:16: ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2116:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2116:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )?
int alt47=2;
int LA47_0 = input.LA(1);
if ( (LA47_0==33) ) {
alt47=1;
}
switch (alt47) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2116:19: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) )
{
otherlv_10=(Token)match(input,33,FollowSets001.FOLLOW_33_in_ruleDtCPast5197); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCPastAccess().getSeverityKeyword_2_2_0_0());
}
otherlv_11=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCPast5209); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDtCPastAccess().getEqualsSignKeyword_2_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2124:1: ( (lv_severity_12_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2125:1: (lv_severity_12_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2125:1: (lv_severity_12_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2126:3: lv_severity_12_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCPastAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCPast5230);
lv_severity_12_0=ruleConstraintSeverity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCPastRule());
}
set(
current,
"severity",
lv_severity_12_0,
"ConstraintSeverity");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_13=(Token)match(input,34,FollowSets001.FOLLOW_34_in_ruleDtCPast5244); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDtCPastAccess().getRightSquareBracketKeyword_2_2_1());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCPastAccess().getUnorderedGroup_2());
}
}
}
break;
default :
if ( cnt48 >= 1 ) break loop48;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(48, input);
throw eee;
}
cnt48++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCPastAccess().getUnorderedGroup_2()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCPast", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCPastAccess().getUnorderedGroup_2())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDtCPastAccess().getUnorderedGroup_2());
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDtCPast"
// $ANTLR start "entryRuleDtCNumericMax"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2169:1: entryRuleDtCNumericMax returns [EObject current=null] : iv_ruleDtCNumericMax= ruleDtCNumericMax EOF ;
public final EObject entryRuleDtCNumericMax() throws RecognitionException {
EObject current = null;
EObject iv_ruleDtCNumericMax = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2170:2: (iv_ruleDtCNumericMax= ruleDtCNumericMax EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2171:2: iv_ruleDtCNumericMax= ruleDtCNumericMax EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNumericMaxRule());
}
pushFollow(FollowSets001.FOLLOW_ruleDtCNumericMax_in_entryRuleDtCNumericMax5328);
iv_ruleDtCNumericMax=ruleDtCNumericMax();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCNumericMax;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCNumericMax5338); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDtCNumericMax"
// $ANTLR start "ruleDtCNumericMax"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2178:1: ruleDtCNumericMax returns [EObject current=null] : ( () otherlv_1= 'maxNumber' otherlv_2= '(' ( (lv_max_3_0= ruleLInt ) ) ( ( ( ( ({...}? => ( ({...}? => (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 ruleDtCNumericMax() 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2181:28: ( ( () otherlv_1= 'maxNumber' otherlv_2= '(' ( (lv_max_3_0= ruleLInt ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2182:1: ( () otherlv_1= 'maxNumber' otherlv_2= '(' ( (lv_max_3_0= ruleLInt ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2182:1: ( () otherlv_1= 'maxNumber' otherlv_2= '(' ( (lv_max_3_0= ruleLInt ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2182:2: () otherlv_1= 'maxNumber' otherlv_2= '(' ( (lv_max_3_0= ruleLInt ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2182:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2183:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCNumericMaxAccess().getLDtCNumericMaxAction_0(),
current);
}
}
otherlv_1=(Token)match(input,41,FollowSets001.FOLLOW_41_in_ruleDtCNumericMax5384); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCNumericMaxAccess().getMaxNumberKeyword_1());
}
otherlv_2=(Token)match(input,23,FollowSets001.FOLLOW_23_in_ruleDtCNumericMax5396); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDtCNumericMaxAccess().getLeftParenthesisKeyword_2());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2196:1: ( (lv_max_3_0= ruleLInt ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2197:1: (lv_max_3_0= ruleLInt )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2197:1: (lv_max_3_0= ruleLInt )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2198:3: lv_max_3_0= ruleLInt
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getMaxLIntParserRuleCall_3_0());
}
pushFollow(FollowSets001.FOLLOW_ruleLInt_in_ruleDtCNumericMax5417);
lv_max_3_0=ruleLInt();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule());
}
set(
current,
"max",
lv_max_3_0,
"LInt");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2214: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 alt53=2;
int LA53_0 = input.LA(1);
if ( (LA53_0==29||(LA53_0>=32 && LA53_0<=34)) ) {
alt53=1;
}
switch (alt53) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2216: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2216: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2217: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.getDtCNumericMaxAccess().getUnorderedGroup_4());
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2220: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2221: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2221: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 cnt52=0;
loop52:
do {
int alt52=4;
int LA52_0 = input.LA(1);
if ( LA52_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 0) ) {
alt52=1;
}
else if ( LA52_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 1) ) {
alt52=2;
}
else if ( LA52_0 >=33 && LA52_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 2) ) {
alt52=3;
}
switch (alt52) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2223:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2223:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2224:5: {...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNumericMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 0)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2224:110: ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2225:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2228:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2228: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, "ruleDtCNumericMax", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2228:16: (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2228:18: otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )?
{
otherlv_5=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCNumericMax5475); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCNumericMaxAccess().getLeftSquareBracketKeyword_4_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2232:1: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )?
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==30) ) {
alt50=1;
}
switch (alt50) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2232:3: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) )
{
otherlv_6=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCNumericMax5488); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getDtCNumericMaxAccess().getMsgCodeKeyword_4_0_1_0());
}
otherlv_7=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNumericMax5500); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCNumericMaxAccess().getEqualsSignKeyword_4_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2240:1: ( (lv_msgCode_8_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2241:1: (lv_msgCode_8_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2241:1: (lv_msgCode_8_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2242:3: lv_msgCode_8_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCNumericMax5521);
lv_msgCode_8_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule());
}
set(
current,
"msgCode",
lv_msgCode_8_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2265:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2265:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2266:5: {...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNumericMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 1)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2266:110: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2267:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2270:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2270: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, "ruleDtCNumericMax", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2270:16: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2270:18: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) )
{
otherlv_9=(Token)match(input,32,FollowSets001.FOLLOW_32_in_ruleDtCNumericMax5591); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDtCNumericMaxAccess().getMsgI18nKeyKeyword_4_1_0());
}
otherlv_10=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNumericMax5603); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCNumericMaxAccess().getEqualsSignKeyword_4_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2278:1: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2279:1: (lv_msgI18nKey_11_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2279:1: (lv_msgI18nKey_11_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2280:3: lv_msgI18nKey_11_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCNumericMax5624);
lv_msgI18nKey_11_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule());
}
set(
current,
"msgI18nKey",
lv_msgI18nKey_11_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2303:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2303:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2304:5: {...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNumericMax", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 2)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2304:110: ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2305:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2308:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2308: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, "ruleDtCNumericMax", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2308:16: ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2308:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2308:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )?
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==33) ) {
alt51=1;
}
switch (alt51) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2308:19: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) )
{
otherlv_12=(Token)match(input,33,FollowSets001.FOLLOW_33_in_ruleDtCNumericMax5693); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getDtCNumericMaxAccess().getSeverityKeyword_4_2_0_0());
}
otherlv_13=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNumericMax5705); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDtCNumericMaxAccess().getEqualsSignKeyword_4_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2316:1: ( (lv_severity_14_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2317:1: (lv_severity_14_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2317:1: (lv_severity_14_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2318:3: lv_severity_14_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNumericMaxAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCNumericMax5726);
lv_severity_14_0=ruleConstraintSeverity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNumericMaxRule());
}
set(
current,
"severity",
lv_severity_14_0,
"ConstraintSeverity");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_15=(Token)match(input,34,FollowSets001.FOLLOW_34_in_ruleDtCNumericMax5740); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getDtCNumericMaxAccess().getRightSquareBracketKeyword_4_2_1());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4());
}
}
}
break;
default :
if ( cnt52 >= 1 ) break loop52;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(52, input);
throw eee;
}
cnt52++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNumericMax", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDtCNumericMaxAccess().getUnorderedGroup_4());
}
break;
}
otherlv_16=(Token)match(input,25,FollowSets001.FOLLOW_25_in_ruleDtCNumericMax5800); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getDtCNumericMaxAccess().getRightParenthesisKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDtCNumericMax"
// $ANTLR start "entryRuleDtCNumericMin"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2365:1: entryRuleDtCNumericMin returns [EObject current=null] : iv_ruleDtCNumericMin= ruleDtCNumericMin EOF ;
public final EObject entryRuleDtCNumericMin() throws RecognitionException {
EObject current = null;
EObject iv_ruleDtCNumericMin = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2366:2: (iv_ruleDtCNumericMin= ruleDtCNumericMin EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2367:2: iv_ruleDtCNumericMin= ruleDtCNumericMin EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNumericMinRule());
}
pushFollow(FollowSets001.FOLLOW_ruleDtCNumericMin_in_entryRuleDtCNumericMin5836);
iv_ruleDtCNumericMin=ruleDtCNumericMin();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCNumericMin;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCNumericMin5846); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDtCNumericMin"
// $ANTLR start "ruleDtCNumericMin"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2374:1: ruleDtCNumericMin returns [EObject current=null] : ( () otherlv_1= 'minNumber' otherlv_2= '(' ( (lv_min_3_0= ruleLInt ) ) ( ( ( ( ({...}? => ( ({...}? => (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 ruleDtCNumericMin() 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2377:28: ( ( () otherlv_1= 'minNumber' otherlv_2= '(' ( (lv_min_3_0= ruleLInt ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2378:1: ( () otherlv_1= 'minNumber' otherlv_2= '(' ( (lv_min_3_0= ruleLInt ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2378:1: ( () otherlv_1= 'minNumber' otherlv_2= '(' ( (lv_min_3_0= ruleLInt ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2378:2: () otherlv_1= 'minNumber' otherlv_2= '(' ( (lv_min_3_0= ruleLInt ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2378:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2379:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCNumericMinAccess().getLDtCNumericMinAction_0(),
current);
}
}
otherlv_1=(Token)match(input,42,FollowSets001.FOLLOW_42_in_ruleDtCNumericMin5892); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCNumericMinAccess().getMinNumberKeyword_1());
}
otherlv_2=(Token)match(input,23,FollowSets001.FOLLOW_23_in_ruleDtCNumericMin5904); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDtCNumericMinAccess().getLeftParenthesisKeyword_2());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2392:1: ( (lv_min_3_0= ruleLInt ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2393:1: (lv_min_3_0= ruleLInt )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2393:1: (lv_min_3_0= ruleLInt )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2394:3: lv_min_3_0= ruleLInt
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNumericMinAccess().getMinLIntParserRuleCall_3_0());
}
pushFollow(FollowSets001.FOLLOW_ruleLInt_in_ruleDtCNumericMin5925);
lv_min_3_0=ruleLInt();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNumericMinRule());
}
set(
current,
"min",
lv_min_3_0,
"LInt");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2410: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 alt57=2;
int LA57_0 = input.LA(1);
if ( (LA57_0==29||(LA57_0>=32 && LA57_0<=34)) ) {
alt57=1;
}
switch (alt57) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2412: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2412: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2413: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.getDtCNumericMinAccess().getUnorderedGroup_4());
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2416: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2417: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2417: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 cnt56=0;
loop56:
do {
int alt56=4;
int LA56_0 = input.LA(1);
if ( LA56_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 0) ) {
alt56=1;
}
else if ( LA56_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 1) ) {
alt56=2;
}
else if ( LA56_0 >=33 && LA56_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 2) ) {
alt56=3;
}
switch (alt56) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2419:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2419:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2420:5: {...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNumericMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 0)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2420:110: ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2421:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2424:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2424: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, "ruleDtCNumericMin", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2424:16: (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2424:18: otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )?
{
otherlv_5=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCNumericMin5983); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCNumericMinAccess().getLeftSquareBracketKeyword_4_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2428:1: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )?
int alt54=2;
int LA54_0 = input.LA(1);
if ( (LA54_0==30) ) {
alt54=1;
}
switch (alt54) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2428:3: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) )
{
otherlv_6=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCNumericMin5996); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getDtCNumericMinAccess().getMsgCodeKeyword_4_0_1_0());
}
otherlv_7=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNumericMin6008); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCNumericMinAccess().getEqualsSignKeyword_4_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2436:1: ( (lv_msgCode_8_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2437:1: (lv_msgCode_8_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2437:1: (lv_msgCode_8_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2438:3: lv_msgCode_8_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNumericMinAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCNumericMin6029);
lv_msgCode_8_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNumericMinRule());
}
set(
current,
"msgCode",
lv_msgCode_8_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2461:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2461:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2462:5: {...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNumericMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 1)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2462:110: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2463:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2466:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2466: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, "ruleDtCNumericMin", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2466:16: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2466:18: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) )
{
otherlv_9=(Token)match(input,32,FollowSets001.FOLLOW_32_in_ruleDtCNumericMin6099); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDtCNumericMinAccess().getMsgI18nKeyKeyword_4_1_0());
}
otherlv_10=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNumericMin6111); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCNumericMinAccess().getEqualsSignKeyword_4_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2474:1: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2475:1: (lv_msgI18nKey_11_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2475:1: (lv_msgI18nKey_11_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2476:3: lv_msgI18nKey_11_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNumericMinAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCNumericMin6132);
lv_msgI18nKey_11_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNumericMinRule());
}
set(
current,
"msgI18nKey",
lv_msgI18nKey_11_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2499:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2499:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2500:5: {...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNumericMin", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 2)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2500:110: ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2501:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2504:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2504: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, "ruleDtCNumericMin", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2504:16: ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2504:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2504:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )?
int alt55=2;
int LA55_0 = input.LA(1);
if ( (LA55_0==33) ) {
alt55=1;
}
switch (alt55) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2504:19: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) )
{
otherlv_12=(Token)match(input,33,FollowSets001.FOLLOW_33_in_ruleDtCNumericMin6201); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getDtCNumericMinAccess().getSeverityKeyword_4_2_0_0());
}
otherlv_13=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNumericMin6213); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDtCNumericMinAccess().getEqualsSignKeyword_4_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2512:1: ( (lv_severity_14_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2513:1: (lv_severity_14_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2513:1: (lv_severity_14_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2514:3: lv_severity_14_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNumericMinAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCNumericMin6234);
lv_severity_14_0=ruleConstraintSeverity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNumericMinRule());
}
set(
current,
"severity",
lv_severity_14_0,
"ConstraintSeverity");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_15=(Token)match(input,34,FollowSets001.FOLLOW_34_in_ruleDtCNumericMin6248); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getDtCNumericMinAccess().getRightSquareBracketKeyword_4_2_1());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4());
}
}
}
break;
default :
if ( cnt56 >= 1 ) break loop56;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(56, input);
throw eee;
}
cnt56++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNumericMin", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDtCNumericMinAccess().getUnorderedGroup_4());
}
break;
}
otherlv_16=(Token)match(input,25,FollowSets001.FOLLOW_25_in_ruleDtCNumericMin6308); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getDtCNumericMinAccess().getRightParenthesisKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDtCNumericMin"
// $ANTLR start "entryRuleDtCNotNull"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2561:1: entryRuleDtCNotNull returns [EObject current=null] : iv_ruleDtCNotNull= ruleDtCNotNull EOF ;
public final EObject entryRuleDtCNotNull() throws RecognitionException {
EObject current = null;
EObject iv_ruleDtCNotNull = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2562:2: (iv_ruleDtCNotNull= ruleDtCNotNull EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2563:2: iv_ruleDtCNotNull= ruleDtCNotNull EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNotNullRule());
}
pushFollow(FollowSets001.FOLLOW_ruleDtCNotNull_in_entryRuleDtCNotNull6344);
iv_ruleDtCNotNull=ruleDtCNotNull();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCNotNull;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCNotNull6354); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDtCNotNull"
// $ANTLR start "ruleDtCNotNull"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2570:1: ruleDtCNotNull returns [EObject current=null] : ( () otherlv_1= 'isNotNull' ( ( ( ( ({...}? => ( ({...}? => (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 ruleDtCNotNull() 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2573:28: ( ( () otherlv_1= 'isNotNull' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2574:1: ( () otherlv_1= 'isNotNull' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2574:1: ( () otherlv_1= 'isNotNull' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2574:2: () otherlv_1= 'isNotNull' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2574:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2575:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCNotNullAccess().getLDtCNotNullAction_0(),
current);
}
}
otherlv_1=(Token)match(input,43,FollowSets001.FOLLOW_43_in_ruleDtCNotNull6400); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCNotNullAccess().getIsNotNullKeyword_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2584: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 alt61=2;
int LA61_0 = input.LA(1);
if ( (LA61_0==29||(LA61_0>=32 && LA61_0<=34)) ) {
alt61=1;
}
switch (alt61) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2586: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2586: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2587: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.getDtCNotNullAccess().getUnorderedGroup_2());
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2590: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2591: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2591: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 cnt60=0;
loop60:
do {
int alt60=4;
int LA60_0 = input.LA(1);
if ( LA60_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 0) ) {
alt60=1;
}
else if ( LA60_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 1) ) {
alt60=2;
}
else if ( LA60_0 >=33 && LA60_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 2) ) {
alt60=3;
}
switch (alt60) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2593:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2593:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2594:5: {...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNotNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 0)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2594:107: ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2595:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2598:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2598: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, "ruleDtCNotNull", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2598:16: (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2598:18: otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
{
otherlv_3=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCNotNull6458); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDtCNotNullAccess().getLeftSquareBracketKeyword_2_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2602:1: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
int alt58=2;
int LA58_0 = input.LA(1);
if ( (LA58_0==30) ) {
alt58=1;
}
switch (alt58) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2602:3: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) )
{
otherlv_4=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCNotNull6471); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDtCNotNullAccess().getMsgCodeKeyword_2_0_1_0());
}
otherlv_5=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNotNull6483); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCNotNullAccess().getEqualsSignKeyword_2_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2610:1: ( (lv_msgCode_6_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2611:1: (lv_msgCode_6_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2611:1: (lv_msgCode_6_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2612:3: lv_msgCode_6_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNotNullAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCNotNull6504);
lv_msgCode_6_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNotNullRule());
}
set(
current,
"msgCode",
lv_msgCode_6_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2635:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2635:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2636:5: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNotNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 1)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2636:107: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2637:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2640:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2640: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, "ruleDtCNotNull", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2640:16: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2640:18: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
{
otherlv_7=(Token)match(input,32,FollowSets001.FOLLOW_32_in_ruleDtCNotNull6574); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCNotNullAccess().getMsgI18nKeyKeyword_2_1_0());
}
otherlv_8=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNotNull6586); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDtCNotNullAccess().getEqualsSignKeyword_2_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2648:1: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2649:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2649:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2650:3: lv_msgI18nKey_9_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNotNullAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCNotNull6607);
lv_msgI18nKey_9_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNotNullRule());
}
set(
current,
"msgI18nKey",
lv_msgI18nKey_9_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2673:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2673:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2674:5: {...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNotNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 2)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2674:107: ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2675:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2678:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2678: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, "ruleDtCNotNull", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2678:16: ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2678:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2678:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )?
int alt59=2;
int LA59_0 = input.LA(1);
if ( (LA59_0==33) ) {
alt59=1;
}
switch (alt59) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2678:19: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) )
{
otherlv_10=(Token)match(input,33,FollowSets001.FOLLOW_33_in_ruleDtCNotNull6676); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCNotNullAccess().getSeverityKeyword_2_2_0_0());
}
otherlv_11=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNotNull6688); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDtCNotNullAccess().getEqualsSignKeyword_2_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2686:1: ( (lv_severity_12_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2687:1: (lv_severity_12_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2687:1: (lv_severity_12_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2688:3: lv_severity_12_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNotNullAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCNotNull6709);
lv_severity_12_0=ruleConstraintSeverity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNotNullRule());
}
set(
current,
"severity",
lv_severity_12_0,
"ConstraintSeverity");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_13=(Token)match(input,34,FollowSets001.FOLLOW_34_in_ruleDtCNotNull6723); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDtCNotNullAccess().getRightSquareBracketKeyword_2_2_1());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2());
}
}
}
break;
default :
if ( cnt60 >= 1 ) break loop60;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(60, input);
throw eee;
}
cnt60++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNotNull", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDtCNotNullAccess().getUnorderedGroup_2());
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDtCNotNull"
// $ANTLR start "entryRuleDtCNull"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2731:1: entryRuleDtCNull returns [EObject current=null] : iv_ruleDtCNull= ruleDtCNull EOF ;
public final EObject entryRuleDtCNull() throws RecognitionException {
EObject current = null;
EObject iv_ruleDtCNull = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2732:2: (iv_ruleDtCNull= ruleDtCNull EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2733:2: iv_ruleDtCNull= ruleDtCNull EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNullRule());
}
pushFollow(FollowSets001.FOLLOW_ruleDtCNull_in_entryRuleDtCNull6807);
iv_ruleDtCNull=ruleDtCNull();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCNull;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCNull6817); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDtCNull"
// $ANTLR start "ruleDtCNull"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2740:1: ruleDtCNull returns [EObject current=null] : ( () otherlv_1= 'isNull' ( ( ( ( ({...}? => ( ({...}? => (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 ruleDtCNull() 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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2743:28: ( ( () otherlv_1= 'isNull' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2744:1: ( () otherlv_1= 'isNull' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2744:1: ( () otherlv_1= 'isNull' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2744:2: () otherlv_1= 'isNull' ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2744:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2745:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCNullAccess().getLDtCNullAction_0(),
current);
}
}
otherlv_1=(Token)match(input,44,FollowSets001.FOLLOW_44_in_ruleDtCNull6863); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCNullAccess().getIsNullKeyword_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2754: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 alt65=2;
int LA65_0 = input.LA(1);
if ( (LA65_0==29||(LA65_0>=32 && LA65_0<=34)) ) {
alt65=1;
}
switch (alt65) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2756: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2756: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2757: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.getDtCNullAccess().getUnorderedGroup_2());
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2760: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2761: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2761: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 cnt64=0;
loop64:
do {
int alt64=4;
int LA64_0 = input.LA(1);
if ( LA64_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 0) ) {
alt64=1;
}
else if ( LA64_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 1) ) {
alt64=2;
}
else if ( LA64_0 >=33 && LA64_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 2) ) {
alt64=3;
}
switch (alt64) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2763:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2763:4: ({...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2764:5: {...}? => ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 0)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2764:104: ( ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2765:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2768:6: ({...}? => (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2768: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, "ruleDtCNull", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2768:16: (otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2768:18: otherlv_3= '[' (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
{
otherlv_3=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCNull6921); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getDtCNullAccess().getLeftSquareBracketKeyword_2_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2772:1: (otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) ) )?
int alt62=2;
int LA62_0 = input.LA(1);
if ( (LA62_0==30) ) {
alt62=1;
}
switch (alt62) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2772:3: otherlv_4= 'msgCode' otherlv_5= '=' ( (lv_msgCode_6_0= ruleQualifiedName ) )
{
otherlv_4=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCNull6934); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDtCNullAccess().getMsgCodeKeyword_2_0_1_0());
}
otherlv_5=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNull6946); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCNullAccess().getEqualsSignKeyword_2_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2780:1: ( (lv_msgCode_6_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2781:1: (lv_msgCode_6_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2781:1: (lv_msgCode_6_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2782:3: lv_msgCode_6_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNullAccess().getMsgCodeQualifiedNameParserRuleCall_2_0_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCNull6967);
lv_msgCode_6_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNullRule());
}
set(
current,
"msgCode",
lv_msgCode_6_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNullAccess().getUnorderedGroup_2());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2805:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2805:4: ({...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2806:5: {...}? => ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 1)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2806:104: ( ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2807:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2810:6: ({...}? => (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2810: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, "ruleDtCNull", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2810:16: (otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2810:18: otherlv_7= 'msgI18nKey' otherlv_8= '=' ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
{
otherlv_7=(Token)match(input,32,FollowSets001.FOLLOW_32_in_ruleDtCNull7037); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCNullAccess().getMsgI18nKeyKeyword_2_1_0());
}
otherlv_8=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNull7049); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDtCNullAccess().getEqualsSignKeyword_2_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2818:1: ( (lv_msgI18nKey_9_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2819:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2819:1: (lv_msgI18nKey_9_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2820:3: lv_msgI18nKey_9_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNullAccess().getMsgI18nKeyQualifiedNameParserRuleCall_2_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCNull7070);
lv_msgI18nKey_9_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNullRule());
}
set(
current,
"msgI18nKey",
lv_msgI18nKey_9_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNullAccess().getUnorderedGroup_2());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2843:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2843:4: ({...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2844:5: {...}? => ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNull", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 2)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2844:104: ( ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2845:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCNullAccess().getUnorderedGroup_2(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2848:6: ({...}? => ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2848: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, "ruleDtCNull", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2848:16: ( (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2848:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )? otherlv_13= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2848:17: (otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) ) )?
int alt63=2;
int LA63_0 = input.LA(1);
if ( (LA63_0==33) ) {
alt63=1;
}
switch (alt63) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2848:19: otherlv_10= 'severity' otherlv_11= '=' ( (lv_severity_12_0= ruleConstraintSeverity ) )
{
otherlv_10=(Token)match(input,33,FollowSets001.FOLLOW_33_in_ruleDtCNull7139); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCNullAccess().getSeverityKeyword_2_2_0_0());
}
otherlv_11=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCNull7151); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDtCNullAccess().getEqualsSignKeyword_2_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2856:1: ( (lv_severity_12_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2857:1: (lv_severity_12_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2857:1: (lv_severity_12_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2858:3: lv_severity_12_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCNullAccess().getSeverityConstraintSeverityEnumRuleCall_2_2_0_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCNull7172);
lv_severity_12_0=ruleConstraintSeverity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCNullRule());
}
set(
current,
"severity",
lv_severity_12_0,
"ConstraintSeverity");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_13=(Token)match(input,34,FollowSets001.FOLLOW_34_in_ruleDtCNull7186); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDtCNullAccess().getRightSquareBracketKeyword_2_2_1());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCNullAccess().getUnorderedGroup_2());
}
}
}
break;
default :
if ( cnt64 >= 1 ) break loop64;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(64, input);
throw eee;
}
cnt64++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNullAccess().getUnorderedGroup_2()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCNull", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCNullAccess().getUnorderedGroup_2())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDtCNullAccess().getUnorderedGroup_2());
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDtCNull"
// $ANTLR start "entryRuleDtCRegEx"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2901:1: entryRuleDtCRegEx returns [EObject current=null] : iv_ruleDtCRegEx= ruleDtCRegEx EOF ;
public final EObject entryRuleDtCRegEx() throws RecognitionException {
EObject current = null;
EObject iv_ruleDtCRegEx = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2902:2: (iv_ruleDtCRegEx= ruleDtCRegEx EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2903:2: iv_ruleDtCRegEx= ruleDtCRegEx EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCRegExRule());
}
pushFollow(FollowSets001.FOLLOW_ruleDtCRegEx_in_entryRuleDtCRegEx7270);
iv_ruleDtCRegEx=ruleDtCRegEx();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCRegEx;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCRegEx7280); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDtCRegEx"
// $ANTLR start "ruleDtCRegEx"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2910:1: ruleDtCRegEx returns [EObject current=null] : ( () otherlv_1= 'regex' otherlv_2= '(' ( (lv_pattern_3_0= RULE_STRING ) ) ( ( ( ( ({...}? => ( ({...}? => (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 ruleDtCRegEx() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_pattern_3_0=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_msgCode_8_0 = null;
AntlrDatatypeRuleToken lv_msgI18nKey_11_0 = null;
Enumerator lv_severity_14_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2913:28: ( ( () otherlv_1= 'regex' otherlv_2= '(' ( (lv_pattern_3_0= RULE_STRING ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2914:1: ( () otherlv_1= 'regex' otherlv_2= '(' ( (lv_pattern_3_0= RULE_STRING ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2914:1: ( () otherlv_1= 'regex' otherlv_2= '(' ( (lv_pattern_3_0= RULE_STRING ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2914:2: () otherlv_1= 'regex' otherlv_2= '(' ( (lv_pattern_3_0= RULE_STRING ) ) ( ( ( ( ({...}? => ( ({...}? => (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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2914:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2915:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCRegExAccess().getLDtCRegExAction_0(),
current);
}
}
otherlv_1=(Token)match(input,45,FollowSets001.FOLLOW_45_in_ruleDtCRegEx7326); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCRegExAccess().getRegexKeyword_1());
}
otherlv_2=(Token)match(input,23,FollowSets001.FOLLOW_23_in_ruleDtCRegEx7338); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDtCRegExAccess().getLeftParenthesisKeyword_2());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2928:1: ( (lv_pattern_3_0= RULE_STRING ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2929:1: (lv_pattern_3_0= RULE_STRING )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2929:1: (lv_pattern_3_0= RULE_STRING )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2930:3: lv_pattern_3_0= RULE_STRING
{
lv_pattern_3_0=(Token)match(input,RULE_STRING,FollowSets001.FOLLOW_RULE_STRING_in_ruleDtCRegEx7355); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_pattern_3_0, grammarAccess.getDtCRegExAccess().getPatternSTRINGTerminalRuleCall_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDtCRegExRule());
}
setWithLastConsumed(
current,
"pattern",
lv_pattern_3_0,
"STRING");
}
}
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2946: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 alt69=2;
int LA69_0 = input.LA(1);
if ( (LA69_0==29||(LA69_0>=32 && LA69_0<=34)) ) {
alt69=1;
}
switch (alt69) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2948: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2948: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2949: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.getDtCRegExAccess().getUnorderedGroup_4());
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2952: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2953: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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2953: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 cnt68=0;
loop68:
do {
int alt68=4;
int LA68_0 = input.LA(1);
if ( LA68_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 0) ) {
alt68=1;
}
else if ( LA68_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 1) ) {
alt68=2;
}
else if ( LA68_0 >=33 && LA68_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 2) ) {
alt68=3;
}
switch (alt68) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2955:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2955:4: ({...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2956:5: {...}? => ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCRegEx", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 0)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2956:105: ( ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2957:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2960:6: ({...}? => (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2960: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, "ruleDtCRegEx", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2960:16: (otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2960:18: otherlv_5= '[' (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )?
{
otherlv_5=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCRegEx7418); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getDtCRegExAccess().getLeftSquareBracketKeyword_4_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2964:1: (otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) ) )?
int alt66=2;
int LA66_0 = input.LA(1);
if ( (LA66_0==30) ) {
alt66=1;
}
switch (alt66) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2964:3: otherlv_6= 'msgCode' otherlv_7= '=' ( (lv_msgCode_8_0= ruleQualifiedName ) )
{
otherlv_6=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCRegEx7431); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getDtCRegExAccess().getMsgCodeKeyword_4_0_1_0());
}
otherlv_7=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCRegEx7443); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCRegExAccess().getEqualsSignKeyword_4_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2972:1: ( (lv_msgCode_8_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2973:1: (lv_msgCode_8_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2973:1: (lv_msgCode_8_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2974:3: lv_msgCode_8_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCRegExAccess().getMsgCodeQualifiedNameParserRuleCall_4_0_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCRegEx7464);
lv_msgCode_8_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCRegExRule());
}
set(
current,
"msgCode",
lv_msgCode_8_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2997:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2997:4: ({...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2998:5: {...}? => ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCRegEx", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 1)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2998:105: ( ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:2999:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3002:6: ({...}? => (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3002: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, "ruleDtCRegEx", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3002:16: (otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3002:18: otherlv_9= 'msgI18nKey' otherlv_10= '=' ( (lv_msgI18nKey_11_0= ruleQualifiedName ) )
{
otherlv_9=(Token)match(input,32,FollowSets001.FOLLOW_32_in_ruleDtCRegEx7534); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDtCRegExAccess().getMsgI18nKeyKeyword_4_1_0());
}
otherlv_10=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCRegEx7546); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_10, grammarAccess.getDtCRegExAccess().getEqualsSignKeyword_4_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3010:1: ( (lv_msgI18nKey_11_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3011:1: (lv_msgI18nKey_11_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3011:1: (lv_msgI18nKey_11_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3012:3: lv_msgI18nKey_11_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCRegExAccess().getMsgI18nKeyQualifiedNameParserRuleCall_4_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCRegEx7567);
lv_msgI18nKey_11_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCRegExRule());
}
set(
current,
"msgI18nKey",
lv_msgI18nKey_11_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3035:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3035:4: ({...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3036:5: {...}? => ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCRegEx", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 2)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3036:105: ( ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3037:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3040:6: ({...}? => ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3040: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, "ruleDtCRegEx", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3040:16: ( (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3040:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )? otherlv_15= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3040:17: (otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) ) )?
int alt67=2;
int LA67_0 = input.LA(1);
if ( (LA67_0==33) ) {
alt67=1;
}
switch (alt67) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3040:19: otherlv_12= 'severity' otherlv_13= '=' ( (lv_severity_14_0= ruleConstraintSeverity ) )
{
otherlv_12=(Token)match(input,33,FollowSets001.FOLLOW_33_in_ruleDtCRegEx7636); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getDtCRegExAccess().getSeverityKeyword_4_2_0_0());
}
otherlv_13=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCRegEx7648); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getDtCRegExAccess().getEqualsSignKeyword_4_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3048:1: ( (lv_severity_14_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3049:1: (lv_severity_14_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3049:1: (lv_severity_14_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3050:3: lv_severity_14_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCRegExAccess().getSeverityConstraintSeverityEnumRuleCall_4_2_0_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCRegEx7669);
lv_severity_14_0=ruleConstraintSeverity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCRegExRule());
}
set(
current,
"severity",
lv_severity_14_0,
"ConstraintSeverity");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_15=(Token)match(input,34,FollowSets001.FOLLOW_34_in_ruleDtCRegEx7683); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getDtCRegExAccess().getRightSquareBracketKeyword_4_2_1());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4());
}
}
}
break;
default :
if ( cnt68 >= 1 ) break loop68;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(68, input);
throw eee;
}
cnt68++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCRegEx", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDtCRegExAccess().getUnorderedGroup_4());
}
break;
}
otherlv_16=(Token)match(input,25,FollowSets001.FOLLOW_25_in_ruleDtCRegEx7743); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getDtCRegExAccess().getRightParenthesisKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDtCRegEx"
// $ANTLR start "entryRuleDtCSize"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3097:1: entryRuleDtCSize returns [EObject current=null] : iv_ruleDtCSize= ruleDtCSize EOF ;
public final EObject entryRuleDtCSize() throws RecognitionException {
EObject current = null;
EObject iv_ruleDtCSize = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3098:2: (iv_ruleDtCSize= ruleDtCSize EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3099:2: iv_ruleDtCSize= ruleDtCSize EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCSizeRule());
}
pushFollow(FollowSets001.FOLLOW_ruleDtCSize_in_entryRuleDtCSize7779);
iv_ruleDtCSize=ruleDtCSize();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleDtCSize;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleDtCSize7789); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleDtCSize"
// $ANTLR start "ruleDtCSize"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3106:1: ruleDtCSize returns [EObject current=null] : ( () otherlv_1= 'minMaxSize' otherlv_2= '(' ( (lv_min_3_0= RULE_INT ) ) otherlv_4= ', ' ( (lv_max_5_0= RULE_INT ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )? otherlv_18= ')' ) ;
public final EObject ruleDtCSize() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token lv_min_3_0=null;
Token otherlv_4=null;
Token lv_max_5_0=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_14=null;
Token otherlv_15=null;
Token otherlv_17=null;
Token otherlv_18=null;
AntlrDatatypeRuleToken lv_msgCode_10_0 = null;
AntlrDatatypeRuleToken lv_msgI18nKey_13_0 = null;
Enumerator lv_severity_16_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3109:28: ( ( () otherlv_1= 'minMaxSize' otherlv_2= '(' ( (lv_min_3_0= RULE_INT ) ) otherlv_4= ', ' ( (lv_max_5_0= RULE_INT ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )? otherlv_18= ')' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3110:1: ( () otherlv_1= 'minMaxSize' otherlv_2= '(' ( (lv_min_3_0= RULE_INT ) ) otherlv_4= ', ' ( (lv_max_5_0= RULE_INT ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )? otherlv_18= ')' )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3110:1: ( () otherlv_1= 'minMaxSize' otherlv_2= '(' ( (lv_min_3_0= RULE_INT ) ) otherlv_4= ', ' ( (lv_max_5_0= RULE_INT ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )? otherlv_18= ')' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3110:2: () otherlv_1= 'minMaxSize' otherlv_2= '(' ( (lv_min_3_0= RULE_INT ) ) otherlv_4= ', ' ( (lv_max_5_0= RULE_INT ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )? otherlv_18= ')'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3110:2: ()
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3111:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getDtCSizeAccess().getLDtCSizeAction_0(),
current);
}
}
otherlv_1=(Token)match(input,46,FollowSets001.FOLLOW_46_in_ruleDtCSize7835); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getDtCSizeAccess().getMinMaxSizeKeyword_1());
}
otherlv_2=(Token)match(input,23,FollowSets001.FOLLOW_23_in_ruleDtCSize7847); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getDtCSizeAccess().getLeftParenthesisKeyword_2());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3124:1: ( (lv_min_3_0= RULE_INT ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3125:1: (lv_min_3_0= RULE_INT )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3125:1: (lv_min_3_0= RULE_INT )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3126:3: lv_min_3_0= RULE_INT
{
lv_min_3_0=(Token)match(input,RULE_INT,FollowSets001.FOLLOW_RULE_INT_in_ruleDtCSize7864); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_min_3_0, grammarAccess.getDtCSizeAccess().getMinINTTerminalRuleCall_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDtCSizeRule());
}
setWithLastConsumed(
current,
"min",
lv_min_3_0,
"INT");
}
}
}
otherlv_4=(Token)match(input,24,FollowSets001.FOLLOW_24_in_ruleDtCSize7881); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getDtCSizeAccess().getCommaSpaceKeyword_4());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3146:1: ( (lv_max_5_0= RULE_INT ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3147:1: (lv_max_5_0= RULE_INT )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3147:1: (lv_max_5_0= RULE_INT )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3148:3: lv_max_5_0= RULE_INT
{
lv_max_5_0=(Token)match(input,RULE_INT,FollowSets001.FOLLOW_RULE_INT_in_ruleDtCSize7898); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_max_5_0, grammarAccess.getDtCSizeAccess().getMaxINTTerminalRuleCall_5_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getDtCSizeRule());
}
setWithLastConsumed(
current,
"max",
lv_max_5_0,
"INT");
}
}
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3164:2: ( ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) ) )?
int alt73=2;
int LA73_0 = input.LA(1);
if ( (LA73_0==29||(LA73_0>=32 && LA73_0<=34)) ) {
alt73=1;
}
switch (alt73) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3166:1: ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3166:1: ( ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3167:2: ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?)
{
getUnorderedGroupHelper().enter(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6());
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3170:2: ( ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?)
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3171:3: ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+ {...}?
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3171:3: ( ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) ) | ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) ) )+
int cnt72=0;
loop72:
do {
int alt72=4;
int LA72_0 = input.LA(1);
if ( LA72_0 ==29 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 0) ) {
alt72=1;
}
else if ( LA72_0 ==32 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 1) ) {
alt72=2;
}
else if ( LA72_0 >=33 && LA72_0<=34 && getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 2) ) {
alt72=3;
}
switch (alt72) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3173:4: ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3173:4: ({...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3174:5: {...}? => ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCSize", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 0)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3174:104: ( ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3175:6: ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3178:6: ({...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3178:7: {...}? => (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCSize", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3178:16: (otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3178:18: otherlv_7= '[' (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )?
{
otherlv_7=(Token)match(input,29,FollowSets001.FOLLOW_29_in_ruleDtCSize7961); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getDtCSizeAccess().getLeftSquareBracketKeyword_6_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3182:1: (otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) ) )?
int alt70=2;
int LA70_0 = input.LA(1);
if ( (LA70_0==30) ) {
alt70=1;
}
switch (alt70) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3182:3: otherlv_8= 'msgCode' otherlv_9= '=' ( (lv_msgCode_10_0= ruleQualifiedName ) )
{
otherlv_8=(Token)match(input,30,FollowSets001.FOLLOW_30_in_ruleDtCSize7974); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getDtCSizeAccess().getMsgCodeKeyword_6_0_1_0());
}
otherlv_9=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCSize7986); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getDtCSizeAccess().getEqualsSignKeyword_6_0_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3190:1: ( (lv_msgCode_10_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3191:1: (lv_msgCode_10_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3191:1: (lv_msgCode_10_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3192:3: lv_msgCode_10_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCSizeAccess().getMsgCodeQualifiedNameParserRuleCall_6_0_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCSize8007);
lv_msgCode_10_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCSizeRule());
}
set(
current,
"msgCode",
lv_msgCode_10_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3215:4: ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3215:4: ({...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3216:5: {...}? => ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCSize", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 1)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3216:104: ( ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3217:6: ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3220:6: ({...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3220:7: {...}? => (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCSize", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3220:16: (otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3220:18: otherlv_11= 'msgI18nKey' otherlv_12= '=' ( (lv_msgI18nKey_13_0= ruleQualifiedName ) )
{
otherlv_11=(Token)match(input,32,FollowSets001.FOLLOW_32_in_ruleDtCSize8077); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getDtCSizeAccess().getMsgI18nKeyKeyword_6_1_0());
}
otherlv_12=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCSize8089); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getDtCSizeAccess().getEqualsSignKeyword_6_1_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3228:1: ( (lv_msgI18nKey_13_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3229:1: (lv_msgI18nKey_13_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3229:1: (lv_msgI18nKey_13_0= ruleQualifiedName )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3230:3: lv_msgI18nKey_13_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCSizeAccess().getMsgI18nKeyQualifiedNameParserRuleCall_6_1_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleQualifiedName_in_ruleDtCSize8110);
lv_msgI18nKey_13_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCSizeRule());
}
set(
current,
"msgI18nKey",
lv_msgI18nKey_13_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3253:4: ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3253:4: ({...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3254:5: {...}? => ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 2) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCSize", "getUnorderedGroupHelper().canSelect(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 2)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3254:104: ( ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3255:6: ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) )
{
getUnorderedGroupHelper().select(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6(), 2);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3258:6: ({...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3258:7: {...}? => ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCSize", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3258:16: ( (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3258:17: (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )? otherlv_17= ']'
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3258:17: (otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) ) )?
int alt71=2;
int LA71_0 = input.LA(1);
if ( (LA71_0==33) ) {
alt71=1;
}
switch (alt71) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3258:19: otherlv_14= 'severity' otherlv_15= '=' ( (lv_severity_16_0= ruleConstraintSeverity ) )
{
otherlv_14=(Token)match(input,33,FollowSets001.FOLLOW_33_in_ruleDtCSize8179); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_14, grammarAccess.getDtCSizeAccess().getSeverityKeyword_6_2_0_0());
}
otherlv_15=(Token)match(input,31,FollowSets001.FOLLOW_31_in_ruleDtCSize8191); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getDtCSizeAccess().getEqualsSignKeyword_6_2_0_1());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3266:1: ( (lv_severity_16_0= ruleConstraintSeverity ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3267:1: (lv_severity_16_0= ruleConstraintSeverity )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3267:1: (lv_severity_16_0= ruleConstraintSeverity )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3268:3: lv_severity_16_0= ruleConstraintSeverity
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getDtCSizeAccess().getSeverityConstraintSeverityEnumRuleCall_6_2_0_2_0());
}
pushFollow(FollowSets001.FOLLOW_ruleConstraintSeverity_in_ruleDtCSize8212);
lv_severity_16_0=ruleConstraintSeverity();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getDtCSizeRule());
}
set(
current,
"severity",
lv_severity_16_0,
"ConstraintSeverity");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
otherlv_17=(Token)match(input,34,FollowSets001.FOLLOW_34_in_ruleDtCSize8226); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_17, grammarAccess.getDtCSizeAccess().getRightSquareBracketKeyword_6_2_1());
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6());
}
}
}
break;
default :
if ( cnt72 >= 1 ) break loop72;
if (state.backtracking>0) {state.failed=true; return current;}
EarlyExitException eee =
new EarlyExitException(72, input);
throw eee;
}
cnt72++;
} while (true);
if ( ! getUnorderedGroupHelper().canLeave(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6()) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleDtCSize", "getUnorderedGroupHelper().canLeave(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6())");
}
}
}
getUnorderedGroupHelper().leave(grammarAccess.getDtCSizeAccess().getUnorderedGroup_6());
}
break;
}
otherlv_18=(Token)match(input,25,FollowSets001.FOLLOW_25_in_ruleDtCSize8286); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_18, grammarAccess.getDtCSizeAccess().getRightParenthesisKeyword_7());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleDtCSize"
// $ANTLR start "entryRuleScalarType"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3315:1: entryRuleScalarType returns [EObject current=null] : iv_ruleScalarType= ruleScalarType EOF ;
public final EObject entryRuleScalarType() throws RecognitionException {
EObject current = null;
EObject iv_ruleScalarType = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3316:2: (iv_ruleScalarType= ruleScalarType EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3317:2: iv_ruleScalarType= ruleScalarType EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getScalarTypeRule());
}
pushFollow(FollowSets001.FOLLOW_ruleScalarType_in_entryRuleScalarType8322);
iv_ruleScalarType=ruleScalarType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleScalarType;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleScalarType8332); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleScalarType"
// $ANTLR start "ruleScalarType"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3324:1: ruleScalarType returns [EObject current=null] : (this_DataType_0= ruleDataType | this_Enum_1= ruleEnum ) ;
public final EObject ruleScalarType() throws RecognitionException {
EObject current = null;
EObject this_DataType_0 = null;
EObject this_Enum_1 = null;
enterRule();
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3327:28: ( (this_DataType_0= ruleDataType | this_Enum_1= ruleEnum ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3328:1: (this_DataType_0= ruleDataType | this_Enum_1= ruleEnum )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3328:1: (this_DataType_0= ruleDataType | this_Enum_1= ruleEnum )
int alt74=2;
int LA74_0 = input.LA(1);
if ( (LA74_0==19) ) {
alt74=1;
}
else if ( (LA74_0==47) ) {
alt74=2;
}
else {
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.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3329:5: this_DataType_0= ruleDataType
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getScalarTypeAccess().getDataTypeParserRuleCall_0());
}
pushFollow(FollowSets001.FOLLOW_ruleDataType_in_ruleScalarType8379);
this_DataType_0=ruleDataType();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_DataType_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3339:5: this_Enum_1= ruleEnum
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getScalarTypeAccess().getEnumParserRuleCall_1());
}
pushFollow(FollowSets001.FOLLOW_ruleEnum_in_ruleScalarType8406);
this_Enum_1=ruleEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_Enum_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleScalarType"
// $ANTLR start "entryRuleEnum"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3357:1: entryRuleEnum returns [EObject current=null] : iv_ruleEnum= ruleEnum EOF ;
public final EObject entryRuleEnum() throws RecognitionException {
EObject current = null;
EObject iv_ruleEnum = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3358:2: (iv_ruleEnum= ruleEnum EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3359:2: iv_ruleEnum= ruleEnum EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEnumRule());
}
pushFollow(FollowSets001.FOLLOW_ruleEnum_in_entryRuleEnum8443);
iv_ruleEnum=ruleEnum();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEnum;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleEnum8453); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEnum"
// $ANTLR start "ruleEnum"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3366:1: ruleEnum returns [EObject current=null] : (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ', ' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* otherlv_6= '}' ) ;
public final EObject ruleEnum() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_literals_3_0 = null;
EObject lv_literals_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3369:28: ( (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ', ' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* otherlv_6= '}' ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3370:1: (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ', ' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* otherlv_6= '}' )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3370:1: (otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ', ' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* otherlv_6= '}' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3370:3: otherlv_0= 'enum' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_literals_3_0= ruleEnumLiteral ) ) (otherlv_4= ', ' ( (lv_literals_5_0= ruleEnumLiteral ) ) )* otherlv_6= '}'
{
otherlv_0=(Token)match(input,47,FollowSets001.FOLLOW_47_in_ruleEnum8490); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getEnumAccess().getEnumKeyword_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3374:1: ( (lv_name_1_0= RULE_ID ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3375:1: (lv_name_1_0= RULE_ID )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3375:1: (lv_name_1_0= RULE_ID )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3376:3: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FollowSets001.FOLLOW_RULE_ID_in_ruleEnum8507); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getEnumAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEnumRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"ID");
}
}
}
otherlv_2=(Token)match(input,14,FollowSets001.FOLLOW_14_in_ruleEnum8524); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEnumAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3396:1: ( (lv_literals_3_0= ruleEnumLiteral ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3397:1: (lv_literals_3_0= ruleEnumLiteral )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3397:1: (lv_literals_3_0= ruleEnumLiteral )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3398:3: lv_literals_3_0= ruleEnumLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEnumAccess().getLiteralsEnumLiteralParserRuleCall_3_0());
}
pushFollow(FollowSets001.FOLLOW_ruleEnumLiteral_in_ruleEnum8545);
lv_literals_3_0=ruleEnumLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEnumRule());
}
add(
current,
"literals",
lv_literals_3_0,
"EnumLiteral");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3414:2: (otherlv_4= ', ' ( (lv_literals_5_0= ruleEnumLiteral ) ) )*
loop75:
do {
int alt75=2;
int LA75_0 = input.LA(1);
if ( (LA75_0==24) ) {
alt75=1;
}
switch (alt75) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3414:4: otherlv_4= ', ' ( (lv_literals_5_0= ruleEnumLiteral ) )
{
otherlv_4=(Token)match(input,24,FollowSets001.FOLLOW_24_in_ruleEnum8558); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getEnumAccess().getCommaSpaceKeyword_4_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3418:1: ( (lv_literals_5_0= ruleEnumLiteral ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3419:1: (lv_literals_5_0= ruleEnumLiteral )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3419:1: (lv_literals_5_0= ruleEnumLiteral )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3420:3: lv_literals_5_0= ruleEnumLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEnumAccess().getLiteralsEnumLiteralParserRuleCall_4_1_0());
}
pushFollow(FollowSets001.FOLLOW_ruleEnumLiteral_in_ruleEnum8579);
lv_literals_5_0=ruleEnumLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getEnumRule());
}
add(
current,
"literals",
lv_literals_5_0,
"EnumLiteral");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop75;
}
} while (true);
otherlv_6=(Token)match(input,15,FollowSets001.FOLLOW_15_in_ruleEnum8593); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getEnumAccess().getRightCurlyBracketKeyword_5());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleEnum"
// $ANTLR start "entryRuleEnumLiteral"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3448:1: entryRuleEnumLiteral returns [EObject current=null] : iv_ruleEnumLiteral= ruleEnumLiteral EOF ;
public final EObject entryRuleEnumLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleEnumLiteral = null;
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3449:2: (iv_ruleEnumLiteral= ruleEnumLiteral EOF )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3450:2: iv_ruleEnumLiteral= ruleEnumLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getEnumLiteralRule());
}
pushFollow(FollowSets001.FOLLOW_ruleEnumLiteral_in_entryRuleEnumLiteral8629);
iv_ruleEnumLiteral=ruleEnumLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleEnumLiteral;
}
match(input,EOF,FollowSets001.FOLLOW_EOF_in_entryRuleEnumLiteral8639); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleEnumLiteral"
// $ANTLR start "ruleEnumLiteral"
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3457:1: ruleEnumLiteral returns [EObject current=null] : ( ( (lv_name_0_0= RULE_ID ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?) ) )? ) ;
public final EObject ruleEnumLiteral() throws RecognitionException {
EObject current = null;
Token lv_name_0_0=null;
Token otherlv_2=null;
Token lv_default_3_0=null;
Token lv_null_4_0=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token lv_value_7_0=null;
enterRule();
try {
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3460:28: ( ( ( (lv_name_0_0= RULE_ID ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3461:1: ( ( (lv_name_0_0= RULE_ID ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?) ) )? )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3461:1: ( ( (lv_name_0_0= RULE_ID ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3461:2: ( (lv_name_0_0= RULE_ID ) ) ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?) ) )?
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3461:2: ( (lv_name_0_0= RULE_ID ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3462:1: (lv_name_0_0= RULE_ID )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3462:1: (lv_name_0_0= RULE_ID )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3463:3: lv_name_0_0= RULE_ID
{
lv_name_0_0=(Token)match(input,RULE_ID,FollowSets001.FOLLOW_RULE_ID_in_ruleEnumLiteral8681); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_0_0, grammarAccess.getEnumLiteralAccess().getNameIDTerminalRuleCall_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEnumLiteralRule());
}
setWithLastConsumed(
current,
"name",
lv_name_0_0,
"ID");
}
}
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3479:2: ( ( ( ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?) ) )?
int alt80=2;
int LA80_0 = input.LA(1);
if ( (LA80_0==23||LA80_0==25||LA80_0==49) ) {
alt80=1;
}
switch (alt80) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3481:1: ( ( ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3481:1: ( ( ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3482:2: ( ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?)
{
getUnorderedGroupHelper().enter(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1());
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3485:2: ( ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?)
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3486:3: ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+ {...}?
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3486:3: ( ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) ) | ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) ) )+
int cnt79=0;
loop79:
do {
int alt79=3;
int LA79_0 = input.LA(1);
if ( LA79_0 ==23 && getUnorderedGroupHelper().canSelect(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 0) ) {
alt79=1;
}
else if ( (LA79_0==25||LA79_0==49) && getUnorderedGroupHelper().canSelect(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 1) ) {
alt79=2;
}
switch (alt79) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3488:4: ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3488:4: ({...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3489:5: {...}? => ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 0) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleEnumLiteral", "getUnorderedGroupHelper().canSelect(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 0)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3489:108: ( ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3490:6: ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 0);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3493:6: ({...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3493:7: {...}? => (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleEnumLiteral", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3493:16: (otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3493:18: otherlv_2= '(' ( (lv_default_3_0= 'asDefault' ) )?
{
otherlv_2=(Token)match(input,23,FollowSets001.FOLLOW_23_in_ruleEnumLiteral8744); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getEnumLiteralAccess().getLeftParenthesisKeyword_1_0_0());
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3497:1: ( (lv_default_3_0= 'asDefault' ) )?
int alt76=2;
int LA76_0 = input.LA(1);
if ( (LA76_0==48) ) {
alt76=1;
}
switch (alt76) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3498:1: (lv_default_3_0= 'asDefault' )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3498:1: (lv_default_3_0= 'asDefault' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3499:3: lv_default_3_0= 'asDefault'
{
lv_default_3_0=(Token)match(input,48,FollowSets002.FOLLOW_48_in_ruleEnumLiteral8762); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_default_3_0, grammarAccess.getEnumLiteralAccess().getDefaultAsDefaultKeyword_1_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEnumLiteralRule());
}
setWithLastConsumed(current, "default", true, "asDefault");
}
}
}
break;
}
}
}
getUnorderedGroupHelper().returnFromSelection(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1());
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3519:4: ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3519:4: ({...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3520:5: {...}? => ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) )
{
if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 1) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleEnumLiteral", "getUnorderedGroupHelper().canSelect(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 1)");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3520:108: ( ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3521:6: ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) )
{
getUnorderedGroupHelper().select(grammarAccess.getEnumLiteralAccess().getUnorderedGroup_1(), 1);
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3524:6: ({...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? ) )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3524:7: {...}? => ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? )
{
if ( !((true)) ) {
if (state.backtracking>0) {state.failed=true; return current;}
throw new FailedPredicateException(input, "ruleEnumLiteral", "true");
}
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3524:16: ( ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )? )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3524:17: ( (lv_null_4_0= 'forNull' ) )? otherlv_5= ')' (otherlv_6= '=' ( (lv_value_7_0= RULE_INT ) ) )?
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3524:17: ( (lv_null_4_0= 'forNull' ) )?
int alt77=2;
int LA77_0 = input.LA(1);
if ( (LA77_0==49) ) {
alt77=1;
}
switch (alt77) {
case 1 :
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3525:1: (lv_null_4_0= 'forNull' )
{
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3525:1: (lv_null_4_0= 'forNull' )
// ../org.eclipse.osbp.dsl.common.xtext/src-gen/org/eclipse/osbp/dsl/common/xtext/parser/antlr/internal/InternalCommonGrammar.g:3526:3: lv_null_4_0= 'forNull'
{
lv_null_4_0=(Token)match(input,49,FollowSets002.FOLLOW_49_in_ruleEnumLiteral8850); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_null_4_0, grammarAccess.getEnumLiteralAccess().getNullForNullKeyword_1_1_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getEnumLiteralRule());
}
setWithLastConsumed(current, "null", true, "forNull");
}
}
}
break;
}
otherlv_5=(Token)match(input,25,FollowSets002.FOLLOW_25_in_ruleEnumLiteral8876); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getEnumLiteralAccess().getRightParenthesisKeyword_1_1_1());