summaryrefslogtreecommitdiffstats
path: root/rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModelParser.java
diff options
context:
space:
mode:
Diffstat (limited to 'rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModelParser.java')
-rw-r--r--rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModelParser.java31671
1 files changed, 31671 insertions, 0 deletions
diff --git a/rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModelParser.java b/rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModelParser.java
new file mode 100644
index 0000000..f2ff5e6
--- /dev/null
+++ b/rba.tool.editor/src-gen/rba/tool/editor/parser/antlr/internal/InternalRBAModelParser.java
@@ -0,0 +1,31671 @@
+package rba.tool.editor.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 rba.tool.editor.services.RBAModelGrammarAccess;
+
+
+
+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 InternalRBAModelParser extends AbstractInternalAntlrParser {
+ public static final String[] tokenNames = new String[] {
+ "<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_INT", "RULE_STRING", "RULE_RICH_STRING", "RULE_ID", "RULE_IDENTIFIER_START", "RULE_UNICODE_ESCAPE", "RULE_IDENTIFIER_PART", "RULE_IDENTIFIER_START_IMPL", "RULE_IDENTIFIER_PART_IMPL", "RULE_IDENTIFIER_DIGITS", "RULE_HEX_DIGIT", "RULE_WS", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "'module'", "'import'", "'int'", "':'", "'<<'", "'>>'", "'\\u00AB'", "'\\u00BB'", "'{'", "','", "'}'", "'Package'", "'description:'", "'Stereotype'", "'<'", "'>'", "'('", "')'", "'Area'", "'Zone'", "'SoundContent'", "'ViewContent'", "'Display'", "'Constraint'", "'runtime:'", "'loserType:'", "'allocatable:'", "'['", "']'", "'Size'", "'width:'", "'height:'", "'sizeReference:'", "'Offset'", "'x:'", "'y:'", "'AreaSet'", "'target:'", "'ZoneSet'", "'CompositeArea'", "'layout:'", "'arbitrationPolicy:'", "'visibility:'", "'priority:'", "'zorder:'", "'attenuateValue:'", "'State'", "'value:'", "'Project'", "'version:'", "'+'", "'='", "'That-of'", "'.'", "'STANDARD_VALUE'", "'NONE_VALUE'", "'MIN_VALUE'", "'MAX_VALUE'", "'->'", "'OR'", "'AND'", "'=='", "'!='", "'>='", "'<='", "'!'", "'get'", "'isOn'", "'contentsList'", "'contentValue'", "'isActive'", "'allocatables'", "'allocatedContent'", "'isDisplayed'", "'isHidden'", "'displayingContent'", "'isVisible'", "'isOutputted'", "'isMuted'", "'outputtingSound'", "'isSounding'", "'isAttenuated'", "'hasComeEarlierThan'", "'hasComeLaterThan'", "'stateValue'", "'isAllocatedTo'", "'isChanged'", "'isTranslatedTo'", "'isDisplayedOn'", "'isChangedDisplay'", "'isTranslatedViewTo'", "'isOutputtedOn'", "'isChangedOutput'", "'isTranslatedSoundTo'", "'isTypeOf'", "'activeContents'", "'size'", "'hasBeenDisplayed'", "'activeState'", "'max'", "'min'", "'select'", "'ALL_AREAS'", "'ALL_VIEWCONTENTS'", "'ALL_ZONES'", "'ALL_SOUNDCONTENTS'", "'NULL'", "'(pre)'", "'HideLowerPriority'", "'MuteLowerPriority'", "'IF'", "'THEN'", "'ELSE'", "'For-All'", "'Exists'", "'|'", "'let'", "'ViewContentSet'", "'SoundContentSet'", "'Scene'", "'global:'", "'VerticalLayout'", "'basePoint:'", "'subarea:'", "'HorizontalLayout'", "'FixedPositionLayout'", "'PositionContainer'", "'areaReference:'", "'true'", "'false'", "'-'", "'.*'", "'this'", "'DEFAULT'", "'FIRST_COME_FIRST'", "'LAST_COME_FIRST'", "'PRIORITY_FIRST_COME_FIRST'", "'PRIORITY_LAST_COME_FIRST'", "'LEFT_TOP'", "'LEFT_MIDDLE'", "'LEFT_BOTTOM'", "'RIGHT_TOP'", "'RIGHT_MIDDLE'", "'RIGHT_BOTTOM'", "'CENTER_TOP'", "'CENTER_MIDDLE'", "'CENTER_BOTTOM'", "'NEVER_GIVEUP'", "'GOOD_LOSER'", "'DO_NOT_GIVEUP_UNTIL_WIN'"
+ };
+ public static final int T__144=144;
+ public static final int T__143=143;
+ public static final int T__146=146;
+ public static final int T__50=50;
+ public static final int T__145=145;
+ public static final int T__140=140;
+ public static final int T__142=142;
+ public static final int T__141=141;
+ public static final int T__59=59;
+ public static final int T__55=55;
+ public static final int T__56=56;
+ public static final int T__57=57;
+ public static final int T__58=58;
+ public static final int T__51=51;
+ public static final int T__137=137;
+ public static final int T__52=52;
+ public static final int T__136=136;
+ public static final int T__53=53;
+ public static final int T__139=139;
+ public static final int T__54=54;
+ public static final int T__138=138;
+ public static final int T__133=133;
+ public static final int T__132=132;
+ public static final int T__60=60;
+ public static final int T__135=135;
+ public static final int T__61=61;
+ public static final int T__134=134;
+ public static final int RULE_ID=7;
+ 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=16;
+ public static final int T__67=67;
+ public static final int T__129=129;
+ public static final int T__68=68;
+ public static final int T__69=69;
+ public static final int T__62=62;
+ public static final int T__126=126;
+ public static final int T__63=63;
+ public static final int T__125=125;
+ public static final int T__64=64;
+ public static final int T__128=128;
+ public static final int T__65=65;
+ public static final int T__127=127;
+ public static final int T__166=166;
+ public static final int T__165=165;
+ public static final int T__167=167;
+ public static final int T__162=162;
+ public static final int T__161=161;
+ public static final int T__164=164;
+ public static final int T__163=163;
+ public static final int T__160=160;
+ public static final int RULE_IDENTIFIER_DIGITS=13;
+ public static final int RULE_UNICODE_ESCAPE=9;
+ 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 RULE_IDENTIFIER_PART=10;
+ public static final int T__33=33;
+ public static final int T__34=34;
+ public static final int T__35=35;
+ public static final int T__36=36;
+ public static final int T__159=159;
+ public static final int T__30=30;
+ public static final int T__158=158;
+ public static final int T__31=31;
+ public static final int T__32=32;
+ public static final int T__155=155;
+ public static final int T__154=154;
+ public static final int T__157=157;
+ public static final int T__156=156;
+ public static final int T__151=151;
+ public static final int T__150=150;
+ public static final int T__153=153;
+ public static final int T__152=152;
+ public static final int T__48=48;
+ public static final int T__49=49;
+ public static final int T__44=44;
+ public static final int T__45=45;
+ public static final int RULE_HEX_DIGIT=14;
+ public static final int T__46=46;
+ public static final int T__47=47;
+ public static final int T__40=40;
+ public static final int T__148=148;
+ public static final int T__41=41;
+ public static final int T__147=147;
+ public static final int T__42=42;
+ public static final int T__43=43;
+ public static final int T__149=149;
+ public static final int T__91=91;
+ public static final int T__100=100;
+ public static final int T__92=92;
+ public static final int T__93=93;
+ public static final int T__102=102;
+ public static final int T__94=94;
+ public static final int T__101=101;
+ public static final int T__90=90;
+ public static final int T__19=19;
+ public static final int RULE_IDENTIFIER_START=8;
+ public static final int T__18=18;
+ public static final int T__99=99;
+ public static final int T__95=95;
+ public static final int T__96=96;
+ public static final int T__97=97;
+ public static final int T__98=98;
+ public static final int T__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=17;
+ 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 RULE_RICH_STRING=6;
+ 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=15;
+ public static final int RULE_IDENTIFIER_PART_IMPL=12;
+ public static final int RULE_IDENTIFIER_START_IMPL=11;
+ 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 InternalRBAModelParser(TokenStream input) {
+ this(input, new RecognizerSharedState());
+ }
+ public InternalRBAModelParser(TokenStream input, RecognizerSharedState state) {
+ super(input, state);
+
+ }
+
+
+ public String[] getTokenNames() { return InternalRBAModelParser.tokenNames; }
+ public String getGrammarFileName() { return "InternalRBAModel.g"; }
+
+
+
+ private RBAModelGrammarAccess grammarAccess;
+
+ public InternalRBAModelParser(TokenStream input, RBAModelGrammarAccess grammarAccess) {
+ this(input);
+ this.grammarAccess = grammarAccess;
+ registerRules(grammarAccess.getGrammar());
+ }
+
+ @Override
+ protected String getFirstRuleName() {
+ return "TopLevel";
+ }
+
+ @Override
+ protected RBAModelGrammarAccess getGrammarAccess() {
+ return grammarAccess;
+ }
+
+
+
+
+ // $ANTLR start "entryRuleTopLevel"
+ // InternalRBAModel.g:65:1: entryRuleTopLevel returns [EObject current=null] : iv_ruleTopLevel= ruleTopLevel EOF ;
+ public final EObject entryRuleTopLevel() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleTopLevel = null;
+
+
+ try {
+ // InternalRBAModel.g:65:49: (iv_ruleTopLevel= ruleTopLevel EOF )
+ // InternalRBAModel.g:66:2: iv_ruleTopLevel= ruleTopLevel EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getTopLevelRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleTopLevel=ruleTopLevel();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleTopLevel;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleTopLevel"
+
+
+ // $ANTLR start "ruleTopLevel"
+ // InternalRBAModel.g:72:1: ruleTopLevel returns [EObject current=null] : ( () (otherlv_1= 'module' ruleQualifiedName )? ( (lv_project_3_0= ruleProject ) )* ( (lv_imports_4_0= ruleImport ) )* ( (lv_packages_5_0= rulePackage ) )* ) ;
+ public final EObject ruleTopLevel() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ EObject lv_project_3_0 = null;
+
+ EObject lv_imports_4_0 = null;
+
+ EObject lv_packages_5_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:78:2: ( ( () (otherlv_1= 'module' ruleQualifiedName )? ( (lv_project_3_0= ruleProject ) )* ( (lv_imports_4_0= ruleImport ) )* ( (lv_packages_5_0= rulePackage ) )* ) )
+ // InternalRBAModel.g:79:2: ( () (otherlv_1= 'module' ruleQualifiedName )? ( (lv_project_3_0= ruleProject ) )* ( (lv_imports_4_0= ruleImport ) )* ( (lv_packages_5_0= rulePackage ) )* )
+ {
+ // InternalRBAModel.g:79:2: ( () (otherlv_1= 'module' ruleQualifiedName )? ( (lv_project_3_0= ruleProject ) )* ( (lv_imports_4_0= ruleImport ) )* ( (lv_packages_5_0= rulePackage ) )* )
+ // InternalRBAModel.g:80:3: () (otherlv_1= 'module' ruleQualifiedName )? ( (lv_project_3_0= ruleProject ) )* ( (lv_imports_4_0= ruleImport ) )* ( (lv_packages_5_0= rulePackage ) )*
+ {
+ // InternalRBAModel.g:80:3: ()
+ // InternalRBAModel.g:81:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getTopLevelAccess().getTopLevelAction_0(),
+ current);
+
+ }
+
+ }
+
+ // InternalRBAModel.g:87:3: (otherlv_1= 'module' ruleQualifiedName )?
+ int alt1=2;
+ int LA1_0 = input.LA(1);
+
+ if ( (LA1_0==18) ) {
+ alt1=1;
+ }
+ switch (alt1) {
+ case 1 :
+ // InternalRBAModel.g:88:4: otherlv_1= 'module' ruleQualifiedName
+ {
+ otherlv_1=(Token)match(input,18,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getTopLevelAccess().getModuleKeyword_1_0());
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getTopLevelAccess().getQualifiedNameParserRuleCall_1_1());
+
+ }
+ pushFollow(FOLLOW_4);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+ // InternalRBAModel.g:100:3: ( (lv_project_3_0= ruleProject ) )*
+ loop2:
+ do {
+ int alt2=2;
+ int LA2_0 = input.LA(1);
+
+ if ( (LA2_0==66) ) {
+ alt2=1;
+ }
+
+
+ switch (alt2) {
+ case 1 :
+ // InternalRBAModel.g:101:4: (lv_project_3_0= ruleProject )
+ {
+ // InternalRBAModel.g:101:4: (lv_project_3_0= ruleProject )
+ // InternalRBAModel.g:102:5: lv_project_3_0= ruleProject
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getTopLevelAccess().getProjectProjectParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_4);
+ lv_project_3_0=ruleProject();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getTopLevelRule());
+ }
+ add(
+ current,
+ "project",
+ lv_project_3_0,
+ "rba.tool.editor.RBAModel.Project");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop2;
+ }
+ } while (true);
+
+ // InternalRBAModel.g:119:3: ( (lv_imports_4_0= ruleImport ) )*
+ loop3:
+ do {
+ int alt3=2;
+ int LA3_0 = input.LA(1);
+
+ if ( (LA3_0==19) ) {
+ alt3=1;
+ }
+
+
+ switch (alt3) {
+ case 1 :
+ // InternalRBAModel.g:120:4: (lv_imports_4_0= ruleImport )
+ {
+ // InternalRBAModel.g:120:4: (lv_imports_4_0= ruleImport )
+ // InternalRBAModel.g:121:5: lv_imports_4_0= ruleImport
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getTopLevelAccess().getImportsImportParserRuleCall_3_0());
+
+ }
+ pushFollow(FOLLOW_5);
+ lv_imports_4_0=ruleImport();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getTopLevelRule());
+ }
+ add(
+ current,
+ "imports",
+ lv_imports_4_0,
+ "rba.tool.editor.RBAModel.Import");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop3;
+ }
+ } while (true);
+
+ // InternalRBAModel.g:138:3: ( (lv_packages_5_0= rulePackage ) )*
+ loop4:
+ do {
+ int alt4=2;
+ int LA4_0 = input.LA(1);
+
+ if ( (LA4_0==29) ) {
+ alt4=1;
+ }
+
+
+ switch (alt4) {
+ case 1 :
+ // InternalRBAModel.g:139:4: (lv_packages_5_0= rulePackage )
+ {
+ // InternalRBAModel.g:139:4: (lv_packages_5_0= rulePackage )
+ // InternalRBAModel.g:140:5: lv_packages_5_0= rulePackage
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getTopLevelAccess().getPackagesPackageParserRuleCall_4_0());
+
+ }
+ pushFollow(FOLLOW_6);
+ lv_packages_5_0=rulePackage();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getTopLevelRule());
+ }
+ add(
+ current,
+ "packages",
+ lv_packages_5_0,
+ "rba.tool.editor.RBAModel.Package");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop4;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleTopLevel"
+
+
+ // $ANTLR start "entryRuleImport"
+ // InternalRBAModel.g:161:1: entryRuleImport returns [EObject current=null] : iv_ruleImport= ruleImport EOF ;
+ public final EObject entryRuleImport() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleImport = null;
+
+
+ try {
+ // InternalRBAModel.g:161:47: (iv_ruleImport= ruleImport EOF )
+ // InternalRBAModel.g:162:2: iv_ruleImport= ruleImport EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getImportRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleImport=ruleImport();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleImport;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleImport"
+
+
+ // $ANTLR start "ruleImport"
+ // InternalRBAModel.g:168:1: ruleImport returns [EObject current=null] : (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) ) ;
+ public final EObject ruleImport() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_0=null;
+ AntlrDatatypeRuleToken lv_importedNamespace_1_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:174:2: ( (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) ) )
+ // InternalRBAModel.g:175:2: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) )
+ {
+ // InternalRBAModel.g:175:2: (otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) ) )
+ // InternalRBAModel.g:176:3: otherlv_0= 'import' ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) )
+ {
+ otherlv_0=(Token)match(input,19,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_0, grammarAccess.getImportAccess().getImportKeyword_0());
+
+ }
+ // InternalRBAModel.g:180:3: ( (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard ) )
+ // InternalRBAModel.g:181:4: (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard )
+ {
+ // InternalRBAModel.g:181:4: (lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard )
+ // InternalRBAModel.g:182:5: lv_importedNamespace_1_0= ruleQualifiedNameWithWildcard
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getImportAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_importedNamespace_1_0=ruleQualifiedNameWithWildcard();
+
+ 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,
+ "rba.tool.editor.RBAModel.QualifiedNameWithWildcard");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleImport"
+
+
+ // $ANTLR start "entryRulePackagableElement"
+ // InternalRBAModel.g:203:1: entryRulePackagableElement returns [EObject current=null] : iv_rulePackagableElement= rulePackagableElement EOF ;
+ public final EObject entryRulePackagableElement() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_rulePackagableElement = null;
+
+
+ try {
+ // InternalRBAModel.g:203:58: (iv_rulePackagableElement= rulePackagableElement EOF )
+ // InternalRBAModel.g:204:2: iv_rulePackagableElement= rulePackagableElement EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPackagableElementRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_rulePackagableElement=rulePackagableElement();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePackagableElement;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRulePackagableElement"
+
+
+ // $ANTLR start "rulePackagableElement"
+ // InternalRBAModel.g:210:1: rulePackagableElement returns [EObject current=null] : (this_Package_0= rulePackage | this_Stereotype_1= ruleStereotype | this_RuleObject_2= ruleRuleObject | this_Display_3= ruleDisplay | this_AbstractConstraint_4= ruleAbstractConstraint | this_Size_5= ruleSize ) ;
+ public final EObject rulePackagableElement() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_Package_0 = null;
+
+ EObject this_Stereotype_1 = null;
+
+ EObject this_RuleObject_2 = null;
+
+ EObject this_Display_3 = null;
+
+ EObject this_AbstractConstraint_4 = null;
+
+ EObject this_Size_5 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:216:2: ( (this_Package_0= rulePackage | this_Stereotype_1= ruleStereotype | this_RuleObject_2= ruleRuleObject | this_Display_3= ruleDisplay | this_AbstractConstraint_4= ruleAbstractConstraint | this_Size_5= ruleSize ) )
+ // InternalRBAModel.g:217:2: (this_Package_0= rulePackage | this_Stereotype_1= ruleStereotype | this_RuleObject_2= ruleRuleObject | this_Display_3= ruleDisplay | this_AbstractConstraint_4= ruleAbstractConstraint | this_Size_5= ruleSize )
+ {
+ // InternalRBAModel.g:217:2: (this_Package_0= rulePackage | this_Stereotype_1= ruleStereotype | this_RuleObject_2= ruleRuleObject | this_Display_3= ruleDisplay | this_AbstractConstraint_4= ruleAbstractConstraint | this_Size_5= ruleSize )
+ int alt5=6;
+ switch ( input.LA(1) ) {
+ case 29:
+ {
+ alt5=1;
+ }
+ break;
+ case 31:
+ {
+ alt5=2;
+ }
+ break;
+ case 36:
+ case 37:
+ case 38:
+ case 39:
+ case 54:
+ case 56:
+ case 135:
+ case 136:
+ case 137:
+ {
+ alt5=3;
+ }
+ break;
+ case 40:
+ {
+ alt5=4;
+ }
+ break;
+ case 41:
+ {
+ alt5=5;
+ }
+ break;
+ case 47:
+ {
+ alt5=6;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 5, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt5) {
+ case 1 :
+ // InternalRBAModel.g:218:3: this_Package_0= rulePackage
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getPackageParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Package_0=rulePackage();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Package_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:227:3: this_Stereotype_1= ruleStereotype
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getStereotypeParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Stereotype_1=ruleStereotype();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Stereotype_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:236:3: this_RuleObject_2= ruleRuleObject
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getRuleObjectParserRuleCall_2());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_RuleObject_2=ruleRuleObject();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_RuleObject_2;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:245:3: this_Display_3= ruleDisplay
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getDisplayParserRuleCall_3());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Display_3=ruleDisplay();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Display_3;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:254:3: this_AbstractConstraint_4= ruleAbstractConstraint
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getAbstractConstraintParserRuleCall_4());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_AbstractConstraint_4=ruleAbstractConstraint();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_AbstractConstraint_4;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 6 :
+ // InternalRBAModel.g:263:3: this_Size_5= ruleSize
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPackagableElementAccess().getSizeParserRuleCall_5());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Size_5=ruleSize();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Size_5;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "rulePackagableElement"
+
+
+ // $ANTLR start "entryRuleAbstractConstraint"
+ // InternalRBAModel.g:275:1: entryRuleAbstractConstraint returns [EObject current=null] : iv_ruleAbstractConstraint= ruleAbstractConstraint EOF ;
+ public final EObject entryRuleAbstractConstraint() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleAbstractConstraint = null;
+
+
+ try {
+ // InternalRBAModel.g:275:59: (iv_ruleAbstractConstraint= ruleAbstractConstraint EOF )
+ // InternalRBAModel.g:276:2: iv_ruleAbstractConstraint= ruleAbstractConstraint EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAbstractConstraintRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleAbstractConstraint=ruleAbstractConstraint();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleAbstractConstraint;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleAbstractConstraint"
+
+
+ // $ANTLR start "ruleAbstractConstraint"
+ // InternalRBAModel.g:282:1: ruleAbstractConstraint returns [EObject current=null] : this_Constraint_0= ruleConstraint ;
+ public final EObject ruleAbstractConstraint() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_Constraint_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:288:2: (this_Constraint_0= ruleConstraint )
+ // InternalRBAModel.g:289:2: this_Constraint_0= ruleConstraint
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAbstractConstraintAccess().getConstraintParserRuleCall());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Constraint_0=ruleConstraint();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Constraint_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleAbstractConstraint"
+
+
+ // $ANTLR start "entryRuleSizeIdentifier"
+ // InternalRBAModel.g:300:1: entryRuleSizeIdentifier returns [EObject current=null] : iv_ruleSizeIdentifier= ruleSizeIdentifier EOF ;
+ public final EObject entryRuleSizeIdentifier() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleSizeIdentifier = null;
+
+
+ try {
+ // InternalRBAModel.g:300:55: (iv_ruleSizeIdentifier= ruleSizeIdentifier EOF )
+ // InternalRBAModel.g:301:2: iv_ruleSizeIdentifier= ruleSizeIdentifier EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getSizeIdentifierRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleSizeIdentifier=ruleSizeIdentifier();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleSizeIdentifier;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleSizeIdentifier"
+
+
+ // $ANTLR start "ruleSizeIdentifier"
+ // InternalRBAModel.g:307:1: ruleSizeIdentifier returns [EObject current=null] : (this_SizeReference_0= ruleSizeReference | this_Size_1= ruleSize ) ;
+ public final EObject ruleSizeIdentifier() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_SizeReference_0 = null;
+
+ EObject this_Size_1 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:313:2: ( (this_SizeReference_0= ruleSizeReference | this_Size_1= ruleSize ) )
+ // InternalRBAModel.g:314:2: (this_SizeReference_0= ruleSizeReference | this_Size_1= ruleSize )
+ {
+ // InternalRBAModel.g:314:2: (this_SizeReference_0= ruleSizeReference | this_Size_1= ruleSize )
+ int alt6=2;
+ int LA6_0 = input.LA(1);
+
+ if ( (LA6_0==50) ) {
+ alt6=1;
+ }
+ else if ( (LA6_0==47) ) {
+ alt6=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 6, 0, input);
+
+ throw nvae;
+ }
+ switch (alt6) {
+ case 1 :
+ // InternalRBAModel.g:315:3: this_SizeReference_0= ruleSizeReference
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSizeIdentifierAccess().getSizeReferenceParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_SizeReference_0=ruleSizeReference();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_SizeReference_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:324:3: this_Size_1= ruleSize
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSizeIdentifierAccess().getSizeParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Size_1=ruleSize();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Size_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleSizeIdentifier"
+
+
+ // $ANTLR start "entryRuleRuleObject"
+ // InternalRBAModel.g:336:1: entryRuleRuleObject returns [EObject current=null] : iv_ruleRuleObject= ruleRuleObject EOF ;
+ public final EObject entryRuleRuleObject() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleRuleObject = null;
+
+
+ try {
+ // InternalRBAModel.g:336:51: (iv_ruleRuleObject= ruleRuleObject EOF )
+ // InternalRBAModel.g:337:2: iv_ruleRuleObject= ruleRuleObject EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getRuleObjectRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleRuleObject=ruleRuleObject();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleRuleObject;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleRuleObject"
+
+
+ // $ANTLR start "ruleRuleObject"
+ // InternalRBAModel.g:343:1: ruleRuleObject returns [EObject current=null] : (this_AbstractContent_0= ruleAbstractContent | this_AbstractScene_1= ruleAbstractScene | this_AbstractAllocatable_2= ruleAbstractAllocatable ) ;
+ public final EObject ruleRuleObject() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_AbstractContent_0 = null;
+
+ EObject this_AbstractScene_1 = null;
+
+ EObject this_AbstractAllocatable_2 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:349:2: ( (this_AbstractContent_0= ruleAbstractContent | this_AbstractScene_1= ruleAbstractScene | this_AbstractAllocatable_2= ruleAbstractAllocatable ) )
+ // InternalRBAModel.g:350:2: (this_AbstractContent_0= ruleAbstractContent | this_AbstractScene_1= ruleAbstractScene | this_AbstractAllocatable_2= ruleAbstractAllocatable )
+ {
+ // InternalRBAModel.g:350:2: (this_AbstractContent_0= ruleAbstractContent | this_AbstractScene_1= ruleAbstractScene | this_AbstractAllocatable_2= ruleAbstractAllocatable )
+ int alt7=3;
+ switch ( input.LA(1) ) {
+ case 38:
+ case 39:
+ case 135:
+ case 136:
+ {
+ alt7=1;
+ }
+ break;
+ case 137:
+ {
+ alt7=2;
+ }
+ break;
+ case 36:
+ case 37:
+ case 54:
+ case 56:
+ {
+ alt7=3;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 7, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt7) {
+ case 1 :
+ // InternalRBAModel.g:351:3: this_AbstractContent_0= ruleAbstractContent
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getRuleObjectAccess().getAbstractContentParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_AbstractContent_0=ruleAbstractContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_AbstractContent_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:360:3: this_AbstractScene_1= ruleAbstractScene
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getRuleObjectAccess().getAbstractSceneParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_AbstractScene_1=ruleAbstractScene();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_AbstractScene_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:369:3: this_AbstractAllocatable_2= ruleAbstractAllocatable
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getRuleObjectAccess().getAbstractAllocatableParserRuleCall_2());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_AbstractAllocatable_2=ruleAbstractAllocatable();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_AbstractAllocatable_2;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleRuleObject"
+
+
+ // $ANTLR start "entryRuleAbstractAllocatable"
+ // InternalRBAModel.g:381:1: entryRuleAbstractAllocatable returns [EObject current=null] : iv_ruleAbstractAllocatable= ruleAbstractAllocatable EOF ;
+ public final EObject entryRuleAbstractAllocatable() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleAbstractAllocatable = null;
+
+
+ try {
+ // InternalRBAModel.g:381:60: (iv_ruleAbstractAllocatable= ruleAbstractAllocatable EOF )
+ // InternalRBAModel.g:382:2: iv_ruleAbstractAllocatable= ruleAbstractAllocatable EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAbstractAllocatableRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleAbstractAllocatable=ruleAbstractAllocatable();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleAbstractAllocatable;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleAbstractAllocatable"
+
+
+ // $ANTLR start "ruleAbstractAllocatable"
+ // InternalRBAModel.g:388:1: ruleAbstractAllocatable returns [EObject current=null] : (this_Allocatable_0= ruleAllocatable | this_AllocatableSet_1= ruleAllocatableSet ) ;
+ public final EObject ruleAbstractAllocatable() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_Allocatable_0 = null;
+
+ EObject this_AllocatableSet_1 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:394:2: ( (this_Allocatable_0= ruleAllocatable | this_AllocatableSet_1= ruleAllocatableSet ) )
+ // InternalRBAModel.g:395:2: (this_Allocatable_0= ruleAllocatable | this_AllocatableSet_1= ruleAllocatableSet )
+ {
+ // InternalRBAModel.g:395:2: (this_Allocatable_0= ruleAllocatable | this_AllocatableSet_1= ruleAllocatableSet )
+ int alt8=2;
+ int LA8_0 = input.LA(1);
+
+ if ( ((LA8_0>=36 && LA8_0<=37)) ) {
+ alt8=1;
+ }
+ else if ( (LA8_0==54||LA8_0==56) ) {
+ alt8=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 8, 0, input);
+
+ throw nvae;
+ }
+ switch (alt8) {
+ case 1 :
+ // InternalRBAModel.g:396:3: this_Allocatable_0= ruleAllocatable
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAbstractAllocatableAccess().getAllocatableParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Allocatable_0=ruleAllocatable();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Allocatable_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:405:3: this_AllocatableSet_1= ruleAllocatableSet
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAbstractAllocatableAccess().getAllocatableSetParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_AllocatableSet_1=ruleAllocatableSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_AllocatableSet_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleAbstractAllocatable"
+
+
+ // $ANTLR start "entryRuleAllocatable"
+ // InternalRBAModel.g:417:1: entryRuleAllocatable returns [EObject current=null] : iv_ruleAllocatable= ruleAllocatable EOF ;
+ public final EObject entryRuleAllocatable() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleAllocatable = null;
+
+
+ try {
+ // InternalRBAModel.g:417:52: (iv_ruleAllocatable= ruleAllocatable EOF )
+ // InternalRBAModel.g:418:2: iv_ruleAllocatable= ruleAllocatable EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAllocatableRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleAllocatable=ruleAllocatable();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleAllocatable;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleAllocatable"
+
+
+ // $ANTLR start "ruleAllocatable"
+ // InternalRBAModel.g:424:1: ruleAllocatable returns [EObject current=null] : (this_Area_0= ruleArea | this_Zone_1= ruleZone ) ;
+ public final EObject ruleAllocatable() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_Area_0 = null;
+
+ EObject this_Zone_1 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:430:2: ( (this_Area_0= ruleArea | this_Zone_1= ruleZone ) )
+ // InternalRBAModel.g:431:2: (this_Area_0= ruleArea | this_Zone_1= ruleZone )
+ {
+ // InternalRBAModel.g:431:2: (this_Area_0= ruleArea | this_Zone_1= ruleZone )
+ int alt9=2;
+ int LA9_0 = input.LA(1);
+
+ if ( (LA9_0==36) ) {
+ alt9=1;
+ }
+ else if ( (LA9_0==37) ) {
+ alt9=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 9, 0, input);
+
+ throw nvae;
+ }
+ switch (alt9) {
+ case 1 :
+ // InternalRBAModel.g:432:3: this_Area_0= ruleArea
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAllocatableAccess().getAreaParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Area_0=ruleArea();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Area_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:441:3: this_Zone_1= ruleZone
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAllocatableAccess().getZoneParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Zone_1=ruleZone();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Zone_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleAllocatable"
+
+
+ // $ANTLR start "entryRuleAllocatableSet"
+ // InternalRBAModel.g:453:1: entryRuleAllocatableSet returns [EObject current=null] : iv_ruleAllocatableSet= ruleAllocatableSet EOF ;
+ public final EObject entryRuleAllocatableSet() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleAllocatableSet = null;
+
+
+ try {
+ // InternalRBAModel.g:453:55: (iv_ruleAllocatableSet= ruleAllocatableSet EOF )
+ // InternalRBAModel.g:454:2: iv_ruleAllocatableSet= ruleAllocatableSet EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAllocatableSetRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleAllocatableSet=ruleAllocatableSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleAllocatableSet;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleAllocatableSet"
+
+
+ // $ANTLR start "ruleAllocatableSet"
+ // InternalRBAModel.g:460:1: ruleAllocatableSet returns [EObject current=null] : (this_AreaSet_0= ruleAreaSet | this_ZoneSet_1= ruleZoneSet ) ;
+ public final EObject ruleAllocatableSet() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_AreaSet_0 = null;
+
+ EObject this_ZoneSet_1 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:466:2: ( (this_AreaSet_0= ruleAreaSet | this_ZoneSet_1= ruleZoneSet ) )
+ // InternalRBAModel.g:467:2: (this_AreaSet_0= ruleAreaSet | this_ZoneSet_1= ruleZoneSet )
+ {
+ // InternalRBAModel.g:467:2: (this_AreaSet_0= ruleAreaSet | this_ZoneSet_1= ruleZoneSet )
+ int alt10=2;
+ int LA10_0 = input.LA(1);
+
+ if ( (LA10_0==54) ) {
+ alt10=1;
+ }
+ else if ( (LA10_0==56) ) {
+ alt10=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 10, 0, input);
+
+ throw nvae;
+ }
+ switch (alt10) {
+ case 1 :
+ // InternalRBAModel.g:468:3: this_AreaSet_0= ruleAreaSet
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAllocatableSetAccess().getAreaSetParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_AreaSet_0=ruleAreaSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_AreaSet_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:477:3: this_ZoneSet_1= ruleZoneSet
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAllocatableSetAccess().getZoneSetParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_ZoneSet_1=ruleZoneSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_ZoneSet_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleAllocatableSet"
+
+
+ // $ANTLR start "entryRuleAbstractContent"
+ // InternalRBAModel.g:489:1: entryRuleAbstractContent returns [EObject current=null] : iv_ruleAbstractContent= ruleAbstractContent EOF ;
+ public final EObject entryRuleAbstractContent() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleAbstractContent = null;
+
+
+ try {
+ // InternalRBAModel.g:489:56: (iv_ruleAbstractContent= ruleAbstractContent EOF )
+ // InternalRBAModel.g:490:2: iv_ruleAbstractContent= ruleAbstractContent EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAbstractContentRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleAbstractContent=ruleAbstractContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleAbstractContent;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleAbstractContent"
+
+
+ // $ANTLR start "ruleAbstractContent"
+ // InternalRBAModel.g:496:1: ruleAbstractContent returns [EObject current=null] : (this_Content_0= ruleContent | this_ContentSet_1= ruleContentSet ) ;
+ public final EObject ruleAbstractContent() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_Content_0 = null;
+
+ EObject this_ContentSet_1 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:502:2: ( (this_Content_0= ruleContent | this_ContentSet_1= ruleContentSet ) )
+ // InternalRBAModel.g:503:2: (this_Content_0= ruleContent | this_ContentSet_1= ruleContentSet )
+ {
+ // InternalRBAModel.g:503:2: (this_Content_0= ruleContent | this_ContentSet_1= ruleContentSet )
+ int alt11=2;
+ int LA11_0 = input.LA(1);
+
+ if ( ((LA11_0>=38 && LA11_0<=39)) ) {
+ alt11=1;
+ }
+ else if ( ((LA11_0>=135 && LA11_0<=136)) ) {
+ alt11=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 11, 0, input);
+
+ throw nvae;
+ }
+ switch (alt11) {
+ case 1 :
+ // InternalRBAModel.g:504:3: this_Content_0= ruleContent
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAbstractContentAccess().getContentParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Content_0=ruleContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Content_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:513:3: this_ContentSet_1= ruleContentSet
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAbstractContentAccess().getContentSetParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_ContentSet_1=ruleContentSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_ContentSet_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleAbstractContent"
+
+
+ // $ANTLR start "entryRuleContent"
+ // InternalRBAModel.g:525:1: entryRuleContent returns [EObject current=null] : iv_ruleContent= ruleContent EOF ;
+ public final EObject entryRuleContent() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleContent = null;
+
+
+ try {
+ // InternalRBAModel.g:525:48: (iv_ruleContent= ruleContent EOF )
+ // InternalRBAModel.g:526:2: iv_ruleContent= ruleContent EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getContentRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleContent=ruleContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleContent;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleContent"
+
+
+ // $ANTLR start "ruleContent"
+ // InternalRBAModel.g:532:1: ruleContent returns [EObject current=null] : (this_ViewContent_0= ruleViewContent | this_SoundContent_1= ruleSoundContent ) ;
+ public final EObject ruleContent() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_ViewContent_0 = null;
+
+ EObject this_SoundContent_1 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:538:2: ( (this_ViewContent_0= ruleViewContent | this_SoundContent_1= ruleSoundContent ) )
+ // InternalRBAModel.g:539:2: (this_ViewContent_0= ruleViewContent | this_SoundContent_1= ruleSoundContent )
+ {
+ // InternalRBAModel.g:539:2: (this_ViewContent_0= ruleViewContent | this_SoundContent_1= ruleSoundContent )
+ int alt12=2;
+ int LA12_0 = input.LA(1);
+
+ if ( (LA12_0==39) ) {
+ alt12=1;
+ }
+ else if ( (LA12_0==38) ) {
+ alt12=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 12, 0, input);
+
+ throw nvae;
+ }
+ switch (alt12) {
+ case 1 :
+ // InternalRBAModel.g:540:3: this_ViewContent_0= ruleViewContent
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentAccess().getViewContentParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_ViewContent_0=ruleViewContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_ViewContent_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:549:3: this_SoundContent_1= ruleSoundContent
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentAccess().getSoundContentParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_SoundContent_1=ruleSoundContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_SoundContent_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleContent"
+
+
+ // $ANTLR start "entryRuleContentSet"
+ // InternalRBAModel.g:561:1: entryRuleContentSet returns [EObject current=null] : iv_ruleContentSet= ruleContentSet EOF ;
+ public final EObject entryRuleContentSet() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleContentSet = null;
+
+
+ try {
+ // InternalRBAModel.g:561:51: (iv_ruleContentSet= ruleContentSet EOF )
+ // InternalRBAModel.g:562:2: iv_ruleContentSet= ruleContentSet EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getContentSetRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleContentSet=ruleContentSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleContentSet;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleContentSet"
+
+
+ // $ANTLR start "ruleContentSet"
+ // InternalRBAModel.g:568:1: ruleContentSet returns [EObject current=null] : (this_ViewContentSet_0= ruleViewContentSet | this_SoundContentSet_1= ruleSoundContentSet ) ;
+ public final EObject ruleContentSet() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_ViewContentSet_0 = null;
+
+ EObject this_SoundContentSet_1 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:574:2: ( (this_ViewContentSet_0= ruleViewContentSet | this_SoundContentSet_1= ruleSoundContentSet ) )
+ // InternalRBAModel.g:575:2: (this_ViewContentSet_0= ruleViewContentSet | this_SoundContentSet_1= ruleSoundContentSet )
+ {
+ // InternalRBAModel.g:575:2: (this_ViewContentSet_0= ruleViewContentSet | this_SoundContentSet_1= ruleSoundContentSet )
+ int alt13=2;
+ int LA13_0 = input.LA(1);
+
+ if ( (LA13_0==135) ) {
+ alt13=1;
+ }
+ else if ( (LA13_0==136) ) {
+ alt13=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 13, 0, input);
+
+ throw nvae;
+ }
+ switch (alt13) {
+ case 1 :
+ // InternalRBAModel.g:576:3: this_ViewContentSet_0= ruleViewContentSet
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentSetAccess().getViewContentSetParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_ViewContentSet_0=ruleViewContentSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_ViewContentSet_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:585:3: this_SoundContentSet_1= ruleSoundContentSet
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentSetAccess().getSoundContentSetParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_SoundContentSet_1=ruleSoundContentSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_SoundContentSet_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleContentSet"
+
+
+ // $ANTLR start "entryRuleAbstractScene"
+ // InternalRBAModel.g:597:1: entryRuleAbstractScene returns [EObject current=null] : iv_ruleAbstractScene= ruleAbstractScene EOF ;
+ public final EObject entryRuleAbstractScene() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleAbstractScene = null;
+
+
+ try {
+ // InternalRBAModel.g:597:54: (iv_ruleAbstractScene= ruleAbstractScene EOF )
+ // InternalRBAModel.g:598:2: iv_ruleAbstractScene= ruleAbstractScene EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAbstractSceneRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleAbstractScene=ruleAbstractScene();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleAbstractScene;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleAbstractScene"
+
+
+ // $ANTLR start "ruleAbstractScene"
+ // InternalRBAModel.g:604:1: ruleAbstractScene returns [EObject current=null] : this_Scene_0= ruleScene ;
+ public final EObject ruleAbstractScene() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_Scene_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:610:2: (this_Scene_0= ruleScene )
+ // InternalRBAModel.g:611:2: this_Scene_0= ruleScene
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAbstractSceneAccess().getSceneParserRuleCall());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_Scene_0=ruleScene();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_Scene_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleAbstractScene"
+
+
+ // $ANTLR start "entryRuleAbstractProperty"
+ // InternalRBAModel.g:622:1: entryRuleAbstractProperty returns [EObject current=null] : iv_ruleAbstractProperty= ruleAbstractProperty EOF ;
+ public final EObject entryRuleAbstractProperty() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleAbstractProperty = null;
+
+
+ try {
+ // InternalRBAModel.g:622:57: (iv_ruleAbstractProperty= ruleAbstractProperty EOF )
+ // InternalRBAModel.g:623:2: iv_ruleAbstractProperty= ruleAbstractProperty EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAbstractPropertyRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleAbstractProperty=ruleAbstractProperty();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleAbstractProperty;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleAbstractProperty"
+
+
+ // $ANTLR start "ruleAbstractProperty"
+ // InternalRBAModel.g:629:1: ruleAbstractProperty returns [EObject current=null] : ( ( () otherlv_1= 'int' ) ( (lv_name_2_0= ruleValidID ) ) (otherlv_3= ':' ( (lv_value_4_0= ruleIntegerValue ) ) )? ) ;
+ public final EObject ruleAbstractProperty() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ EObject lv_value_4_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:635:2: ( ( ( () otherlv_1= 'int' ) ( (lv_name_2_0= ruleValidID ) ) (otherlv_3= ':' ( (lv_value_4_0= ruleIntegerValue ) ) )? ) )
+ // InternalRBAModel.g:636:2: ( ( () otherlv_1= 'int' ) ( (lv_name_2_0= ruleValidID ) ) (otherlv_3= ':' ( (lv_value_4_0= ruleIntegerValue ) ) )? )
+ {
+ // InternalRBAModel.g:636:2: ( ( () otherlv_1= 'int' ) ( (lv_name_2_0= ruleValidID ) ) (otherlv_3= ':' ( (lv_value_4_0= ruleIntegerValue ) ) )? )
+ // InternalRBAModel.g:637:3: ( () otherlv_1= 'int' ) ( (lv_name_2_0= ruleValidID ) ) (otherlv_3= ':' ( (lv_value_4_0= ruleIntegerValue ) ) )?
+ {
+ // InternalRBAModel.g:637:3: ( () otherlv_1= 'int' )
+ // InternalRBAModel.g:638:4: () otherlv_1= 'int'
+ {
+ // InternalRBAModel.g:638:4: ()
+ // InternalRBAModel.g:639:5:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getAbstractPropertyAccess().getIntegerPropertyAction_0_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,20,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getAbstractPropertyAccess().getIntKeyword_0_1());
+
+ }
+
+ }
+
+ // InternalRBAModel.g:650:3: ( (lv_name_2_0= ruleValidID ) )
+ // InternalRBAModel.g:651:4: (lv_name_2_0= ruleValidID )
+ {
+ // InternalRBAModel.g:651:4: (lv_name_2_0= ruleValidID )
+ // InternalRBAModel.g:652:5: lv_name_2_0= ruleValidID
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAbstractPropertyAccess().getNameValidIDParserRuleCall_1_0());
+
+ }
+ pushFollow(FOLLOW_7);
+ lv_name_2_0=ruleValidID();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAbstractPropertyRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.ValidID");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:669:3: (otherlv_3= ':' ( (lv_value_4_0= ruleIntegerValue ) ) )?
+ int alt14=2;
+ int LA14_0 = input.LA(1);
+
+ if ( (LA14_0==21) ) {
+ alt14=1;
+ }
+ switch (alt14) {
+ case 1 :
+ // InternalRBAModel.g:670:4: otherlv_3= ':' ( (lv_value_4_0= ruleIntegerValue ) )
+ {
+ otherlv_3=(Token)match(input,21,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getAbstractPropertyAccess().getColonKeyword_2_0());
+
+ }
+ // InternalRBAModel.g:674:4: ( (lv_value_4_0= ruleIntegerValue ) )
+ // InternalRBAModel.g:675:5: (lv_value_4_0= ruleIntegerValue )
+ {
+ // InternalRBAModel.g:675:5: (lv_value_4_0= ruleIntegerValue )
+ // InternalRBAModel.g:676:6: lv_value_4_0= ruleIntegerValue
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAbstractPropertyAccess().getValueIntegerValueParserRuleCall_2_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_value_4_0=ruleIntegerValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAbstractPropertyRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_4_0,
+ "rba.tool.editor.RBAModel.IntegerValue");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleAbstractProperty"
+
+
+ // $ANTLR start "entryRuleLayoutManager"
+ // InternalRBAModel.g:698:1: entryRuleLayoutManager returns [EObject current=null] : iv_ruleLayoutManager= ruleLayoutManager EOF ;
+ public final EObject entryRuleLayoutManager() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleLayoutManager = null;
+
+
+ try {
+ // InternalRBAModel.g:698:54: (iv_ruleLayoutManager= ruleLayoutManager EOF )
+ // InternalRBAModel.g:699:2: iv_ruleLayoutManager= ruleLayoutManager EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getLayoutManagerRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleLayoutManager=ruleLayoutManager();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleLayoutManager;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleLayoutManager"
+
+
+ // $ANTLR start "ruleLayoutManager"
+ // InternalRBAModel.g:705:1: ruleLayoutManager returns [EObject current=null] : (this_AlignedLayout_0= ruleAlignedLayout | this_FixedPositionLayout_1= ruleFixedPositionLayout ) ;
+ public final EObject ruleLayoutManager() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_AlignedLayout_0 = null;
+
+ EObject this_FixedPositionLayout_1 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:711:2: ( (this_AlignedLayout_0= ruleAlignedLayout | this_FixedPositionLayout_1= ruleFixedPositionLayout ) )
+ // InternalRBAModel.g:712:2: (this_AlignedLayout_0= ruleAlignedLayout | this_FixedPositionLayout_1= ruleFixedPositionLayout )
+ {
+ // InternalRBAModel.g:712:2: (this_AlignedLayout_0= ruleAlignedLayout | this_FixedPositionLayout_1= ruleFixedPositionLayout )
+ int alt15=2;
+ int LA15_0 = input.LA(1);
+
+ if ( (LA15_0==139||LA15_0==142) ) {
+ alt15=1;
+ }
+ else if ( (LA15_0==143) ) {
+ alt15=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 15, 0, input);
+
+ throw nvae;
+ }
+ switch (alt15) {
+ case 1 :
+ // InternalRBAModel.g:713:3: this_AlignedLayout_0= ruleAlignedLayout
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getLayoutManagerAccess().getAlignedLayoutParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_AlignedLayout_0=ruleAlignedLayout();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_AlignedLayout_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:722:3: this_FixedPositionLayout_1= ruleFixedPositionLayout
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getLayoutManagerAccess().getFixedPositionLayoutParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_FixedPositionLayout_1=ruleFixedPositionLayout();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_FixedPositionLayout_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleLayoutManager"
+
+
+ // $ANTLR start "entryRuleAlignedLayout"
+ // InternalRBAModel.g:734:1: entryRuleAlignedLayout returns [EObject current=null] : iv_ruleAlignedLayout= ruleAlignedLayout EOF ;
+ public final EObject entryRuleAlignedLayout() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleAlignedLayout = null;
+
+
+ try {
+ // InternalRBAModel.g:734:54: (iv_ruleAlignedLayout= ruleAlignedLayout EOF )
+ // InternalRBAModel.g:735:2: iv_ruleAlignedLayout= ruleAlignedLayout EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAlignedLayoutRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleAlignedLayout=ruleAlignedLayout();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleAlignedLayout;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleAlignedLayout"
+
+
+ // $ANTLR start "ruleAlignedLayout"
+ // InternalRBAModel.g:741:1: ruleAlignedLayout returns [EObject current=null] : (this_VerticalLayout_0= ruleVerticalLayout | this_HorizontalLayout_1= ruleHorizontalLayout ) ;
+ public final EObject ruleAlignedLayout() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_VerticalLayout_0 = null;
+
+ EObject this_HorizontalLayout_1 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:747:2: ( (this_VerticalLayout_0= ruleVerticalLayout | this_HorizontalLayout_1= ruleHorizontalLayout ) )
+ // InternalRBAModel.g:748:2: (this_VerticalLayout_0= ruleVerticalLayout | this_HorizontalLayout_1= ruleHorizontalLayout )
+ {
+ // InternalRBAModel.g:748:2: (this_VerticalLayout_0= ruleVerticalLayout | this_HorizontalLayout_1= ruleHorizontalLayout )
+ int alt16=2;
+ int LA16_0 = input.LA(1);
+
+ if ( (LA16_0==139) ) {
+ alt16=1;
+ }
+ else if ( (LA16_0==142) ) {
+ alt16=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 16, 0, input);
+
+ throw nvae;
+ }
+ switch (alt16) {
+ case 1 :
+ // InternalRBAModel.g:749:3: this_VerticalLayout_0= ruleVerticalLayout
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAlignedLayoutAccess().getVerticalLayoutParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_VerticalLayout_0=ruleVerticalLayout();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_VerticalLayout_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:758:3: this_HorizontalLayout_1= ruleHorizontalLayout
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAlignedLayoutAccess().getHorizontalLayoutParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_HorizontalLayout_1=ruleHorizontalLayout();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_HorizontalLayout_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleAlignedLayout"
+
+
+ // $ANTLR start "entryRuleTag"
+ // InternalRBAModel.g:770:1: entryRuleTag returns [EObject current=null] : iv_ruleTag= ruleTag EOF ;
+ public final EObject entryRuleTag() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleTag = null;
+
+
+ try {
+ // InternalRBAModel.g:770:44: (iv_ruleTag= ruleTag EOF )
+ // InternalRBAModel.g:771:2: iv_ruleTag= ruleTag EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getTagRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleTag=ruleTag();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleTag;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleTag"
+
+
+ // $ANTLR start "ruleTag"
+ // InternalRBAModel.g:777:1: ruleTag returns [EObject current=null] : ( ( ( ( ( () '<<' ( ( ruleQualifiedName ) ) '>>' ) | ( () '\\u00AB' ( ( ruleQualifiedName ) ) '\\u00BB' ) ) )=> ( ( () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>' ) | ( () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB' ) ) ) (otherlv_8= '{' ( ( (lv_values_9_0= ruleEString ) ) (otherlv_10= ',' ( (lv_values_11_0= ruleEString ) ) )* )? otherlv_12= '}' )? ) ;
+ public final EObject ruleTag() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_12=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_name_6_0 = null;
+
+ AntlrDatatypeRuleToken lv_values_9_0 = null;
+
+ AntlrDatatypeRuleToken lv_values_11_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:783:2: ( ( ( ( ( ( () '<<' ( ( ruleQualifiedName ) ) '>>' ) | ( () '\\u00AB' ( ( ruleQualifiedName ) ) '\\u00BB' ) ) )=> ( ( () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>' ) | ( () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB' ) ) ) (otherlv_8= '{' ( ( (lv_values_9_0= ruleEString ) ) (otherlv_10= ',' ( (lv_values_11_0= ruleEString ) ) )* )? otherlv_12= '}' )? ) )
+ // InternalRBAModel.g:784:2: ( ( ( ( ( () '<<' ( ( ruleQualifiedName ) ) '>>' ) | ( () '\\u00AB' ( ( ruleQualifiedName ) ) '\\u00BB' ) ) )=> ( ( () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>' ) | ( () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB' ) ) ) (otherlv_8= '{' ( ( (lv_values_9_0= ruleEString ) ) (otherlv_10= ',' ( (lv_values_11_0= ruleEString ) ) )* )? otherlv_12= '}' )? )
+ {
+ // InternalRBAModel.g:784:2: ( ( ( ( ( () '<<' ( ( ruleQualifiedName ) ) '>>' ) | ( () '\\u00AB' ( ( ruleQualifiedName ) ) '\\u00BB' ) ) )=> ( ( () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>' ) | ( () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB' ) ) ) (otherlv_8= '{' ( ( (lv_values_9_0= ruleEString ) ) (otherlv_10= ',' ( (lv_values_11_0= ruleEString ) ) )* )? otherlv_12= '}' )? )
+ // InternalRBAModel.g:785:3: ( ( ( ( () '<<' ( ( ruleQualifiedName ) ) '>>' ) | ( () '\\u00AB' ( ( ruleQualifiedName ) ) '\\u00BB' ) ) )=> ( ( () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>' ) | ( () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB' ) ) ) (otherlv_8= '{' ( ( (lv_values_9_0= ruleEString ) ) (otherlv_10= ',' ( (lv_values_11_0= ruleEString ) ) )* )? otherlv_12= '}' )?
+ {
+ // InternalRBAModel.g:785:3: ( ( ( ( () '<<' ( ( ruleQualifiedName ) ) '>>' ) | ( () '\\u00AB' ( ( ruleQualifiedName ) ) '\\u00BB' ) ) )=> ( ( () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>' ) | ( () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB' ) ) )
+ // InternalRBAModel.g:786:4: ( ( ( () '<<' ( ( ruleQualifiedName ) ) '>>' ) | ( () '\\u00AB' ( ( ruleQualifiedName ) ) '\\u00BB' ) ) )=> ( ( () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>' ) | ( () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB' ) )
+ {
+ // InternalRBAModel.g:812:4: ( ( () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>' ) | ( () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB' ) )
+ int alt17=2;
+ int LA17_0 = input.LA(1);
+
+ if ( (LA17_0==22) ) {
+ alt17=1;
+ }
+ else if ( (LA17_0==24) ) {
+ alt17=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 17, 0, input);
+
+ throw nvae;
+ }
+ switch (alt17) {
+ case 1 :
+ // InternalRBAModel.g:813:5: ( () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>' )
+ {
+ // InternalRBAModel.g:813:5: ( () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>' )
+ // InternalRBAModel.g:814:6: () otherlv_1= '<<' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '>>'
+ {
+ // InternalRBAModel.g:814:6: ()
+ // InternalRBAModel.g:815:7:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getTagAccess().getTagAction_0_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,22,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getTagAccess().getLessThanSignLessThanSignKeyword_0_0_0_1());
+
+ }
+ // InternalRBAModel.g:825:6: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:826:7: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:826:7: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:827:8: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getTagAccess().getNameQualifiedNameParserRuleCall_0_0_0_2_0());
+
+ }
+ pushFollow(FOLLOW_9);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getTagRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,23,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getTagAccess().getGreaterThanSignGreaterThanSignKeyword_0_0_0_3());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:850:5: ( () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB' )
+ {
+ // InternalRBAModel.g:850:5: ( () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB' )
+ // InternalRBAModel.g:851:6: () otherlv_5= '\\u00AB' ( (lv_name_6_0= ruleQualifiedName ) ) otherlv_7= '\\u00BB'
+ {
+ // InternalRBAModel.g:851:6: ()
+ // InternalRBAModel.g:852:7:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getTagAccess().getCTagAction_0_0_1_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_5=(Token)match(input,24,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getTagAccess().getLeftPointingDoubleAngleQuotationMarkKeyword_0_0_1_1());
+
+ }
+ // InternalRBAModel.g:862:6: ( (lv_name_6_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:863:7: (lv_name_6_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:863:7: (lv_name_6_0= ruleQualifiedName )
+ // InternalRBAModel.g:864:8: lv_name_6_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getTagAccess().getNameQualifiedNameParserRuleCall_0_0_1_2_0());
+
+ }
+ pushFollow(FOLLOW_11);
+ lv_name_6_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getTagRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_6_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_7=(Token)match(input,25,FOLLOW_10); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getTagAccess().getRightPointingDoubleAngleQuotationMarkKeyword_0_0_1_3());
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:888:3: (otherlv_8= '{' ( ( (lv_values_9_0= ruleEString ) ) (otherlv_10= ',' ( (lv_values_11_0= ruleEString ) ) )* )? otherlv_12= '}' )?
+ int alt20=2;
+ int LA20_0 = input.LA(1);
+
+ if ( (LA20_0==26) ) {
+ alt20=1;
+ }
+ switch (alt20) {
+ case 1 :
+ // InternalRBAModel.g:889:4: otherlv_8= '{' ( ( (lv_values_9_0= ruleEString ) ) (otherlv_10= ',' ( (lv_values_11_0= ruleEString ) ) )* )? otherlv_12= '}'
+ {
+ otherlv_8=(Token)match(input,26,FOLLOW_12); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getTagAccess().getLeftCurlyBracketKeyword_1_0());
+
+ }
+ // InternalRBAModel.g:893:4: ( ( (lv_values_9_0= ruleEString ) ) (otherlv_10= ',' ( (lv_values_11_0= ruleEString ) ) )* )?
+ int alt19=2;
+ int LA19_0 = input.LA(1);
+
+ if ( (LA19_0==RULE_STRING) ) {
+ alt19=1;
+ }
+ switch (alt19) {
+ case 1 :
+ // InternalRBAModel.g:894:5: ( (lv_values_9_0= ruleEString ) ) (otherlv_10= ',' ( (lv_values_11_0= ruleEString ) ) )*
+ {
+ // InternalRBAModel.g:894:5: ( (lv_values_9_0= ruleEString ) )
+ // InternalRBAModel.g:895:6: (lv_values_9_0= ruleEString )
+ {
+ // InternalRBAModel.g:895:6: (lv_values_9_0= ruleEString )
+ // InternalRBAModel.g:896:7: lv_values_9_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getTagAccess().getValuesEStringParserRuleCall_1_1_0_0());
+
+ }
+ pushFollow(FOLLOW_13);
+ lv_values_9_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getTagRule());
+ }
+ add(
+ current,
+ "values",
+ lv_values_9_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:913:5: (otherlv_10= ',' ( (lv_values_11_0= ruleEString ) ) )*
+ loop18:
+ do {
+ int alt18=2;
+ int LA18_0 = input.LA(1);
+
+ if ( (LA18_0==27) ) {
+ alt18=1;
+ }
+
+
+ switch (alt18) {
+ case 1 :
+ // InternalRBAModel.g:914:6: otherlv_10= ',' ( (lv_values_11_0= ruleEString ) )
+ {
+ otherlv_10=(Token)match(input,27,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getTagAccess().getCommaKeyword_1_1_1_0());
+
+ }
+ // InternalRBAModel.g:918:6: ( (lv_values_11_0= ruleEString ) )
+ // InternalRBAModel.g:919:7: (lv_values_11_0= ruleEString )
+ {
+ // InternalRBAModel.g:919:7: (lv_values_11_0= ruleEString )
+ // InternalRBAModel.g:920:8: lv_values_11_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getTagAccess().getValuesEStringParserRuleCall_1_1_1_1_0());
+
+ }
+ pushFollow(FOLLOW_13);
+ lv_values_11_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getTagRule());
+ }
+ add(
+ current,
+ "values",
+ lv_values_11_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop18;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_12=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_12, grammarAccess.getTagAccess().getRightCurlyBracketKeyword_1_2());
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleTag"
+
+
+ // $ANTLR start "entryRulePackage"
+ // InternalRBAModel.g:948:1: entryRulePackage returns [EObject current=null] : iv_rulePackage= rulePackage EOF ;
+ public final EObject entryRulePackage() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_rulePackage = null;
+
+
+ try {
+ // InternalRBAModel.g:948:48: (iv_rulePackage= rulePackage EOF )
+ // InternalRBAModel.g:949:2: iv_rulePackage= rulePackage EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPackageRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_rulePackage=rulePackage();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePackage;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRulePackage"
+
+
+ // $ANTLR start "rulePackage"
+ // InternalRBAModel.g:955:1: rulePackage returns [EObject current=null] : ( () otherlv_1= 'Package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )* ) ) ) otherlv_8= '}' ) ;
+ public final EObject rulePackage() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_8=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ EObject lv_packagableelement_7_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:961:2: ( ( () otherlv_1= 'Package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )* ) ) ) otherlv_8= '}' ) )
+ // InternalRBAModel.g:962:2: ( () otherlv_1= 'Package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )* ) ) ) otherlv_8= '}' )
+ {
+ // InternalRBAModel.g:962:2: ( () otherlv_1= 'Package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )* ) ) ) otherlv_8= '}' )
+ // InternalRBAModel.g:963:3: () otherlv_1= 'Package' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )* ) ) ) otherlv_8= '}'
+ {
+ // InternalRBAModel.g:963:3: ()
+ // InternalRBAModel.g:964:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getPackageAccess().getPackageAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,29,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getPackageAccess().getPackageKeyword_1());
+
+ }
+ // InternalRBAModel.g:974:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:975:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:975:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:976:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPackageAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPackageRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_16); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getPackageAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:997:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )* ) ) )
+ // InternalRBAModel.g:998:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )* ) )
+ {
+ // InternalRBAModel.g:998:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )* ) )
+ // InternalRBAModel.g:999:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getPackageAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:1002:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )* )
+ // InternalRBAModel.g:1003:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )*
+ {
+ // InternalRBAModel.g:1003:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) ) )*
+ loop22:
+ do {
+ int alt22=3;
+ int LA22_0 = input.LA(1);
+
+ if ( LA22_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 0) ) {
+ alt22=1;
+ }
+ else if ( ( LA22_0 == 29 || LA22_0 == 31 || LA22_0 >= 36 && LA22_0 <= 41 || LA22_0 == 47 || LA22_0 == 54 || LA22_0 == 56 || LA22_0 >= 135 && LA22_0 <= 137 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 1) ) {
+ alt22=2;
+ }
+
+
+ switch (alt22) {
+ case 1 :
+ // InternalRBAModel.g:1004:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:1004:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:1005:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePackage", "getUnorderedGroupHelper().canSelect(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:1005:104: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:1006:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:1009:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:1009:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePackage", "true");
+ }
+ // InternalRBAModel.g:1009:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:1009:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getPackageAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:1013:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:1014:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:1014:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:1015:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPackageAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_16);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPackageRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPackageAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:1038:4: ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) )
+ {
+ // InternalRBAModel.g:1038:4: ({...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ ) )
+ // InternalRBAModel.g:1039:5: {...}? => ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePackage", "getUnorderedGroupHelper().canSelect(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:1039:104: ( ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+ )
+ // InternalRBAModel.g:1040:6: ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPackageAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:1043:9: ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+
+ int cnt21=0;
+ loop21:
+ do {
+ int alt21=2;
+ alt21 = dfa21.predict(input);
+ switch (alt21) {
+ case 1 :
+ // InternalRBAModel.g:1043:10: {...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePackage", "true");
+ }
+ // InternalRBAModel.g:1043:19: ( (lv_packagableelement_7_0= rulePackagableElement ) )
+ // InternalRBAModel.g:1043:20: (lv_packagableelement_7_0= rulePackagableElement )
+ {
+ // InternalRBAModel.g:1043:20: (lv_packagableelement_7_0= rulePackagableElement )
+ // InternalRBAModel.g:1044:10: lv_packagableelement_7_0= rulePackagableElement
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPackageAccess().getPackagableelementPackagableElementParserRuleCall_4_1_0());
+
+ }
+ pushFollow(FOLLOW_16);
+ lv_packagableelement_7_0=rulePackagableElement();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPackageRule());
+ }
+ add(
+ current,
+ "packagableelement",
+ lv_packagableelement_7_0,
+ "rba.tool.editor.RBAModel.PackagableElement");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt21 >= 1 ) break loop21;
+ if (state.backtracking>0) {state.failed=true; return current;}
+ EarlyExitException eee =
+ new EarlyExitException(21, input);
+ throw eee;
+ }
+ cnt21++;
+ } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPackageAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop22;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getPackageAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_8=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getPackageAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "rulePackage"
+
+
+ // $ANTLR start "entryRuleStereotype"
+ // InternalRBAModel.g:1081:1: entryRuleStereotype returns [EObject current=null] : iv_ruleStereotype= ruleStereotype EOF ;
+ public final EObject entryRuleStereotype() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleStereotype = null;
+
+
+ try {
+ // InternalRBAModel.g:1081:51: (iv_ruleStereotype= ruleStereotype EOF )
+ // InternalRBAModel.g:1082:2: iv_ruleStereotype= ruleStereotype EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getStereotypeRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleStereotype=ruleStereotype();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleStereotype;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleStereotype"
+
+
+ // $ANTLR start "ruleStereotype"
+ // InternalRBAModel.g:1088:1: ruleStereotype returns [EObject current=null] : ( () otherlv_1= 'Stereotype' otherlv_2= '<' ( (lv_targetModelName_3_0= ruleStereotypableElementName ) ) otherlv_4= '>' ( (lv_name_5_0= ruleQualifiedName ) ) otherlv_6= '(' ( ( (lv_variables_7_0= ruleVariable ) ) (otherlv_8= ',' ( (lv_variables_9_0= ruleVariable ) ) )* )? otherlv_10= ')' ( (lv_bodyText_11_0= ruleRichString ) )? ) ;
+ public final EObject ruleStereotype() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ AntlrDatatypeRuleToken lv_targetModelName_3_0 = null;
+
+ AntlrDatatypeRuleToken lv_name_5_0 = null;
+
+ EObject lv_variables_7_0 = null;
+
+ EObject lv_variables_9_0 = null;
+
+ AntlrDatatypeRuleToken lv_bodyText_11_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:1094:2: ( ( () otherlv_1= 'Stereotype' otherlv_2= '<' ( (lv_targetModelName_3_0= ruleStereotypableElementName ) ) otherlv_4= '>' ( (lv_name_5_0= ruleQualifiedName ) ) otherlv_6= '(' ( ( (lv_variables_7_0= ruleVariable ) ) (otherlv_8= ',' ( (lv_variables_9_0= ruleVariable ) ) )* )? otherlv_10= ')' ( (lv_bodyText_11_0= ruleRichString ) )? ) )
+ // InternalRBAModel.g:1095:2: ( () otherlv_1= 'Stereotype' otherlv_2= '<' ( (lv_targetModelName_3_0= ruleStereotypableElementName ) ) otherlv_4= '>' ( (lv_name_5_0= ruleQualifiedName ) ) otherlv_6= '(' ( ( (lv_variables_7_0= ruleVariable ) ) (otherlv_8= ',' ( (lv_variables_9_0= ruleVariable ) ) )* )? otherlv_10= ')' ( (lv_bodyText_11_0= ruleRichString ) )? )
+ {
+ // InternalRBAModel.g:1095:2: ( () otherlv_1= 'Stereotype' otherlv_2= '<' ( (lv_targetModelName_3_0= ruleStereotypableElementName ) ) otherlv_4= '>' ( (lv_name_5_0= ruleQualifiedName ) ) otherlv_6= '(' ( ( (lv_variables_7_0= ruleVariable ) ) (otherlv_8= ',' ( (lv_variables_9_0= ruleVariable ) ) )* )? otherlv_10= ')' ( (lv_bodyText_11_0= ruleRichString ) )? )
+ // InternalRBAModel.g:1096:3: () otherlv_1= 'Stereotype' otherlv_2= '<' ( (lv_targetModelName_3_0= ruleStereotypableElementName ) ) otherlv_4= '>' ( (lv_name_5_0= ruleQualifiedName ) ) otherlv_6= '(' ( ( (lv_variables_7_0= ruleVariable ) ) (otherlv_8= ',' ( (lv_variables_9_0= ruleVariable ) ) )* )? otherlv_10= ')' ( (lv_bodyText_11_0= ruleRichString ) )?
+ {
+ // InternalRBAModel.g:1096:3: ()
+ // InternalRBAModel.g:1097:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getStereotypeAccess().getStereotypeAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,31,FOLLOW_17); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getStereotypeAccess().getStereotypeKeyword_1());
+
+ }
+ otherlv_2=(Token)match(input,32,FOLLOW_18); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getStereotypeAccess().getLessThanSignKeyword_2());
+
+ }
+ // InternalRBAModel.g:1111:3: ( (lv_targetModelName_3_0= ruleStereotypableElementName ) )
+ // InternalRBAModel.g:1112:4: (lv_targetModelName_3_0= ruleStereotypableElementName )
+ {
+ // InternalRBAModel.g:1112:4: (lv_targetModelName_3_0= ruleStereotypableElementName )
+ // InternalRBAModel.g:1113:5: lv_targetModelName_3_0= ruleStereotypableElementName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getStereotypeAccess().getTargetModelNameStereotypableElementNameParserRuleCall_3_0());
+
+ }
+ pushFollow(FOLLOW_19);
+ lv_targetModelName_3_0=ruleStereotypableElementName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getStereotypeRule());
+ }
+ set(
+ current,
+ "targetModelName",
+ lv_targetModelName_3_0,
+ "rba.tool.editor.RBAModel.StereotypableElementName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_4=(Token)match(input,33,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getStereotypeAccess().getGreaterThanSignKeyword_4());
+
+ }
+ // InternalRBAModel.g:1134:3: ( (lv_name_5_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:1135:4: (lv_name_5_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:1135:4: (lv_name_5_0= ruleQualifiedName )
+ // InternalRBAModel.g:1136:5: lv_name_5_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getStereotypeAccess().getNameQualifiedNameParserRuleCall_5_0());
+
+ }
+ pushFollow(FOLLOW_20);
+ lv_name_5_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getStereotypeRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_5_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_6=(Token)match(input,34,FOLLOW_21); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getStereotypeAccess().getLeftParenthesisKeyword_6());
+
+ }
+ // InternalRBAModel.g:1157:3: ( ( (lv_variables_7_0= ruleVariable ) ) (otherlv_8= ',' ( (lv_variables_9_0= ruleVariable ) ) )* )?
+ int alt24=2;
+ int LA24_0 = input.LA(1);
+
+ if ( (LA24_0==RULE_ID) ) {
+ alt24=1;
+ }
+ switch (alt24) {
+ case 1 :
+ // InternalRBAModel.g:1158:4: ( (lv_variables_7_0= ruleVariable ) ) (otherlv_8= ',' ( (lv_variables_9_0= ruleVariable ) ) )*
+ {
+ // InternalRBAModel.g:1158:4: ( (lv_variables_7_0= ruleVariable ) )
+ // InternalRBAModel.g:1159:5: (lv_variables_7_0= ruleVariable )
+ {
+ // InternalRBAModel.g:1159:5: (lv_variables_7_0= ruleVariable )
+ // InternalRBAModel.g:1160:6: lv_variables_7_0= ruleVariable
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getStereotypeAccess().getVariablesVariableParserRuleCall_7_0_0());
+
+ }
+ pushFollow(FOLLOW_22);
+ lv_variables_7_0=ruleVariable();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getStereotypeRule());
+ }
+ add(
+ current,
+ "variables",
+ lv_variables_7_0,
+ "rba.tool.editor.RBAModel.Variable");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:1177:4: (otherlv_8= ',' ( (lv_variables_9_0= ruleVariable ) ) )*
+ loop23:
+ do {
+ int alt23=2;
+ int LA23_0 = input.LA(1);
+
+ if ( (LA23_0==27) ) {
+ alt23=1;
+ }
+
+
+ switch (alt23) {
+ case 1 :
+ // InternalRBAModel.g:1178:5: otherlv_8= ',' ( (lv_variables_9_0= ruleVariable ) )
+ {
+ otherlv_8=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getStereotypeAccess().getCommaKeyword_7_1_0());
+
+ }
+ // InternalRBAModel.g:1182:5: ( (lv_variables_9_0= ruleVariable ) )
+ // InternalRBAModel.g:1183:6: (lv_variables_9_0= ruleVariable )
+ {
+ // InternalRBAModel.g:1183:6: (lv_variables_9_0= ruleVariable )
+ // InternalRBAModel.g:1184:7: lv_variables_9_0= ruleVariable
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getStereotypeAccess().getVariablesVariableParserRuleCall_7_1_1_0());
+
+ }
+ pushFollow(FOLLOW_22);
+ lv_variables_9_0=ruleVariable();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getStereotypeRule());
+ }
+ add(
+ current,
+ "variables",
+ lv_variables_9_0,
+ "rba.tool.editor.RBAModel.Variable");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop23;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_10=(Token)match(input,35,FOLLOW_23); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getStereotypeAccess().getRightParenthesisKeyword_8());
+
+ }
+ // InternalRBAModel.g:1207:3: ( (lv_bodyText_11_0= ruleRichString ) )?
+ int alt25=2;
+ int LA25_0 = input.LA(1);
+
+ if ( (LA25_0==RULE_RICH_STRING) ) {
+ alt25=1;
+ }
+ switch (alt25) {
+ case 1 :
+ // InternalRBAModel.g:1208:4: (lv_bodyText_11_0= ruleRichString )
+ {
+ // InternalRBAModel.g:1208:4: (lv_bodyText_11_0= ruleRichString )
+ // InternalRBAModel.g:1209:5: lv_bodyText_11_0= ruleRichString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getStereotypeAccess().getBodyTextRichStringParserRuleCall_9_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_bodyText_11_0=ruleRichString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getStereotypeRule());
+ }
+ set(
+ current,
+ "bodyText",
+ lv_bodyText_11_0,
+ "rba.tool.editor.RBAModel.RichString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleStereotype"
+
+
+ // $ANTLR start "entryRuleStereotypableElementName"
+ // InternalRBAModel.g:1230:1: entryRuleStereotypableElementName returns [String current=null] : iv_ruleStereotypableElementName= ruleStereotypableElementName EOF ;
+ public final String entryRuleStereotypableElementName() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleStereotypableElementName = null;
+
+
+ try {
+ // InternalRBAModel.g:1230:64: (iv_ruleStereotypableElementName= ruleStereotypableElementName EOF )
+ // InternalRBAModel.g:1231:2: iv_ruleStereotypableElementName= ruleStereotypableElementName EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getStereotypableElementNameRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleStereotypableElementName=ruleStereotypableElementName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleStereotypableElementName.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleStereotypableElementName"
+
+
+ // $ANTLR start "ruleStereotypableElementName"
+ // InternalRBAModel.g:1237:1: ruleStereotypableElementName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'Area' | kw= 'Zone' | kw= 'SoundContent' | kw= 'ViewContent' ) ;
+ public final AntlrDatatypeRuleToken ruleStereotypableElementName() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:1243:2: ( (kw= 'Area' | kw= 'Zone' | kw= 'SoundContent' | kw= 'ViewContent' ) )
+ // InternalRBAModel.g:1244:2: (kw= 'Area' | kw= 'Zone' | kw= 'SoundContent' | kw= 'ViewContent' )
+ {
+ // InternalRBAModel.g:1244:2: (kw= 'Area' | kw= 'Zone' | kw= 'SoundContent' | kw= 'ViewContent' )
+ int alt26=4;
+ switch ( input.LA(1) ) {
+ case 36:
+ {
+ alt26=1;
+ }
+ break;
+ case 37:
+ {
+ alt26=2;
+ }
+ break;
+ case 38:
+ {
+ alt26=3;
+ }
+ break;
+ case 39:
+ {
+ alt26=4;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 26, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt26) {
+ case 1 :
+ // InternalRBAModel.g:1245:3: kw= 'Area'
+ {
+ kw=(Token)match(input,36,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getStereotypableElementNameAccess().getAreaKeyword_0());
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:1251:3: kw= 'Zone'
+ {
+ kw=(Token)match(input,37,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getStereotypableElementNameAccess().getZoneKeyword_1());
+
+ }
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:1257:3: kw= 'SoundContent'
+ {
+ kw=(Token)match(input,38,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getStereotypableElementNameAccess().getSoundContentKeyword_2());
+
+ }
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:1263:3: kw= 'ViewContent'
+ {
+ kw=(Token)match(input,39,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getStereotypableElementNameAccess().getViewContentKeyword_3());
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleStereotypableElementName"
+
+
+ // $ANTLR start "entryRuleDisplay"
+ // InternalRBAModel.g:1272:1: entryRuleDisplay returns [EObject current=null] : iv_ruleDisplay= ruleDisplay EOF ;
+ public final EObject entryRuleDisplay() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleDisplay = null;
+
+
+ try {
+ // InternalRBAModel.g:1272:48: (iv_ruleDisplay= ruleDisplay EOF )
+ // InternalRBAModel.g:1273:2: iv_ruleDisplay= ruleDisplay EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getDisplayRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleDisplay=ruleDisplay();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleDisplay;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleDisplay"
+
+
+ // $ANTLR start "ruleDisplay"
+ // InternalRBAModel.g:1279:1: ruleDisplay returns [EObject current=null] : ( () otherlv_1= 'Display' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )* ) ) ) otherlv_9= '}' ) ;
+ public final EObject ruleDisplay() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_9=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ EObject lv_size_7_0 = null;
+
+ EObject lv_root_8_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:1285:2: ( ( () otherlv_1= 'Display' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )* ) ) ) otherlv_9= '}' ) )
+ // InternalRBAModel.g:1286:2: ( () otherlv_1= 'Display' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )* ) ) ) otherlv_9= '}' )
+ {
+ // InternalRBAModel.g:1286:2: ( () otherlv_1= 'Display' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )* ) ) ) otherlv_9= '}' )
+ // InternalRBAModel.g:1287:3: () otherlv_1= 'Display' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )* ) ) ) otherlv_9= '}'
+ {
+ // InternalRBAModel.g:1287:3: ()
+ // InternalRBAModel.g:1288:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getDisplayAccess().getDisplayAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,40,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getDisplayAccess().getDisplayKeyword_1());
+
+ }
+ // InternalRBAModel.g:1298:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:1299:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:1299:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:1300:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getDisplayAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getDisplayRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_24); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getDisplayAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:1321:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:1322:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:1322:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )* ) )
+ // InternalRBAModel.g:1323:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getDisplayAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:1326:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )* )
+ // InternalRBAModel.g:1327:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )*
+ {
+ // InternalRBAModel.g:1327:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) ) )*
+ loop27:
+ do {
+ int alt27=4;
+ int LA27_0 = input.LA(1);
+
+ if ( LA27_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 0) ) {
+ alt27=1;
+ }
+ else if ( ( LA27_0 == 47 || LA27_0 == 50 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 1) ) {
+ alt27=2;
+ }
+ else if ( LA27_0 == 57 && getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 2) ) {
+ alt27=3;
+ }
+
+
+ switch (alt27) {
+ case 1 :
+ // InternalRBAModel.g:1328:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:1328:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:1329:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleDisplay", "getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:1329:104: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:1330:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:1333:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:1333:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleDisplay", "true");
+ }
+ // InternalRBAModel.g:1333:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:1333:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getDisplayAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:1337:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:1338:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:1338:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:1339:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getDisplayAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_24);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getDisplayRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDisplayAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:1362:4: ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) )
+ {
+ // InternalRBAModel.g:1362:4: ({...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) ) )
+ // InternalRBAModel.g:1363:5: {...}? => ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleDisplay", "getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:1363:104: ( ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) ) )
+ // InternalRBAModel.g:1364:6: ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:1367:9: ({...}? => ( (lv_size_7_0= ruleSizeIdentifier ) ) )
+ // InternalRBAModel.g:1367:10: {...}? => ( (lv_size_7_0= ruleSizeIdentifier ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleDisplay", "true");
+ }
+ // InternalRBAModel.g:1367:19: ( (lv_size_7_0= ruleSizeIdentifier ) )
+ // InternalRBAModel.g:1367:20: (lv_size_7_0= ruleSizeIdentifier )
+ {
+ // InternalRBAModel.g:1367:20: (lv_size_7_0= ruleSizeIdentifier )
+ // InternalRBAModel.g:1368:10: lv_size_7_0= ruleSizeIdentifier
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getDisplayAccess().getSizeSizeIdentifierParserRuleCall_4_1_0());
+
+ }
+ pushFollow(FOLLOW_24);
+ lv_size_7_0=ruleSizeIdentifier();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getDisplayRule());
+ }
+ set(
+ current,
+ "size",
+ lv_size_7_0,
+ "rba.tool.editor.RBAModel.SizeIdentifier");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDisplayAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:1390:4: ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) )
+ {
+ // InternalRBAModel.g:1390:4: ({...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) ) )
+ // InternalRBAModel.g:1391:5: {...}? => ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleDisplay", "getUnorderedGroupHelper().canSelect(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 2)");
+ }
+ // InternalRBAModel.g:1391:104: ( ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) ) )
+ // InternalRBAModel.g:1392:6: ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getDisplayAccess().getUnorderedGroup_4(), 2);
+ // InternalRBAModel.g:1395:9: ({...}? => ( (lv_root_8_0= ruleCompositeArea ) ) )
+ // InternalRBAModel.g:1395:10: {...}? => ( (lv_root_8_0= ruleCompositeArea ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleDisplay", "true");
+ }
+ // InternalRBAModel.g:1395:19: ( (lv_root_8_0= ruleCompositeArea ) )
+ // InternalRBAModel.g:1395:20: (lv_root_8_0= ruleCompositeArea )
+ {
+ // InternalRBAModel.g:1395:20: (lv_root_8_0= ruleCompositeArea )
+ // InternalRBAModel.g:1396:10: lv_root_8_0= ruleCompositeArea
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getDisplayAccess().getRootCompositeAreaParserRuleCall_4_2_0());
+
+ }
+ pushFollow(FOLLOW_24);
+ lv_root_8_0=ruleCompositeArea();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getDisplayRule());
+ }
+ set(
+ current,
+ "root",
+ lv_root_8_0,
+ "rba.tool.editor.RBAModel.CompositeArea");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getDisplayAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop27;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getDisplayAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_9=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_9, grammarAccess.getDisplayAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleDisplay"
+
+
+ // $ANTLR start "entryRuleConstraint"
+ // InternalRBAModel.g:1433:1: entryRuleConstraint returns [EObject current=null] : iv_ruleConstraint= ruleConstraint EOF ;
+ public final EObject entryRuleConstraint() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleConstraint = null;
+
+
+ try {
+ // InternalRBAModel.g:1433:51: (iv_ruleConstraint= ruleConstraint EOF )
+ // InternalRBAModel.g:1434:2: iv_ruleConstraint= ruleConstraint EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getConstraintRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleConstraint=ruleConstraint();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleConstraint;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleConstraint"
+
+
+ // $ANTLR start "ruleConstraint"
+ // InternalRBAModel.g:1440:1: ruleConstraint returns [EObject current=null] : ( () otherlv_1= 'Constraint' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )* ) ) ) otherlv_10= '}' ) ;
+ public final EObject ruleConstraint() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_10=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ AntlrDatatypeRuleToken lv_runtime_8_0 = null;
+
+ EObject lv_expression_9_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:1446:2: ( ( () otherlv_1= 'Constraint' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )* ) ) ) otherlv_10= '}' ) )
+ // InternalRBAModel.g:1447:2: ( () otherlv_1= 'Constraint' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )* ) ) ) otherlv_10= '}' )
+ {
+ // InternalRBAModel.g:1447:2: ( () otherlv_1= 'Constraint' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )* ) ) ) otherlv_10= '}' )
+ // InternalRBAModel.g:1448:3: () otherlv_1= 'Constraint' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )* ) ) ) otherlv_10= '}'
+ {
+ // InternalRBAModel.g:1448:3: ()
+ // InternalRBAModel.g:1449:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getConstraintAccess().getConstraintAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,41,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getConstraintAccess().getConstraintKeyword_1());
+
+ }
+ // InternalRBAModel.g:1459:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:1460:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:1460:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:1461:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getConstraintAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_25); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getConstraintAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:1482:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:1483:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:1483:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )* ) )
+ // InternalRBAModel.g:1484:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getConstraintAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:1487:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )* )
+ // InternalRBAModel.g:1488:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )*
+ {
+ // InternalRBAModel.g:1488:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) ) )*
+ loop28:
+ do {
+ int alt28=4;
+ int LA28_0 = input.LA(1);
+
+ if ( LA28_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 0) ) {
+ alt28=1;
+ }
+ else if ( LA28_0 == 42 && getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 1) ) {
+ alt28=2;
+ }
+ else if ( ( LA28_0 == RULE_INT || LA28_0 == RULE_ID || LA28_0 == 26 || LA28_0 == 34 || LA28_0 == 83 || LA28_0 >= 120 && LA28_0 <= 128 || LA28_0 >= 131 && LA28_0 <= 132 || LA28_0 == 134 || LA28_0 == 148 || LA28_0 == 150 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 2) ) {
+ alt28=3;
+ }
+
+
+ switch (alt28) {
+ case 1 :
+ // InternalRBAModel.g:1489:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:1489:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:1490:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleConstraint", "getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:1490:107: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:1491:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:1494:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:1494:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleConstraint", "true");
+ }
+ // InternalRBAModel.g:1494:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:1494:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getConstraintAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:1498:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:1499:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:1499:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:1500:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getConstraintAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_25);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getConstraintAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:1523:4: ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:1523:4: ({...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) ) )
+ // InternalRBAModel.g:1524:5: {...}? => ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleConstraint", "getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:1524:107: ( ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) ) )
+ // InternalRBAModel.g:1525:6: ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:1528:9: ({...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) ) )
+ // InternalRBAModel.g:1528:10: {...}? => (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleConstraint", "true");
+ }
+ // InternalRBAModel.g:1528:19: (otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) ) )
+ // InternalRBAModel.g:1528:20: otherlv_7= 'runtime:' ( (lv_runtime_8_0= ruleEBoolean ) )
+ {
+ otherlv_7=(Token)match(input,42,FOLLOW_26); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getConstraintAccess().getRuntimeKeyword_4_1_0());
+
+ }
+ // InternalRBAModel.g:1532:9: ( (lv_runtime_8_0= ruleEBoolean ) )
+ // InternalRBAModel.g:1533:10: (lv_runtime_8_0= ruleEBoolean )
+ {
+ // InternalRBAModel.g:1533:10: (lv_runtime_8_0= ruleEBoolean )
+ // InternalRBAModel.g:1534:11: lv_runtime_8_0= ruleEBoolean
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getConstraintAccess().getRuntimeEBooleanParserRuleCall_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_25);
+ lv_runtime_8_0=ruleEBoolean();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ current,
+ "runtime",
+ lv_runtime_8_0,
+ "rba.tool.editor.RBAModel.EBoolean");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getConstraintAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:1557:4: ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) )
+ {
+ // InternalRBAModel.g:1557:4: ({...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) ) )
+ // InternalRBAModel.g:1558:5: {...}? => ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleConstraint", "getUnorderedGroupHelper().canSelect(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 2)");
+ }
+ // InternalRBAModel.g:1558:107: ( ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) ) )
+ // InternalRBAModel.g:1559:6: ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getConstraintAccess().getUnorderedGroup_4(), 2);
+ // InternalRBAModel.g:1562:9: ({...}? => ( (lv_expression_9_0= ruleComplexExpression ) ) )
+ // InternalRBAModel.g:1562:10: {...}? => ( (lv_expression_9_0= ruleComplexExpression ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleConstraint", "true");
+ }
+ // InternalRBAModel.g:1562:19: ( (lv_expression_9_0= ruleComplexExpression ) )
+ // InternalRBAModel.g:1562:20: (lv_expression_9_0= ruleComplexExpression )
+ {
+ // InternalRBAModel.g:1562:20: (lv_expression_9_0= ruleComplexExpression )
+ // InternalRBAModel.g:1563:10: lv_expression_9_0= ruleComplexExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getConstraintAccess().getExpressionComplexExpressionParserRuleCall_4_2_0());
+
+ }
+ pushFollow(FOLLOW_25);
+ lv_expression_9_0=ruleComplexExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getConstraintRule());
+ }
+ set(
+ current,
+ "expression",
+ lv_expression_9_0,
+ "rba.tool.editor.RBAModel.ComplexExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getConstraintAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop28;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getConstraintAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_10=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getConstraintAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleConstraint"
+
+
+ // $ANTLR start "entryRuleViewContent"
+ // InternalRBAModel.g:1600:1: entryRuleViewContent returns [EObject current=null] : iv_ruleViewContent= ruleViewContent EOF ;
+ public final EObject entryRuleViewContent() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleViewContent = null;
+
+
+ try {
+ // InternalRBAModel.g:1600:52: (iv_ruleViewContent= ruleViewContent EOF )
+ // InternalRBAModel.g:1601:2: iv_ruleViewContent= ruleViewContent EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getViewContentRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleViewContent=ruleViewContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleViewContent;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleViewContent"
+
+
+ // $ANTLR start "ruleViewContent"
+ // InternalRBAModel.g:1607:1: ruleViewContent returns [EObject current=null] : ( () otherlv_1= 'ViewContent' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_18= '}' ) ;
+ public final EObject ruleViewContent() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_9=null;
+ Token otherlv_10=null;
+ Token otherlv_12=null;
+ Token otherlv_14=null;
+ Token otherlv_18=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ Enumerator lv_loserType_8_0 = null;
+
+ EObject lv_states_15_0 = null;
+
+ EObject lv_size_16_0 = null;
+
+ EObject lv_tags_17_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:1613:2: ( ( () otherlv_1= 'ViewContent' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_18= '}' ) )
+ // InternalRBAModel.g:1614:2: ( () otherlv_1= 'ViewContent' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_18= '}' )
+ {
+ // InternalRBAModel.g:1614:2: ( () otherlv_1= 'ViewContent' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_18= '}' )
+ // InternalRBAModel.g:1615:3: () otherlv_1= 'ViewContent' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_18= '}'
+ {
+ // InternalRBAModel.g:1615:3: ()
+ // InternalRBAModel.g:1616:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getViewContentAccess().getViewContentAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,39,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getViewContentAccess().getViewContentKeyword_1());
+
+ }
+ // InternalRBAModel.g:1626:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:1627:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:1627:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:1628:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getViewContentAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:1649:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )* ) ) )
+ // InternalRBAModel.g:1650:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )* ) )
+ {
+ // InternalRBAModel.g:1650:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )* ) )
+ // InternalRBAModel.g:1651:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:1654:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )* )
+ // InternalRBAModel.g:1655:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )*
+ {
+ // InternalRBAModel.g:1655:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) ) )*
+ loop34:
+ do {
+ int alt34=7;
+ int LA34_0 = input.LA(1);
+
+ if ( LA34_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 0) ) {
+ alt34=1;
+ }
+ else if ( LA34_0 == 43 && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 1) ) {
+ alt34=2;
+ }
+ else if ( LA34_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 2) ) {
+ alt34=3;
+ }
+ else if ( LA34_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 3) ) {
+ alt34=4;
+ }
+ else if ( ( LA34_0 == 47 || LA34_0 == 50 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 4) ) {
+ alt34=5;
+ }
+ else if ( ( LA34_0 == 22 || LA34_0 == 24 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 5) ) {
+ alt34=6;
+ }
+
+
+ switch (alt34) {
+ case 1 :
+ // InternalRBAModel.g:1656:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:1656:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:1657:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:1657:108: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:1658:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:1661:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:1661:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "true");
+ }
+ // InternalRBAModel.g:1661:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:1661:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getViewContentAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:1665:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:1666:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:1666:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:1667:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_27);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:1690:4: ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:1690:4: ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) )
+ // InternalRBAModel.g:1691:5: {...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:1691:108: ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) )
+ // InternalRBAModel.g:1692:6: ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:1695:9: ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) )
+ // InternalRBAModel.g:1695:10: {...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "true");
+ }
+ // InternalRBAModel.g:1695:19: (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) )
+ // InternalRBAModel.g:1695:20: otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) )
+ {
+ otherlv_7=(Token)match(input,43,FOLLOW_28); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getViewContentAccess().getLoserTypeKeyword_4_1_0());
+
+ }
+ // InternalRBAModel.g:1699:9: ( (lv_loserType_8_0= ruleLoserType ) )
+ // InternalRBAModel.g:1700:10: (lv_loserType_8_0= ruleLoserType )
+ {
+ // InternalRBAModel.g:1700:10: (lv_loserType_8_0= ruleLoserType )
+ // InternalRBAModel.g:1701:11: lv_loserType_8_0= ruleLoserType
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentAccess().getLoserTypeLoserTypeEnumRuleCall_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_27);
+ lv_loserType_8_0=ruleLoserType();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ set(
+ current,
+ "loserType",
+ lv_loserType_8_0,
+ "rba.tool.editor.RBAModel.LoserType");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:1724:4: ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) )
+ {
+ // InternalRBAModel.g:1724:4: ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) )
+ // InternalRBAModel.g:1725:5: {...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 2)");
+ }
+ // InternalRBAModel.g:1725:108: ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) )
+ // InternalRBAModel.g:1726:6: ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 2);
+ // InternalRBAModel.g:1729:9: ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) )
+ // InternalRBAModel.g:1729:10: {...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "true");
+ }
+ // InternalRBAModel.g:1729:19: (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' )
+ // InternalRBAModel.g:1729:20: otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']'
+ {
+ otherlv_9=(Token)match(input,44,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_9, grammarAccess.getViewContentAccess().getAllocatableKeyword_4_2_0());
+
+ }
+ otherlv_10=(Token)match(input,45,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getViewContentAccess().getLeftSquareBracketKeyword_4_2_1());
+
+ }
+ // InternalRBAModel.g:1737:9: ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )?
+ int alt30=2;
+ int LA30_0 = input.LA(1);
+
+ if ( (LA30_0==RULE_ID) ) {
+ alt30=1;
+ }
+ switch (alt30) {
+ case 1 :
+ // InternalRBAModel.g:1738:10: ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )*
+ {
+ // InternalRBAModel.g:1738:10: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:1739:11: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:1739:11: ( ruleQualifiedName )
+ // InternalRBAModel.g:1740:12: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getViewContentRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_0_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:1754:10: (otherlv_12= ',' ( ( ruleQualifiedName ) ) )*
+ loop29:
+ do {
+ int alt29=2;
+ int LA29_0 = input.LA(1);
+
+ if ( (LA29_0==27) ) {
+ alt29=1;
+ }
+
+
+ switch (alt29) {
+ case 1 :
+ // InternalRBAModel.g:1755:11: otherlv_12= ',' ( ( ruleQualifiedName ) )
+ {
+ otherlv_12=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_12, grammarAccess.getViewContentAccess().getCommaKeyword_4_2_2_1_0());
+
+ }
+ // InternalRBAModel.g:1759:11: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:1760:12: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:1760:12: ( ruleQualifiedName )
+ // InternalRBAModel.g:1761:13: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getViewContentRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop29;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_14=(Token)match(input,46,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_14, grammarAccess.getViewContentAccess().getRightSquareBracketKeyword_4_2_3());
+
+ }
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:1787:4: ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) )
+ {
+ // InternalRBAModel.g:1787:4: ({...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ ) )
+ // InternalRBAModel.g:1788:5: {...}? => ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 3) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 3)");
+ }
+ // InternalRBAModel.g:1788:108: ( ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+ )
+ // InternalRBAModel.g:1789:6: ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 3);
+ // InternalRBAModel.g:1792:9: ({...}? => ( (lv_states_15_0= ruleViewContentState ) ) )+
+ int cnt31=0;
+ loop31:
+ do {
+ int alt31=2;
+ int LA31_0 = input.LA(1);
+
+ if ( (LA31_0==64) ) {
+ int LA31_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt31=1;
+ }
+
+
+ }
+
+
+ switch (alt31) {
+ case 1 :
+ // InternalRBAModel.g:1792:10: {...}? => ( (lv_states_15_0= ruleViewContentState ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "true");
+ }
+ // InternalRBAModel.g:1792:19: ( (lv_states_15_0= ruleViewContentState ) )
+ // InternalRBAModel.g:1792:20: (lv_states_15_0= ruleViewContentState )
+ {
+ // InternalRBAModel.g:1792:20: (lv_states_15_0= ruleViewContentState )
+ // InternalRBAModel.g:1793:10: lv_states_15_0= ruleViewContentState
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentAccess().getStatesViewContentStateParserRuleCall_4_3_0());
+
+ }
+ pushFollow(FOLLOW_27);
+ lv_states_15_0=ruleViewContentState();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ add(
+ current,
+ "states",
+ lv_states_15_0,
+ "rba.tool.editor.RBAModel.ViewContentState");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt31 >= 1 ) break loop31;
+ if (state.backtracking>0) {state.failed=true; return current;}
+ EarlyExitException eee =
+ new EarlyExitException(31, input);
+ throw eee;
+ }
+ cnt31++;
+ } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:1815:4: ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) )
+ {
+ // InternalRBAModel.g:1815:4: ({...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ ) )
+ // InternalRBAModel.g:1816:5: {...}? => ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 4) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 4)");
+ }
+ // InternalRBAModel.g:1816:108: ( ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+ )
+ // InternalRBAModel.g:1817:6: ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 4);
+ // InternalRBAModel.g:1820:9: ({...}? => ( (lv_size_16_0= ruleSizeIdentifier ) ) )+
+ int cnt32=0;
+ loop32:
+ do {
+ int alt32=2;
+ int LA32_0 = input.LA(1);
+
+ if ( (LA32_0==50) ) {
+ int LA32_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt32=1;
+ }
+
+
+ }
+ else if ( (LA32_0==47) ) {
+ int LA32_3 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt32=1;
+ }
+
+
+ }
+
+
+ switch (alt32) {
+ case 1 :
+ // InternalRBAModel.g:1820:10: {...}? => ( (lv_size_16_0= ruleSizeIdentifier ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "true");
+ }
+ // InternalRBAModel.g:1820:19: ( (lv_size_16_0= ruleSizeIdentifier ) )
+ // InternalRBAModel.g:1820:20: (lv_size_16_0= ruleSizeIdentifier )
+ {
+ // InternalRBAModel.g:1820:20: (lv_size_16_0= ruleSizeIdentifier )
+ // InternalRBAModel.g:1821:10: lv_size_16_0= ruleSizeIdentifier
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentAccess().getSizeSizeIdentifierParserRuleCall_4_4_0());
+
+ }
+ pushFollow(FOLLOW_27);
+ lv_size_16_0=ruleSizeIdentifier();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ add(
+ current,
+ "size",
+ lv_size_16_0,
+ "rba.tool.editor.RBAModel.SizeIdentifier");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ 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);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 6 :
+ // InternalRBAModel.g:1843:4: ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) )
+ {
+ // InternalRBAModel.g:1843:4: ({...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ ) )
+ // InternalRBAModel.g:1844:5: {...}? => ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 5) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 5)");
+ }
+ // InternalRBAModel.g:1844:108: ( ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+ )
+ // InternalRBAModel.g:1845:6: ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentAccess().getUnorderedGroup_4(), 5);
+ // InternalRBAModel.g:1848:9: ({...}? => ( (lv_tags_17_0= ruleTag ) ) )+
+ int cnt33=0;
+ loop33:
+ do {
+ int alt33=2;
+ int LA33_0 = input.LA(1);
+
+ if ( (LA33_0==22) ) {
+ int LA33_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt33=1;
+ }
+
+
+ }
+ else if ( (LA33_0==24) ) {
+ int LA33_3 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt33=1;
+ }
+
+
+ }
+
+
+ switch (alt33) {
+ case 1 :
+ // InternalRBAModel.g:1848:10: {...}? => ( (lv_tags_17_0= ruleTag ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContent", "true");
+ }
+ // InternalRBAModel.g:1848:19: ( (lv_tags_17_0= ruleTag ) )
+ // InternalRBAModel.g:1848:20: (lv_tags_17_0= ruleTag )
+ {
+ // InternalRBAModel.g:1848:20: (lv_tags_17_0= ruleTag )
+ // InternalRBAModel.g:1849:10: lv_tags_17_0= ruleTag
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentAccess().getTagsTagParserRuleCall_4_5_0());
+
+ }
+ pushFollow(FOLLOW_27);
+ lv_tags_17_0=ruleTag();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentRule());
+ }
+ add(
+ current,
+ "tags",
+ lv_tags_17_0,
+ "rba.tool.editor.RBAModel.Tag");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt33 >= 1 ) break loop33;
+ if (state.backtracking>0) {state.failed=true; return current;}
+ EarlyExitException eee =
+ new EarlyExitException(33, input);
+ throw eee;
+ }
+ cnt33++;
+ } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop34;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getViewContentAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_18=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_18, grammarAccess.getViewContentAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleViewContent"
+
+
+ // $ANTLR start "entryRuleSoundContent"
+ // InternalRBAModel.g:1886:1: entryRuleSoundContent returns [EObject current=null] : iv_ruleSoundContent= ruleSoundContent EOF ;
+ public final EObject entryRuleSoundContent() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleSoundContent = null;
+
+
+ try {
+ // InternalRBAModel.g:1886:53: (iv_ruleSoundContent= ruleSoundContent EOF )
+ // InternalRBAModel.g:1887:2: iv_ruleSoundContent= ruleSoundContent EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getSoundContentRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleSoundContent=ruleSoundContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleSoundContent;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleSoundContent"
+
+
+ // $ANTLR start "ruleSoundContent"
+ // InternalRBAModel.g:1893:1: ruleSoundContent returns [EObject current=null] : ( () otherlv_1= 'SoundContent' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_17= '}' ) ;
+ public final EObject ruleSoundContent() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_9=null;
+ Token otherlv_10=null;
+ Token otherlv_12=null;
+ Token otherlv_14=null;
+ Token otherlv_17=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ Enumerator lv_loserType_8_0 = null;
+
+ EObject lv_states_15_0 = null;
+
+ EObject lv_tags_16_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:1899:2: ( ( () otherlv_1= 'SoundContent' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_17= '}' ) )
+ // InternalRBAModel.g:1900:2: ( () otherlv_1= 'SoundContent' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_17= '}' )
+ {
+ // InternalRBAModel.g:1900:2: ( () otherlv_1= 'SoundContent' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_17= '}' )
+ // InternalRBAModel.g:1901:3: () otherlv_1= 'SoundContent' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_17= '}'
+ {
+ // InternalRBAModel.g:1901:3: ()
+ // InternalRBAModel.g:1902:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getSoundContentAccess().getSoundContentAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,38,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getSoundContentAccess().getSoundContentKeyword_1());
+
+ }
+ // InternalRBAModel.g:1912:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:1913:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:1913:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:1914:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSoundContentRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getSoundContentAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:1935:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )* ) ) )
+ // InternalRBAModel.g:1936:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )* ) )
+ {
+ // InternalRBAModel.g:1936:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )* ) )
+ // InternalRBAModel.g:1937:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:1940:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )* )
+ // InternalRBAModel.g:1941:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )*
+ {
+ // InternalRBAModel.g:1941:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) ) | ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) ) | ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) ) )*
+ loop39:
+ do {
+ int alt39=6;
+ int LA39_0 = input.LA(1);
+
+ if ( LA39_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 0) ) {
+ alt39=1;
+ }
+ else if ( LA39_0 == 43 && getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 1) ) {
+ alt39=2;
+ }
+ else if ( LA39_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 2) ) {
+ alt39=3;
+ }
+ else if ( LA39_0 == 64 && getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 3) ) {
+ alt39=4;
+ }
+ else if ( ( LA39_0 == 22 || LA39_0 == 24 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 4) ) {
+ alt39=5;
+ }
+
+
+ switch (alt39) {
+ case 1 :
+ // InternalRBAModel.g:1942:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:1942:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:1943:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:1943:109: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:1944:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:1947:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:1947:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContent", "true");
+ }
+ // InternalRBAModel.g:1947:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:1947:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getSoundContentAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:1951:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:1952:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:1952:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:1953:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_27);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSoundContentRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:1976:4: ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:1976:4: ({...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) ) )
+ // InternalRBAModel.g:1977:5: {...}? => ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:1977:109: ( ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) ) )
+ // InternalRBAModel.g:1978:6: ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:1981:9: ({...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) ) )
+ // InternalRBAModel.g:1981:10: {...}? => (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContent", "true");
+ }
+ // InternalRBAModel.g:1981:19: (otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) ) )
+ // InternalRBAModel.g:1981:20: otherlv_7= 'loserType:' ( (lv_loserType_8_0= ruleLoserType ) )
+ {
+ otherlv_7=(Token)match(input,43,FOLLOW_28); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getSoundContentAccess().getLoserTypeKeyword_4_1_0());
+
+ }
+ // InternalRBAModel.g:1985:9: ( (lv_loserType_8_0= ruleLoserType ) )
+ // InternalRBAModel.g:1986:10: (lv_loserType_8_0= ruleLoserType )
+ {
+ // InternalRBAModel.g:1986:10: (lv_loserType_8_0= ruleLoserType )
+ // InternalRBAModel.g:1987:11: lv_loserType_8_0= ruleLoserType
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentAccess().getLoserTypeLoserTypeEnumRuleCall_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_27);
+ lv_loserType_8_0=ruleLoserType();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSoundContentRule());
+ }
+ set(
+ current,
+ "loserType",
+ lv_loserType_8_0,
+ "rba.tool.editor.RBAModel.LoserType");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:2010:4: ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) )
+ {
+ // InternalRBAModel.g:2010:4: ({...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) ) )
+ // InternalRBAModel.g:2011:5: {...}? => ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 2)");
+ }
+ // InternalRBAModel.g:2011:109: ( ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) ) )
+ // InternalRBAModel.g:2012:6: ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 2);
+ // InternalRBAModel.g:2015:9: ({...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' ) )
+ // InternalRBAModel.g:2015:10: {...}? => (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContent", "true");
+ }
+ // InternalRBAModel.g:2015:19: (otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']' )
+ // InternalRBAModel.g:2015:20: otherlv_9= 'allocatable:' otherlv_10= '[' ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_14= ']'
+ {
+ otherlv_9=(Token)match(input,44,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_9, grammarAccess.getSoundContentAccess().getAllocatableKeyword_4_2_0());
+
+ }
+ otherlv_10=(Token)match(input,45,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getSoundContentAccess().getLeftSquareBracketKeyword_4_2_1());
+
+ }
+ // InternalRBAModel.g:2023:9: ( ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )* )?
+ int alt36=2;
+ int LA36_0 = input.LA(1);
+
+ if ( (LA36_0==RULE_ID) ) {
+ alt36=1;
+ }
+ switch (alt36) {
+ case 1 :
+ // InternalRBAModel.g:2024:10: ( ( ruleQualifiedName ) ) (otherlv_12= ',' ( ( ruleQualifiedName ) ) )*
+ {
+ // InternalRBAModel.g:2024:10: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:2025:11: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2025:11: ( ruleQualifiedName )
+ // InternalRBAModel.g:2026:12: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSoundContentRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_0_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:2040:10: (otherlv_12= ',' ( ( ruleQualifiedName ) ) )*
+ loop35:
+ do {
+ int alt35=2;
+ int LA35_0 = input.LA(1);
+
+ if ( (LA35_0==27) ) {
+ alt35=1;
+ }
+
+
+ switch (alt35) {
+ case 1 :
+ // InternalRBAModel.g:2041:11: otherlv_12= ',' ( ( ruleQualifiedName ) )
+ {
+ otherlv_12=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_12, grammarAccess.getSoundContentAccess().getCommaKeyword_4_2_2_1_0());
+
+ }
+ // InternalRBAModel.g:2045:11: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:2046:12: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2046:12: ( ruleQualifiedName )
+ // InternalRBAModel.g:2047:13: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSoundContentRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop35;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_14=(Token)match(input,46,FOLLOW_27); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_14, grammarAccess.getSoundContentAccess().getRightSquareBracketKeyword_4_2_3());
+
+ }
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:2073:4: ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) )
+ {
+ // InternalRBAModel.g:2073:4: ({...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ ) )
+ // InternalRBAModel.g:2074:5: {...}? => ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 3) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 3)");
+ }
+ // InternalRBAModel.g:2074:109: ( ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+ )
+ // InternalRBAModel.g:2075:6: ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 3);
+ // InternalRBAModel.g:2078:9: ({...}? => ( (lv_states_15_0= ruleSoundContentState ) ) )+
+ int cnt37=0;
+ loop37:
+ do {
+ int alt37=2;
+ int LA37_0 = input.LA(1);
+
+ if ( (LA37_0==64) ) {
+ int LA37_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt37=1;
+ }
+
+
+ }
+
+
+ switch (alt37) {
+ case 1 :
+ // InternalRBAModel.g:2078:10: {...}? => ( (lv_states_15_0= ruleSoundContentState ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContent", "true");
+ }
+ // InternalRBAModel.g:2078:19: ( (lv_states_15_0= ruleSoundContentState ) )
+ // InternalRBAModel.g:2078:20: (lv_states_15_0= ruleSoundContentState )
+ {
+ // InternalRBAModel.g:2078:20: (lv_states_15_0= ruleSoundContentState )
+ // InternalRBAModel.g:2079:10: lv_states_15_0= ruleSoundContentState
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentAccess().getStatesSoundContentStateParserRuleCall_4_3_0());
+
+ }
+ pushFollow(FOLLOW_27);
+ lv_states_15_0=ruleSoundContentState();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSoundContentRule());
+ }
+ add(
+ current,
+ "states",
+ lv_states_15_0,
+ "rba.tool.editor.RBAModel.SoundContentState");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt37 >= 1 ) break loop37;
+ if (state.backtracking>0) {state.failed=true; return current;}
+ EarlyExitException eee =
+ new EarlyExitException(37, input);
+ throw eee;
+ }
+ cnt37++;
+ } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:2101:4: ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) )
+ {
+ // InternalRBAModel.g:2101:4: ({...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ ) )
+ // InternalRBAModel.g:2102:5: {...}? => ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 4) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContent", "getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 4)");
+ }
+ // InternalRBAModel.g:2102:109: ( ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+ )
+ // InternalRBAModel.g:2103:6: ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentAccess().getUnorderedGroup_4(), 4);
+ // InternalRBAModel.g:2106:9: ({...}? => ( (lv_tags_16_0= ruleTag ) ) )+
+ int cnt38=0;
+ loop38:
+ do {
+ int alt38=2;
+ int LA38_0 = input.LA(1);
+
+ if ( (LA38_0==22) ) {
+ int LA38_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt38=1;
+ }
+
+
+ }
+ else if ( (LA38_0==24) ) {
+ int LA38_3 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt38=1;
+ }
+
+
+ }
+
+
+ switch (alt38) {
+ case 1 :
+ // InternalRBAModel.g:2106:10: {...}? => ( (lv_tags_16_0= ruleTag ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContent", "true");
+ }
+ // InternalRBAModel.g:2106:19: ( (lv_tags_16_0= ruleTag ) )
+ // InternalRBAModel.g:2106:20: (lv_tags_16_0= ruleTag )
+ {
+ // InternalRBAModel.g:2106:20: (lv_tags_16_0= ruleTag )
+ // InternalRBAModel.g:2107:10: lv_tags_16_0= ruleTag
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentAccess().getTagsTagParserRuleCall_4_4_0());
+
+ }
+ pushFollow(FOLLOW_27);
+ lv_tags_16_0=ruleTag();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSoundContentRule());
+ }
+ add(
+ current,
+ "tags",
+ lv_tags_16_0,
+ "rba.tool.editor.RBAModel.Tag");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt38 >= 1 ) break loop38;
+ if (state.backtracking>0) {state.failed=true; return current;}
+ EarlyExitException eee =
+ new EarlyExitException(38, input);
+ throw eee;
+ }
+ cnt38++;
+ } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop39;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getSoundContentAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_17=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_17, grammarAccess.getSoundContentAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleSoundContent"
+
+
+ // $ANTLR start "entryRuleSize"
+ // InternalRBAModel.g:2144:1: entryRuleSize returns [EObject current=null] : iv_ruleSize= ruleSize EOF ;
+ public final EObject entryRuleSize() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleSize = null;
+
+
+ try {
+ // InternalRBAModel.g:2144:45: (iv_ruleSize= ruleSize EOF )
+ // InternalRBAModel.g:2145:2: iv_ruleSize= ruleSize EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getSizeRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleSize=ruleSize();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleSize;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleSize"
+
+
+ // $ANTLR start "ruleSize"
+ // InternalRBAModel.g:2151:1: ruleSize returns [EObject current=null] : ( () otherlv_1= 'Size' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )* ) ) ) otherlv_11= '}' ) ;
+ public final EObject ruleSize() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_9=null;
+ Token otherlv_11=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ AntlrDatatypeRuleToken lv_width_8_0 = null;
+
+ AntlrDatatypeRuleToken lv_height_10_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:2157:2: ( ( () otherlv_1= 'Size' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )* ) ) ) otherlv_11= '}' ) )
+ // InternalRBAModel.g:2158:2: ( () otherlv_1= 'Size' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )* ) ) ) otherlv_11= '}' )
+ {
+ // InternalRBAModel.g:2158:2: ( () otherlv_1= 'Size' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )* ) ) ) otherlv_11= '}' )
+ // InternalRBAModel.g:2159:3: () otherlv_1= 'Size' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )* ) ) ) otherlv_11= '}'
+ {
+ // InternalRBAModel.g:2159:3: ()
+ // InternalRBAModel.g:2160:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getSizeAccess().getSizeAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,47,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getSizeAccess().getSizeKeyword_1());
+
+ }
+ // InternalRBAModel.g:2170:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:2171:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2171:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:2172:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSizeAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSizeRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_32); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getSizeAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:2193:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:2194:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:2194:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )* ) )
+ // InternalRBAModel.g:2195:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getSizeAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:2198:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )* )
+ // InternalRBAModel.g:2199:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )*
+ {
+ // InternalRBAModel.g:2199:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) ) )*
+ loop40:
+ do {
+ int alt40=4;
+ int LA40_0 = input.LA(1);
+
+ if ( LA40_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 0) ) {
+ alt40=1;
+ }
+ else if ( LA40_0 == 48 && getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 1) ) {
+ alt40=2;
+ }
+ else if ( LA40_0 == 49 && getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 2) ) {
+ alt40=3;
+ }
+
+
+ switch (alt40) {
+ case 1 :
+ // InternalRBAModel.g:2200:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:2200:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:2201:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSize", "getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:2201:101: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:2202:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:2205:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:2205:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSize", "true");
+ }
+ // InternalRBAModel.g:2205:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:2205:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getSizeAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:2209:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:2210:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:2210:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:2211:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSizeAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_32);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSizeRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSizeAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:2234:4: ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:2234:4: ({...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) ) )
+ // InternalRBAModel.g:2235:5: {...}? => ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSize", "getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:2235:101: ( ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) ) )
+ // InternalRBAModel.g:2236:6: ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:2239:9: ({...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) ) )
+ // InternalRBAModel.g:2239:10: {...}? => (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSize", "true");
+ }
+ // InternalRBAModel.g:2239:19: (otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) ) )
+ // InternalRBAModel.g:2239:20: otherlv_7= 'width:' ( (lv_width_8_0= ruleEInt ) )
+ {
+ otherlv_7=(Token)match(input,48,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getSizeAccess().getWidthKeyword_4_1_0());
+
+ }
+ // InternalRBAModel.g:2243:9: ( (lv_width_8_0= ruleEInt ) )
+ // InternalRBAModel.g:2244:10: (lv_width_8_0= ruleEInt )
+ {
+ // InternalRBAModel.g:2244:10: (lv_width_8_0= ruleEInt )
+ // InternalRBAModel.g:2245:11: lv_width_8_0= ruleEInt
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSizeAccess().getWidthEIntParserRuleCall_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_32);
+ lv_width_8_0=ruleEInt();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSizeRule());
+ }
+ set(
+ current,
+ "width",
+ lv_width_8_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSizeAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:2268:4: ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:2268:4: ({...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) ) )
+ // InternalRBAModel.g:2269:5: {...}? => ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSize", "getUnorderedGroupHelper().canSelect(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 2)");
+ }
+ // InternalRBAModel.g:2269:101: ( ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) ) )
+ // InternalRBAModel.g:2270:6: ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSizeAccess().getUnorderedGroup_4(), 2);
+ // InternalRBAModel.g:2273:9: ({...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) ) )
+ // InternalRBAModel.g:2273:10: {...}? => (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSize", "true");
+ }
+ // InternalRBAModel.g:2273:19: (otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) ) )
+ // InternalRBAModel.g:2273:20: otherlv_9= 'height:' ( (lv_height_10_0= ruleEInt ) )
+ {
+ otherlv_9=(Token)match(input,49,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_9, grammarAccess.getSizeAccess().getHeightKeyword_4_2_0());
+
+ }
+ // InternalRBAModel.g:2277:9: ( (lv_height_10_0= ruleEInt ) )
+ // InternalRBAModel.g:2278:10: (lv_height_10_0= ruleEInt )
+ {
+ // InternalRBAModel.g:2278:10: (lv_height_10_0= ruleEInt )
+ // InternalRBAModel.g:2279:11: lv_height_10_0= ruleEInt
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSizeAccess().getHeightEIntParserRuleCall_4_2_1_0());
+
+ }
+ pushFollow(FOLLOW_32);
+ lv_height_10_0=ruleEInt();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSizeRule());
+ }
+ set(
+ current,
+ "height",
+ lv_height_10_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSizeAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop40;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getSizeAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_11=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_11, grammarAccess.getSizeAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleSize"
+
+
+ // $ANTLR start "entryRuleSizeReference"
+ // InternalRBAModel.g:2317:1: entryRuleSizeReference returns [EObject current=null] : iv_ruleSizeReference= ruleSizeReference EOF ;
+ public final EObject entryRuleSizeReference() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleSizeReference = null;
+
+
+ try {
+ // InternalRBAModel.g:2317:54: (iv_ruleSizeReference= ruleSizeReference EOF )
+ // InternalRBAModel.g:2318:2: iv_ruleSizeReference= ruleSizeReference EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getSizeReferenceRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleSizeReference=ruleSizeReference();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleSizeReference;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleSizeReference"
+
+
+ // $ANTLR start "ruleSizeReference"
+ // InternalRBAModel.g:2324:1: ruleSizeReference returns [EObject current=null] : ( () otherlv_1= 'sizeReference:' ( ( ruleQualifiedName ) ) ) ;
+ public final EObject ruleSizeReference() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:2330:2: ( ( () otherlv_1= 'sizeReference:' ( ( ruleQualifiedName ) ) ) )
+ // InternalRBAModel.g:2331:2: ( () otherlv_1= 'sizeReference:' ( ( ruleQualifiedName ) ) )
+ {
+ // InternalRBAModel.g:2331:2: ( () otherlv_1= 'sizeReference:' ( ( ruleQualifiedName ) ) )
+ // InternalRBAModel.g:2332:3: () otherlv_1= 'sizeReference:' ( ( ruleQualifiedName ) )
+ {
+ // InternalRBAModel.g:2332:3: ()
+ // InternalRBAModel.g:2333:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getSizeReferenceAccess().getSizeReferenceAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,50,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getSizeReferenceAccess().getSizeReferenceKeyword_1());
+
+ }
+ // InternalRBAModel.g:2343:3: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:2344:4: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2344:4: ( ruleQualifiedName )
+ // InternalRBAModel.g:2345:5: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSizeReferenceRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSizeReferenceAccess().getSizeSizeCrossReference_2_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleSizeReference"
+
+
+ // $ANTLR start "entryRuleOffset"
+ // InternalRBAModel.g:2363:1: entryRuleOffset returns [EObject current=null] : iv_ruleOffset= ruleOffset EOF ;
+ public final EObject entryRuleOffset() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleOffset = null;
+
+
+ try {
+ // InternalRBAModel.g:2363:47: (iv_ruleOffset= ruleOffset EOF )
+ // InternalRBAModel.g:2364:2: iv_ruleOffset= ruleOffset EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOffsetRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOffset=ruleOffset();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOffset;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOffset"
+
+
+ // $ANTLR start "ruleOffset"
+ // InternalRBAModel.g:2370:1: ruleOffset returns [EObject current=null] : ( () otherlv_1= 'Offset' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )* ) ) ) otherlv_11= '}' ) ;
+ public final EObject ruleOffset() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ Token otherlv_8=null;
+ Token otherlv_11=null;
+ AntlrDatatypeRuleToken lv_description_5_0 = null;
+
+ AntlrDatatypeRuleToken lv_x_7_0 = null;
+
+ AntlrDatatypeRuleToken lv_y_9_0 = null;
+
+ EObject lv_size_10_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:2376:2: ( ( () otherlv_1= 'Offset' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )* ) ) ) otherlv_11= '}' ) )
+ // InternalRBAModel.g:2377:2: ( () otherlv_1= 'Offset' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )* ) ) ) otherlv_11= '}' )
+ {
+ // InternalRBAModel.g:2377:2: ( () otherlv_1= 'Offset' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )* ) ) ) otherlv_11= '}' )
+ // InternalRBAModel.g:2378:3: () otherlv_1= 'Offset' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )* ) ) ) otherlv_11= '}'
+ {
+ // InternalRBAModel.g:2378:3: ()
+ // InternalRBAModel.g:2379:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getOffsetAccess().getOffsetAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,51,FOLLOW_15); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getOffsetAccess().getOffsetKeyword_1());
+
+ }
+ otherlv_2=(Token)match(input,26,FOLLOW_33); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getOffsetAccess().getLeftCurlyBracketKeyword_2());
+
+ }
+ // InternalRBAModel.g:2393:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:2394:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:2394:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )* ) )
+ // InternalRBAModel.g:2395:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+ // InternalRBAModel.g:2398:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )* )
+ // InternalRBAModel.g:2399:6: ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )*
+ {
+ // InternalRBAModel.g:2399:6: ( ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) ) )*
+ loop41:
+ do {
+ int alt41=5;
+ int LA41_0 = input.LA(1);
+
+ if ( LA41_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 0) ) {
+ alt41=1;
+ }
+ else if ( LA41_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 1) ) {
+ alt41=2;
+ }
+ else if ( LA41_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 2) ) {
+ alt41=3;
+ }
+ else if ( LA41_0 == 50 && getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 3) ) {
+ alt41=4;
+ }
+
+
+ switch (alt41) {
+ case 1 :
+ // InternalRBAModel.g:2400:4: ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:2400:4: ({...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:2401:5: {...}? => ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleOffset", "getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 0)");
+ }
+ // InternalRBAModel.g:2401:103: ( ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:2402:6: ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 0);
+ // InternalRBAModel.g:2405:9: ({...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:2405:10: {...}? => (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleOffset", "true");
+ }
+ // InternalRBAModel.g:2405:19: (otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) ) )
+ // InternalRBAModel.g:2405:20: otherlv_4= 'description:' ( (lv_description_5_0= ruleEString ) )
+ {
+ otherlv_4=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getOffsetAccess().getDescriptionKeyword_3_0_0());
+
+ }
+ // InternalRBAModel.g:2409:9: ( (lv_description_5_0= ruleEString ) )
+ // InternalRBAModel.g:2410:10: (lv_description_5_0= ruleEString )
+ {
+ // InternalRBAModel.g:2410:10: (lv_description_5_0= ruleEString )
+ // InternalRBAModel.g:2411:11: lv_description_5_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getOffsetAccess().getDescriptionEStringParserRuleCall_3_0_1_0());
+
+ }
+ pushFollow(FOLLOW_33);
+ lv_description_5_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getOffsetRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_5_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:2434:4: ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:2434:4: ({...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) ) )
+ // InternalRBAModel.g:2435:5: {...}? => ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleOffset", "getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 1)");
+ }
+ // InternalRBAModel.g:2435:103: ( ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) ) )
+ // InternalRBAModel.g:2436:6: ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 1);
+ // InternalRBAModel.g:2439:9: ({...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) ) )
+ // InternalRBAModel.g:2439:10: {...}? => (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleOffset", "true");
+ }
+ // InternalRBAModel.g:2439:19: (otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) ) )
+ // InternalRBAModel.g:2439:20: otherlv_6= 'x:' ( (lv_x_7_0= ruleEInt ) )
+ {
+ otherlv_6=(Token)match(input,52,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getOffsetAccess().getXKeyword_3_1_0());
+
+ }
+ // InternalRBAModel.g:2443:9: ( (lv_x_7_0= ruleEInt ) )
+ // InternalRBAModel.g:2444:10: (lv_x_7_0= ruleEInt )
+ {
+ // InternalRBAModel.g:2444:10: (lv_x_7_0= ruleEInt )
+ // InternalRBAModel.g:2445:11: lv_x_7_0= ruleEInt
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getOffsetAccess().getXEIntParserRuleCall_3_1_1_0());
+
+ }
+ pushFollow(FOLLOW_33);
+ lv_x_7_0=ruleEInt();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getOffsetRule());
+ }
+ set(
+ current,
+ "x",
+ lv_x_7_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:2468:4: ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:2468:4: ({...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) ) )
+ // InternalRBAModel.g:2469:5: {...}? => ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleOffset", "getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 2)");
+ }
+ // InternalRBAModel.g:2469:103: ( ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) ) )
+ // InternalRBAModel.g:2470:6: ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 2);
+ // InternalRBAModel.g:2473:9: ({...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) ) )
+ // InternalRBAModel.g:2473:10: {...}? => (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleOffset", "true");
+ }
+ // InternalRBAModel.g:2473:19: (otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) ) )
+ // InternalRBAModel.g:2473:20: otherlv_8= 'y:' ( (lv_y_9_0= ruleEInt ) )
+ {
+ otherlv_8=(Token)match(input,53,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getOffsetAccess().getYKeyword_3_2_0());
+
+ }
+ // InternalRBAModel.g:2477:9: ( (lv_y_9_0= ruleEInt ) )
+ // InternalRBAModel.g:2478:10: (lv_y_9_0= ruleEInt )
+ {
+ // InternalRBAModel.g:2478:10: (lv_y_9_0= ruleEInt )
+ // InternalRBAModel.g:2479:11: lv_y_9_0= ruleEInt
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getOffsetAccess().getYEIntParserRuleCall_3_2_1_0());
+
+ }
+ pushFollow(FOLLOW_33);
+ lv_y_9_0=ruleEInt();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getOffsetRule());
+ }
+ set(
+ current,
+ "y",
+ lv_y_9_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:2502:4: ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) )
+ {
+ // InternalRBAModel.g:2502:4: ({...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) ) )
+ // InternalRBAModel.g:2503:5: {...}? => ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 3) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleOffset", "getUnorderedGroupHelper().canSelect(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 3)");
+ }
+ // InternalRBAModel.g:2503:103: ( ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) ) )
+ // InternalRBAModel.g:2504:6: ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getOffsetAccess().getUnorderedGroup_3(), 3);
+ // InternalRBAModel.g:2507:9: ({...}? => ( (lv_size_10_0= ruleSizeReference ) ) )
+ // InternalRBAModel.g:2507:10: {...}? => ( (lv_size_10_0= ruleSizeReference ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleOffset", "true");
+ }
+ // InternalRBAModel.g:2507:19: ( (lv_size_10_0= ruleSizeReference ) )
+ // InternalRBAModel.g:2507:20: (lv_size_10_0= ruleSizeReference )
+ {
+ // InternalRBAModel.g:2507:20: (lv_size_10_0= ruleSizeReference )
+ // InternalRBAModel.g:2508:10: lv_size_10_0= ruleSizeReference
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getOffsetAccess().getSizeSizeReferenceParserRuleCall_3_3_0());
+
+ }
+ pushFollow(FOLLOW_33);
+ lv_size_10_0=ruleSizeReference();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getOffsetRule());
+ }
+ set(
+ current,
+ "size",
+ lv_size_10_0,
+ "rba.tool.editor.RBAModel.SizeReference");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop41;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getOffsetAccess().getUnorderedGroup_3());
+
+ }
+
+ otherlv_11=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_11, grammarAccess.getOffsetAccess().getRightCurlyBracketKeyword_4());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOffset"
+
+
+ // $ANTLR start "entryRuleAreaSet"
+ // InternalRBAModel.g:2545:1: entryRuleAreaSet returns [EObject current=null] : iv_ruleAreaSet= ruleAreaSet EOF ;
+ public final EObject entryRuleAreaSet() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleAreaSet = null;
+
+
+ try {
+ // InternalRBAModel.g:2545:48: (iv_ruleAreaSet= ruleAreaSet EOF )
+ // InternalRBAModel.g:2546:2: iv_ruleAreaSet= ruleAreaSet EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAreaSetRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleAreaSet=ruleAreaSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleAreaSet;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleAreaSet"
+
+
+ // $ANTLR start "ruleAreaSet"
+ // InternalRBAModel.g:2552:1: ruleAreaSet returns [EObject current=null] : ( () otherlv_1= 'AreaSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) ) otherlv_13= '}' ) ;
+ public final EObject ruleAreaSet() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_12=null;
+ Token otherlv_13=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:2558:2: ( ( () otherlv_1= 'AreaSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) ) otherlv_13= '}' ) )
+ // InternalRBAModel.g:2559:2: ( () otherlv_1= 'AreaSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) ) otherlv_13= '}' )
+ {
+ // InternalRBAModel.g:2559:2: ( () otherlv_1= 'AreaSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) ) otherlv_13= '}' )
+ // InternalRBAModel.g:2560:3: () otherlv_1= 'AreaSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) ) otherlv_13= '}'
+ {
+ // InternalRBAModel.g:2560:3: ()
+ // InternalRBAModel.g:2561:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getAreaSetAccess().getAreaSetAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,54,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getAreaSetAccess().getAreaSetKeyword_1());
+
+ }
+ // InternalRBAModel.g:2571:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:2572:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2572:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:2573:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaSetAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAreaSetRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_34); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getAreaSetAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:2594:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:2595:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:2595:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) )
+ // InternalRBAModel.g:2596:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getAreaSetAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:2599:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* )
+ // InternalRBAModel.g:2600:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )*
+ {
+ // InternalRBAModel.g:2600:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )*
+ loop44:
+ do {
+ int alt44=3;
+ int LA44_0 = input.LA(1);
+
+ if ( LA44_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 0) ) {
+ alt44=1;
+ }
+ else if ( LA44_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 1) ) {
+ alt44=2;
+ }
+
+
+ switch (alt44) {
+ case 1 :
+ // InternalRBAModel.g:2601:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:2601:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:2602:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleAreaSet", "getUnorderedGroupHelper().canSelect(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:2602:104: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:2603:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:2606:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:2606:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleAreaSet", "true");
+ }
+ // InternalRBAModel.g:2606:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:2606:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getAreaSetAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:2610:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:2611:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:2611:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:2612:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaSetAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_34);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAreaSetRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaSetAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:2635:4: ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) )
+ {
+ // InternalRBAModel.g:2635:4: ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) )
+ // InternalRBAModel.g:2636:5: {...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleAreaSet", "getUnorderedGroupHelper().canSelect(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:2636:104: ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) )
+ // InternalRBAModel.g:2637:6: ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaSetAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:2640:9: ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) )
+ // InternalRBAModel.g:2640:10: {...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleAreaSet", "true");
+ }
+ // InternalRBAModel.g:2640:19: (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' )
+ // InternalRBAModel.g:2640:20: otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']'
+ {
+ otherlv_7=(Token)match(input,55,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getAreaSetAccess().getTargetKeyword_4_1_0());
+
+ }
+ otherlv_8=(Token)match(input,45,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getAreaSetAccess().getLeftSquareBracketKeyword_4_1_1());
+
+ }
+ // InternalRBAModel.g:2648:9: ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )?
+ int alt43=2;
+ int LA43_0 = input.LA(1);
+
+ if ( (LA43_0==RULE_ID) ) {
+ alt43=1;
+ }
+ switch (alt43) {
+ case 1 :
+ // InternalRBAModel.g:2649:10: ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )*
+ {
+ // InternalRBAModel.g:2649:10: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:2650:11: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2650:11: ( ruleQualifiedName )
+ // InternalRBAModel.g:2651:12: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getAreaSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaSetAccess().getTargetAbstractAllocatableCrossReference_4_1_2_0_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:2665:10: (otherlv_10= ',' ( ( ruleQualifiedName ) ) )*
+ loop42:
+ do {
+ int alt42=2;
+ int LA42_0 = input.LA(1);
+
+ if ( (LA42_0==27) ) {
+ alt42=1;
+ }
+
+
+ switch (alt42) {
+ case 1 :
+ // InternalRBAModel.g:2666:11: otherlv_10= ',' ( ( ruleQualifiedName ) )
+ {
+ otherlv_10=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getAreaSetAccess().getCommaKeyword_4_1_2_1_0());
+
+ }
+ // InternalRBAModel.g:2670:11: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:2671:12: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2671:12: ( ruleQualifiedName )
+ // InternalRBAModel.g:2672:13: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getAreaSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaSetAccess().getTargetAbstractAllocatableCrossReference_4_1_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop42;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_12=(Token)match(input,46,FOLLOW_34); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_12, grammarAccess.getAreaSetAccess().getRightSquareBracketKeyword_4_1_3());
+
+ }
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaSetAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop44;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getAreaSetAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_13=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_13, grammarAccess.getAreaSetAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleAreaSet"
+
+
+ // $ANTLR start "entryRuleZoneSet"
+ // InternalRBAModel.g:2713:1: entryRuleZoneSet returns [EObject current=null] : iv_ruleZoneSet= ruleZoneSet EOF ;
+ public final EObject entryRuleZoneSet() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleZoneSet = null;
+
+
+ try {
+ // InternalRBAModel.g:2713:48: (iv_ruleZoneSet= ruleZoneSet EOF )
+ // InternalRBAModel.g:2714:2: iv_ruleZoneSet= ruleZoneSet EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getZoneSetRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleZoneSet=ruleZoneSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleZoneSet;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleZoneSet"
+
+
+ // $ANTLR start "ruleZoneSet"
+ // InternalRBAModel.g:2720:1: ruleZoneSet returns [EObject current=null] : ( () otherlv_1= 'ZoneSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) ) otherlv_13= '}' ) ;
+ public final EObject ruleZoneSet() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_12=null;
+ Token otherlv_13=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:2726:2: ( ( () otherlv_1= 'ZoneSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) ) otherlv_13= '}' ) )
+ // InternalRBAModel.g:2727:2: ( () otherlv_1= 'ZoneSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) ) otherlv_13= '}' )
+ {
+ // InternalRBAModel.g:2727:2: ( () otherlv_1= 'ZoneSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) ) otherlv_13= '}' )
+ // InternalRBAModel.g:2728:3: () otherlv_1= 'ZoneSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) ) otherlv_13= '}'
+ {
+ // InternalRBAModel.g:2728:3: ()
+ // InternalRBAModel.g:2729:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getZoneSetAccess().getZoneSetAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,56,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getZoneSetAccess().getZoneSetKeyword_1());
+
+ }
+ // InternalRBAModel.g:2739:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:2740:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2740:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:2741:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getZoneSetAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getZoneSetRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_34); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getZoneSetAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:2762:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:2763:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:2763:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* ) )
+ // InternalRBAModel.g:2764:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getZoneSetAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:2767:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )* )
+ // InternalRBAModel.g:2768:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )*
+ {
+ // InternalRBAModel.g:2768:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) )*
+ loop47:
+ do {
+ int alt47=3;
+ int LA47_0 = input.LA(1);
+
+ if ( LA47_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 0) ) {
+ alt47=1;
+ }
+ else if ( LA47_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 1) ) {
+ alt47=2;
+ }
+
+
+ switch (alt47) {
+ case 1 :
+ // InternalRBAModel.g:2769:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:2769:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:2770:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZoneSet", "getUnorderedGroupHelper().canSelect(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:2770:104: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:2771:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:2774:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:2774:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZoneSet", "true");
+ }
+ // InternalRBAModel.g:2774:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:2774:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getZoneSetAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:2778:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:2779:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:2779:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:2780:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getZoneSetAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_34);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getZoneSetRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneSetAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:2803:4: ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) )
+ {
+ // InternalRBAModel.g:2803:4: ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) )
+ // InternalRBAModel.g:2804:5: {...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZoneSet", "getUnorderedGroupHelper().canSelect(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:2804:104: ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) )
+ // InternalRBAModel.g:2805:6: ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneSetAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:2808:9: ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) )
+ // InternalRBAModel.g:2808:10: {...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZoneSet", "true");
+ }
+ // InternalRBAModel.g:2808:19: (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' )
+ // InternalRBAModel.g:2808:20: otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']'
+ {
+ otherlv_7=(Token)match(input,55,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getZoneSetAccess().getTargetKeyword_4_1_0());
+
+ }
+ otherlv_8=(Token)match(input,45,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getZoneSetAccess().getLeftSquareBracketKeyword_4_1_1());
+
+ }
+ // InternalRBAModel.g:2816:9: ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )?
+ int alt46=2;
+ int LA46_0 = input.LA(1);
+
+ if ( (LA46_0==RULE_ID) ) {
+ alt46=1;
+ }
+ switch (alt46) {
+ case 1 :
+ // InternalRBAModel.g:2817:10: ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )*
+ {
+ // InternalRBAModel.g:2817:10: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:2818:11: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2818:11: ( ruleQualifiedName )
+ // InternalRBAModel.g:2819:12: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getZoneSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getZoneSetAccess().getTargetAbstractAllocatableCrossReference_4_1_2_0_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:2833:10: (otherlv_10= ',' ( ( ruleQualifiedName ) ) )*
+ loop45:
+ do {
+ int alt45=2;
+ int LA45_0 = input.LA(1);
+
+ if ( (LA45_0==27) ) {
+ alt45=1;
+ }
+
+
+ switch (alt45) {
+ case 1 :
+ // InternalRBAModel.g:2834:11: otherlv_10= ',' ( ( ruleQualifiedName ) )
+ {
+ otherlv_10=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getZoneSetAccess().getCommaKeyword_4_1_2_1_0());
+
+ }
+ // InternalRBAModel.g:2838:11: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:2839:12: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2839:12: ( ruleQualifiedName )
+ // InternalRBAModel.g:2840:13: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getZoneSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getZoneSetAccess().getTargetAbstractAllocatableCrossReference_4_1_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop45;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_12=(Token)match(input,46,FOLLOW_34); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_12, grammarAccess.getZoneSetAccess().getRightSquareBracketKeyword_4_1_3());
+
+ }
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneSetAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop47;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getZoneSetAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_13=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_13, grammarAccess.getZoneSetAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleZoneSet"
+
+
+ // $ANTLR start "entryRuleCompositeArea"
+ // InternalRBAModel.g:2881:1: entryRuleCompositeArea returns [EObject current=null] : iv_ruleCompositeArea= ruleCompositeArea EOF ;
+ public final EObject entryRuleCompositeArea() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCompositeArea = null;
+
+
+ try {
+ // InternalRBAModel.g:2881:54: (iv_ruleCompositeArea= ruleCompositeArea EOF )
+ // InternalRBAModel.g:2882:2: iv_ruleCompositeArea= ruleCompositeArea EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCompositeAreaRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCompositeArea=ruleCompositeArea();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCompositeArea;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCompositeArea"
+
+
+ // $ANTLR start "ruleCompositeArea"
+ // InternalRBAModel.g:2888:1: ruleCompositeArea returns [EObject current=null] : ( () otherlv_1= 'CompositeArea' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )* ) ) ) otherlv_9= '}' ) ;
+ public final EObject ruleCompositeArea() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_9=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ EObject lv_layout_8_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:2894:2: ( ( () otherlv_1= 'CompositeArea' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )* ) ) ) otherlv_9= '}' ) )
+ // InternalRBAModel.g:2895:2: ( () otherlv_1= 'CompositeArea' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )* ) ) ) otherlv_9= '}' )
+ {
+ // InternalRBAModel.g:2895:2: ( () otherlv_1= 'CompositeArea' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )* ) ) ) otherlv_9= '}' )
+ // InternalRBAModel.g:2896:3: () otherlv_1= 'CompositeArea' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )* ) ) ) otherlv_9= '}'
+ {
+ // InternalRBAModel.g:2896:3: ()
+ // InternalRBAModel.g:2897:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getCompositeAreaAccess().getCompositeAreaAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,57,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getCompositeAreaAccess().getCompositeAreaKeyword_1());
+
+ }
+ // InternalRBAModel.g:2907:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:2908:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:2908:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:2909:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCompositeAreaAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCompositeAreaRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_35); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getCompositeAreaAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:2930:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:2931:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:2931:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )* ) )
+ // InternalRBAModel.g:2932:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:2935:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )* )
+ // InternalRBAModel.g:2936:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )*
+ {
+ // InternalRBAModel.g:2936:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) ) )*
+ loop48:
+ do {
+ int alt48=3;
+ int LA48_0 = input.LA(1);
+
+ if ( LA48_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 0) ) {
+ alt48=1;
+ }
+ else if ( LA48_0 == 58 && getUnorderedGroupHelper().canSelect(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 1) ) {
+ alt48=2;
+ }
+
+
+ switch (alt48) {
+ case 1 :
+ // InternalRBAModel.g:2937:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:2937:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:2938:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleCompositeArea", "getUnorderedGroupHelper().canSelect(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:2938:110: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:2939:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:2942:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:2942:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleCompositeArea", "true");
+ }
+ // InternalRBAModel.g:2942:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:2942:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getCompositeAreaAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:2946:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:2947:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:2947:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:2948:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCompositeAreaAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_35);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCompositeAreaRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:2971:4: ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:2971:4: ({...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) ) )
+ // InternalRBAModel.g:2972:5: {...}? => ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleCompositeArea", "getUnorderedGroupHelper().canSelect(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:2972:110: ( ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) ) )
+ // InternalRBAModel.g:2973:6: ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:2976:9: ({...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) ) )
+ // InternalRBAModel.g:2976:10: {...}? => (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleCompositeArea", "true");
+ }
+ // InternalRBAModel.g:2976:19: (otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) ) )
+ // InternalRBAModel.g:2976:20: otherlv_7= 'layout:' ( (lv_layout_8_0= ruleLayoutManager ) )
+ {
+ otherlv_7=(Token)match(input,58,FOLLOW_36); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getCompositeAreaAccess().getLayoutKeyword_4_1_0());
+
+ }
+ // InternalRBAModel.g:2980:9: ( (lv_layout_8_0= ruleLayoutManager ) )
+ // InternalRBAModel.g:2981:10: (lv_layout_8_0= ruleLayoutManager )
+ {
+ // InternalRBAModel.g:2981:10: (lv_layout_8_0= ruleLayoutManager )
+ // InternalRBAModel.g:2982:11: lv_layout_8_0= ruleLayoutManager
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCompositeAreaAccess().getLayoutLayoutManagerParserRuleCall_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_35);
+ lv_layout_8_0=ruleLayoutManager();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCompositeAreaRule());
+ }
+ set(
+ current,
+ "layout",
+ lv_layout_8_0,
+ "rba.tool.editor.RBAModel.LayoutManager");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop48;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getCompositeAreaAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_9=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_9, grammarAccess.getCompositeAreaAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCompositeArea"
+
+
+ // $ANTLR start "entryRuleArea"
+ // InternalRBAModel.g:3020:1: entryRuleArea returns [EObject current=null] : iv_ruleArea= ruleArea EOF ;
+ public final EObject entryRuleArea() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleArea = null;
+
+
+ try {
+ // InternalRBAModel.g:3020:45: (iv_ruleArea= ruleArea EOF )
+ // InternalRBAModel.g:3021:2: iv_ruleArea= ruleArea EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAreaRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleArea=ruleArea();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleArea;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleArea"
+
+
+ // $ANTLR start "ruleArea"
+ // InternalRBAModel.g:3027:1: ruleArea returns [EObject current=null] : ( () otherlv_1= 'Area' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_16= '}' ) ;
+ public final EObject ruleArea() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_10=null;
+ Token otherlv_11=null;
+ Token otherlv_13=null;
+ Token otherlv_16=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ Enumerator lv_arbitrationPolicy_8_0 = null;
+
+ EObject lv_size_9_0 = null;
+
+ EObject lv_visibility_12_0 = null;
+
+ EObject lv_zorder_14_0 = null;
+
+ EObject lv_tags_15_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:3033:2: ( ( () otherlv_1= 'Area' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_16= '}' ) )
+ // InternalRBAModel.g:3034:2: ( () otherlv_1= 'Area' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_16= '}' )
+ {
+ // InternalRBAModel.g:3034:2: ( () otherlv_1= 'Area' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_16= '}' )
+ // InternalRBAModel.g:3035:3: () otherlv_1= 'Area' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_16= '}'
+ {
+ // InternalRBAModel.g:3035:3: ()
+ // InternalRBAModel.g:3036:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getAreaAccess().getAreaAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,36,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getAreaAccess().getAreaKeyword_1());
+
+ }
+ // InternalRBAModel.g:3046:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:3047:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:3047:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:3048:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_37); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getAreaAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:3069:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )* ) ) )
+ // InternalRBAModel.g:3070:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )* ) )
+ {
+ // InternalRBAModel.g:3070:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )* ) )
+ // InternalRBAModel.g:3071:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:3074:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )* )
+ // InternalRBAModel.g:3075:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )*
+ {
+ // InternalRBAModel.g:3075:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) ) | ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) ) )*
+ loop52:
+ do {
+ int alt52=7;
+ int LA52_0 = input.LA(1);
+
+ if ( LA52_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 0) ) {
+ alt52=1;
+ }
+ else if ( LA52_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 1) ) {
+ alt52=2;
+ }
+ else if ( ( LA52_0 == 47 || LA52_0 == 50 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 2) ) {
+ alt52=3;
+ }
+ else if ( LA52_0 >= 60 && LA52_0 <= 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 3) ) {
+ alt52=4;
+ }
+ else if ( LA52_0 == 62 && getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 4) ) {
+ alt52=5;
+ }
+ else if ( ( LA52_0 == 22 || LA52_0 == 24 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 5) ) {
+ alt52=6;
+ }
+
+
+ switch (alt52) {
+ case 1 :
+ // InternalRBAModel.g:3076:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3076:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:3077:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:3077:101: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:3078:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:3081:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:3081:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "true");
+ }
+ // InternalRBAModel.g:3081:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:3081:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getAreaAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:3085:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:3086:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:3086:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:3087:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_37);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:3110:4: ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3110:4: ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) )
+ // InternalRBAModel.g:3111:5: {...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:3111:101: ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) )
+ // InternalRBAModel.g:3112:6: ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:3115:9: ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) )
+ // InternalRBAModel.g:3115:10: {...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "true");
+ }
+ // InternalRBAModel.g:3115:19: (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) )
+ // InternalRBAModel.g:3115:20: otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) )
+ {
+ otherlv_7=(Token)match(input,59,FOLLOW_38); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getAreaAccess().getArbitrationPolicyKeyword_4_1_0());
+
+ }
+ // InternalRBAModel.g:3119:9: ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) )
+ // InternalRBAModel.g:3120:10: (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy )
+ {
+ // InternalRBAModel.g:3120:10: (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy )
+ // InternalRBAModel.g:3121:11: lv_arbitrationPolicy_8_0= ruleArbitrationPolicy
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaAccess().getArbitrationPolicyArbitrationPolicyEnumRuleCall_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_37);
+ lv_arbitrationPolicy_8_0=ruleArbitrationPolicy();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ set(
+ current,
+ "arbitrationPolicy",
+ lv_arbitrationPolicy_8_0,
+ "rba.tool.editor.RBAModel.ArbitrationPolicy");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:3144:4: ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) )
+ {
+ // InternalRBAModel.g:3144:4: ({...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ ) )
+ // InternalRBAModel.g:3145:5: {...}? => ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 2)");
+ }
+ // InternalRBAModel.g:3145:101: ( ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+ )
+ // InternalRBAModel.g:3146:6: ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 2);
+ // InternalRBAModel.g:3149:9: ({...}? => ( (lv_size_9_0= ruleSizeIdentifier ) ) )+
+ int cnt49=0;
+ loop49:
+ do {
+ int alt49=2;
+ int LA49_0 = input.LA(1);
+
+ if ( (LA49_0==50) ) {
+ int LA49_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt49=1;
+ }
+
+
+ }
+ else if ( (LA49_0==47) ) {
+ int LA49_3 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt49=1;
+ }
+
+
+ }
+
+
+ switch (alt49) {
+ case 1 :
+ // InternalRBAModel.g:3149:10: {...}? => ( (lv_size_9_0= ruleSizeIdentifier ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "true");
+ }
+ // InternalRBAModel.g:3149:19: ( (lv_size_9_0= ruleSizeIdentifier ) )
+ // InternalRBAModel.g:3149:20: (lv_size_9_0= ruleSizeIdentifier )
+ {
+ // InternalRBAModel.g:3149:20: (lv_size_9_0= ruleSizeIdentifier )
+ // InternalRBAModel.g:3150:10: lv_size_9_0= ruleSizeIdentifier
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaAccess().getSizeSizeIdentifierParserRuleCall_4_2_0());
+
+ }
+ pushFollow(FOLLOW_37);
+ lv_size_9_0=ruleSizeIdentifier();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ add(
+ current,
+ "size",
+ lv_size_9_0,
+ "rba.tool.editor.RBAModel.SizeIdentifier");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt49 >= 1 ) break loop49;
+ if (state.backtracking>0) {state.failed=true; return current;}
+ EarlyExitException eee =
+ new EarlyExitException(49, input);
+ throw eee;
+ }
+ cnt49++;
+ } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:3172:4: ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3172:4: ({...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) ) )
+ // InternalRBAModel.g:3173:5: {...}? => ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 3) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 3)");
+ }
+ // InternalRBAModel.g:3173:101: ( ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) ) )
+ // InternalRBAModel.g:3174:6: ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 3);
+ // InternalRBAModel.g:3177:9: ({...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) ) )
+ // InternalRBAModel.g:3177:10: {...}? => ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "true");
+ }
+ // InternalRBAModel.g:3177:19: ( (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) ) )
+ // InternalRBAModel.g:3177:20: (otherlv_10= 'visibility:' | otherlv_11= 'priority:' ) ( (lv_visibility_12_0= ruleVExpression ) )
+ {
+ // InternalRBAModel.g:3177:20: (otherlv_10= 'visibility:' | otherlv_11= 'priority:' )
+ int alt50=2;
+ int LA50_0 = input.LA(1);
+
+ if ( (LA50_0==60) ) {
+ alt50=1;
+ }
+ else if ( (LA50_0==61) ) {
+ alt50=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 50, 0, input);
+
+ throw nvae;
+ }
+ switch (alt50) {
+ case 1 :
+ // InternalRBAModel.g:3178:10: otherlv_10= 'visibility:'
+ {
+ otherlv_10=(Token)match(input,60,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getAreaAccess().getVisibilityKeyword_4_3_0_0());
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:3183:10: otherlv_11= 'priority:'
+ {
+ otherlv_11=(Token)match(input,61,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_11, grammarAccess.getAreaAccess().getPriorityKeyword_4_3_0_1());
+
+ }
+
+ }
+ break;
+
+ }
+
+ // InternalRBAModel.g:3188:9: ( (lv_visibility_12_0= ruleVExpression ) )
+ // InternalRBAModel.g:3189:10: (lv_visibility_12_0= ruleVExpression )
+ {
+ // InternalRBAModel.g:3189:10: (lv_visibility_12_0= ruleVExpression )
+ // InternalRBAModel.g:3190:11: lv_visibility_12_0= ruleVExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaAccess().getVisibilityVExpressionParserRuleCall_4_3_1_0());
+
+ }
+ pushFollow(FOLLOW_37);
+ lv_visibility_12_0=ruleVExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ set(
+ current,
+ "visibility",
+ lv_visibility_12_0,
+ "rba.tool.editor.RBAModel.VExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:3213:4: ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3213:4: ({...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) ) )
+ // InternalRBAModel.g:3214:5: {...}? => ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 4) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 4)");
+ }
+ // InternalRBAModel.g:3214:101: ( ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) ) )
+ // InternalRBAModel.g:3215:6: ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 4);
+ // InternalRBAModel.g:3218:9: ({...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) ) )
+ // InternalRBAModel.g:3218:10: {...}? => (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "true");
+ }
+ // InternalRBAModel.g:3218:19: (otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) ) )
+ // InternalRBAModel.g:3218:20: otherlv_13= 'zorder:' ( (lv_zorder_14_0= ruleVExpression ) )
+ {
+ otherlv_13=(Token)match(input,62,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_13, grammarAccess.getAreaAccess().getZorderKeyword_4_4_0());
+
+ }
+ // InternalRBAModel.g:3222:9: ( (lv_zorder_14_0= ruleVExpression ) )
+ // InternalRBAModel.g:3223:10: (lv_zorder_14_0= ruleVExpression )
+ {
+ // InternalRBAModel.g:3223:10: (lv_zorder_14_0= ruleVExpression )
+ // InternalRBAModel.g:3224:11: lv_zorder_14_0= ruleVExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaAccess().getZorderVExpressionParserRuleCall_4_4_1_0());
+
+ }
+ pushFollow(FOLLOW_37);
+ lv_zorder_14_0=ruleVExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ set(
+ current,
+ "zorder",
+ lv_zorder_14_0,
+ "rba.tool.editor.RBAModel.VExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 6 :
+ // InternalRBAModel.g:3247:4: ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) )
+ {
+ // InternalRBAModel.g:3247:4: ({...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ ) )
+ // InternalRBAModel.g:3248:5: {...}? => ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 5) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "getUnorderedGroupHelper().canSelect(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 5)");
+ }
+ // InternalRBAModel.g:3248:101: ( ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+ )
+ // InternalRBAModel.g:3249:6: ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getAreaAccess().getUnorderedGroup_4(), 5);
+ // InternalRBAModel.g:3252:9: ({...}? => ( (lv_tags_15_0= ruleTag ) ) )+
+ int cnt51=0;
+ loop51:
+ do {
+ int alt51=2;
+ int LA51_0 = input.LA(1);
+
+ if ( (LA51_0==22) ) {
+ int LA51_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt51=1;
+ }
+
+
+ }
+ else if ( (LA51_0==24) ) {
+ int LA51_3 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt51=1;
+ }
+
+
+ }
+
+
+ switch (alt51) {
+ case 1 :
+ // InternalRBAModel.g:3252:10: {...}? => ( (lv_tags_15_0= ruleTag ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleArea", "true");
+ }
+ // InternalRBAModel.g:3252:19: ( (lv_tags_15_0= ruleTag ) )
+ // InternalRBAModel.g:3252:20: (lv_tags_15_0= ruleTag )
+ {
+ // InternalRBAModel.g:3252:20: (lv_tags_15_0= ruleTag )
+ // InternalRBAModel.g:3253:10: lv_tags_15_0= ruleTag
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getAreaAccess().getTagsTagParserRuleCall_4_5_0());
+
+ }
+ pushFollow(FOLLOW_37);
+ lv_tags_15_0=ruleTag();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getAreaRule());
+ }
+ add(
+ current,
+ "tags",
+ lv_tags_15_0,
+ "rba.tool.editor.RBAModel.Tag");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt51 >= 1 ) break loop51;
+ if (state.backtracking>0) {state.failed=true; return current;}
+ EarlyExitException eee =
+ new EarlyExitException(51, input);
+ throw eee;
+ }
+ cnt51++;
+ } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop52;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getAreaAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_16=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_16, grammarAccess.getAreaAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleArea"
+
+
+ // $ANTLR start "entryRuleZone"
+ // InternalRBAModel.g:3290:1: entryRuleZone returns [EObject current=null] : iv_ruleZone= ruleZone EOF ;
+ public final EObject entryRuleZone() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleZone = null;
+
+
+ try {
+ // InternalRBAModel.g:3290:45: (iv_ruleZone= ruleZone EOF )
+ // InternalRBAModel.g:3291:2: iv_ruleZone= ruleZone EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getZoneRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleZone=ruleZone();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleZone;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleZone"
+
+
+ // $ANTLR start "ruleZone"
+ // InternalRBAModel.g:3297:1: ruleZone returns [EObject current=null] : ( () otherlv_1= 'Zone' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_15= '}' ) ;
+ public final EObject ruleZone() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_9=null;
+ Token otherlv_10=null;
+ Token otherlv_12=null;
+ Token otherlv_15=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ Enumerator lv_arbitrationPolicy_8_0 = null;
+
+ EObject lv_visibility_11_0 = null;
+
+ EObject lv_attenuate_13_0 = null;
+
+ EObject lv_tags_14_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:3303:2: ( ( () otherlv_1= 'Zone' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_15= '}' ) )
+ // InternalRBAModel.g:3304:2: ( () otherlv_1= 'Zone' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_15= '}' )
+ {
+ // InternalRBAModel.g:3304:2: ( () otherlv_1= 'Zone' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_15= '}' )
+ // InternalRBAModel.g:3305:3: () otherlv_1= 'Zone' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )* ) ) ) otherlv_15= '}'
+ {
+ // InternalRBAModel.g:3305:3: ()
+ // InternalRBAModel.g:3306:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getZoneAccess().getZoneAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,37,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getZoneAccess().getZoneKeyword_1());
+
+ }
+ // InternalRBAModel.g:3316:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:3317:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:3317:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:3318:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getZoneAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_40); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getZoneAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:3339:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )* ) ) )
+ // InternalRBAModel.g:3340:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )* ) )
+ {
+ // InternalRBAModel.g:3340:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )* ) )
+ // InternalRBAModel.g:3341:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:3344:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )* )
+ // InternalRBAModel.g:3345:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )*
+ {
+ // InternalRBAModel.g:3345:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) ) )*
+ loop55:
+ do {
+ int alt55=6;
+ int LA55_0 = input.LA(1);
+
+ if ( LA55_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 0) ) {
+ alt55=1;
+ }
+ else if ( LA55_0 == 59 && getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 1) ) {
+ alt55=2;
+ }
+ else if ( LA55_0 >= 60 && LA55_0 <= 61 && getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 2) ) {
+ alt55=3;
+ }
+ else if ( LA55_0 == 63 && getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 3) ) {
+ alt55=4;
+ }
+ else if ( ( LA55_0 == 22 || LA55_0 == 24 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 4) ) {
+ alt55=5;
+ }
+
+
+ switch (alt55) {
+ case 1 :
+ // InternalRBAModel.g:3346:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3346:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:3347:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZone", "getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:3347:101: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:3348:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:3351:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:3351:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZone", "true");
+ }
+ // InternalRBAModel.g:3351:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:3351:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getZoneAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:3355:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:3356:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:3356:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:3357:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getZoneAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_40);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:3380:4: ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3380:4: ({...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) ) )
+ // InternalRBAModel.g:3381:5: {...}? => ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZone", "getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:3381:101: ( ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) ) )
+ // InternalRBAModel.g:3382:6: ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:3385:9: ({...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) ) )
+ // InternalRBAModel.g:3385:10: {...}? => (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZone", "true");
+ }
+ // InternalRBAModel.g:3385:19: (otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) ) )
+ // InternalRBAModel.g:3385:20: otherlv_7= 'arbitrationPolicy:' ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) )
+ {
+ otherlv_7=(Token)match(input,59,FOLLOW_38); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getZoneAccess().getArbitrationPolicyKeyword_4_1_0());
+
+ }
+ // InternalRBAModel.g:3389:9: ( (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy ) )
+ // InternalRBAModel.g:3390:10: (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy )
+ {
+ // InternalRBAModel.g:3390:10: (lv_arbitrationPolicy_8_0= ruleArbitrationPolicy )
+ // InternalRBAModel.g:3391:11: lv_arbitrationPolicy_8_0= ruleArbitrationPolicy
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getZoneAccess().getArbitrationPolicyArbitrationPolicyEnumRuleCall_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_40);
+ lv_arbitrationPolicy_8_0=ruleArbitrationPolicy();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ set(
+ current,
+ "arbitrationPolicy",
+ lv_arbitrationPolicy_8_0,
+ "rba.tool.editor.RBAModel.ArbitrationPolicy");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:3414:4: ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3414:4: ({...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) ) )
+ // InternalRBAModel.g:3415:5: {...}? => ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZone", "getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 2)");
+ }
+ // InternalRBAModel.g:3415:101: ( ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) ) )
+ // InternalRBAModel.g:3416:6: ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 2);
+ // InternalRBAModel.g:3419:9: ({...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) ) )
+ // InternalRBAModel.g:3419:10: {...}? => ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZone", "true");
+ }
+ // InternalRBAModel.g:3419:19: ( (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) ) )
+ // InternalRBAModel.g:3419:20: (otherlv_9= 'visibility:' | otherlv_10= 'priority:' ) ( (lv_visibility_11_0= ruleVExpression ) )
+ {
+ // InternalRBAModel.g:3419:20: (otherlv_9= 'visibility:' | otherlv_10= 'priority:' )
+ int alt53=2;
+ int LA53_0 = input.LA(1);
+
+ if ( (LA53_0==60) ) {
+ alt53=1;
+ }
+ else if ( (LA53_0==61) ) {
+ alt53=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 53, 0, input);
+
+ throw nvae;
+ }
+ switch (alt53) {
+ case 1 :
+ // InternalRBAModel.g:3420:10: otherlv_9= 'visibility:'
+ {
+ otherlv_9=(Token)match(input,60,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_9, grammarAccess.getZoneAccess().getVisibilityKeyword_4_2_0_0());
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:3425:10: otherlv_10= 'priority:'
+ {
+ otherlv_10=(Token)match(input,61,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getZoneAccess().getPriorityKeyword_4_2_0_1());
+
+ }
+
+ }
+ break;
+
+ }
+
+ // InternalRBAModel.g:3430:9: ( (lv_visibility_11_0= ruleVExpression ) )
+ // InternalRBAModel.g:3431:10: (lv_visibility_11_0= ruleVExpression )
+ {
+ // InternalRBAModel.g:3431:10: (lv_visibility_11_0= ruleVExpression )
+ // InternalRBAModel.g:3432:11: lv_visibility_11_0= ruleVExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getZoneAccess().getVisibilityVExpressionParserRuleCall_4_2_1_0());
+
+ }
+ pushFollow(FOLLOW_40);
+ lv_visibility_11_0=ruleVExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ set(
+ current,
+ "visibility",
+ lv_visibility_11_0,
+ "rba.tool.editor.RBAModel.VExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:3455:4: ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3455:4: ({...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) ) )
+ // InternalRBAModel.g:3456:5: {...}? => ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 3) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZone", "getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 3)");
+ }
+ // InternalRBAModel.g:3456:101: ( ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) ) )
+ // InternalRBAModel.g:3457:6: ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 3);
+ // InternalRBAModel.g:3460:9: ({...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) ) )
+ // InternalRBAModel.g:3460:10: {...}? => (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZone", "true");
+ }
+ // InternalRBAModel.g:3460:19: (otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) ) )
+ // InternalRBAModel.g:3460:20: otherlv_12= 'attenuateValue:' ( (lv_attenuate_13_0= ruleIntegerValue ) )
+ {
+ otherlv_12=(Token)match(input,63,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_12, grammarAccess.getZoneAccess().getAttenuateValueKeyword_4_3_0());
+
+ }
+ // InternalRBAModel.g:3464:9: ( (lv_attenuate_13_0= ruleIntegerValue ) )
+ // InternalRBAModel.g:3465:10: (lv_attenuate_13_0= ruleIntegerValue )
+ {
+ // InternalRBAModel.g:3465:10: (lv_attenuate_13_0= ruleIntegerValue )
+ // InternalRBAModel.g:3466:11: lv_attenuate_13_0= ruleIntegerValue
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getZoneAccess().getAttenuateIntegerValueParserRuleCall_4_3_1_0());
+
+ }
+ pushFollow(FOLLOW_40);
+ lv_attenuate_13_0=ruleIntegerValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ set(
+ current,
+ "attenuate",
+ lv_attenuate_13_0,
+ "rba.tool.editor.RBAModel.IntegerValue");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:3489:4: ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) )
+ {
+ // InternalRBAModel.g:3489:4: ({...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ ) )
+ // InternalRBAModel.g:3490:5: {...}? => ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 4) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZone", "getUnorderedGroupHelper().canSelect(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 4)");
+ }
+ // InternalRBAModel.g:3490:101: ( ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+ )
+ // InternalRBAModel.g:3491:6: ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getZoneAccess().getUnorderedGroup_4(), 4);
+ // InternalRBAModel.g:3494:9: ({...}? => ( (lv_tags_14_0= ruleTag ) ) )+
+ int cnt54=0;
+ loop54:
+ do {
+ int alt54=2;
+ int LA54_0 = input.LA(1);
+
+ if ( (LA54_0==22) ) {
+ int LA54_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt54=1;
+ }
+
+
+ }
+ else if ( (LA54_0==24) ) {
+ int LA54_3 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt54=1;
+ }
+
+
+ }
+
+
+ switch (alt54) {
+ case 1 :
+ // InternalRBAModel.g:3494:10: {...}? => ( (lv_tags_14_0= ruleTag ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleZone", "true");
+ }
+ // InternalRBAModel.g:3494:19: ( (lv_tags_14_0= ruleTag ) )
+ // InternalRBAModel.g:3494:20: (lv_tags_14_0= ruleTag )
+ {
+ // InternalRBAModel.g:3494:20: (lv_tags_14_0= ruleTag )
+ // InternalRBAModel.g:3495:10: lv_tags_14_0= ruleTag
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getZoneAccess().getTagsTagParserRuleCall_4_4_0());
+
+ }
+ pushFollow(FOLLOW_40);
+ lv_tags_14_0=ruleTag();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getZoneRule());
+ }
+ add(
+ current,
+ "tags",
+ lv_tags_14_0,
+ "rba.tool.editor.RBAModel.Tag");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt54 >= 1 ) break loop54;
+ if (state.backtracking>0) {state.failed=true; return current;}
+ EarlyExitException eee =
+ new EarlyExitException(54, input);
+ throw eee;
+ }
+ cnt54++;
+ } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop55;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getZoneAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_15=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_15, grammarAccess.getZoneAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleZone"
+
+
+ // $ANTLR start "entryRuleViewContentState"
+ // InternalRBAModel.g:3532:1: entryRuleViewContentState returns [EObject current=null] : iv_ruleViewContentState= ruleViewContentState EOF ;
+ public final EObject entryRuleViewContentState() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleViewContentState = null;
+
+
+ try {
+ // InternalRBAModel.g:3532:57: (iv_ruleViewContentState= ruleViewContentState EOF )
+ // InternalRBAModel.g:3533:2: iv_ruleViewContentState= ruleViewContentState EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getViewContentStateRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleViewContentState=ruleViewContentState();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleViewContentState;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleViewContentState"
+
+
+ // $ANTLR start "ruleViewContentState"
+ // InternalRBAModel.g:3539:1: ruleViewContentState returns [EObject current=null] : ( () otherlv_1= 'State' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) ) otherlv_10= '}' ) ;
+ public final EObject ruleViewContentState() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ EObject lv_value_9_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:3545:2: ( ( () otherlv_1= 'State' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) ) otherlv_10= '}' ) )
+ // InternalRBAModel.g:3546:2: ( () otherlv_1= 'State' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) ) otherlv_10= '}' )
+ {
+ // InternalRBAModel.g:3546:2: ( () otherlv_1= 'State' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) ) otherlv_10= '}' )
+ // InternalRBAModel.g:3547:3: () otherlv_1= 'State' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) ) otherlv_10= '}'
+ {
+ // InternalRBAModel.g:3547:3: ()
+ // InternalRBAModel.g:3548:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getViewContentStateAccess().getViewContentStateAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,64,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getViewContentStateAccess().getStateKeyword_1());
+
+ }
+ // InternalRBAModel.g:3558:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:3559:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:3559:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:3560:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentStateAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentStateRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_41); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getViewContentStateAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:3581:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:3582:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:3582:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) )
+ // InternalRBAModel.g:3583:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:3586:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* )
+ // InternalRBAModel.g:3587:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )*
+ {
+ // InternalRBAModel.g:3587:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )*
+ loop57:
+ do {
+ int alt57=3;
+ int LA57_0 = input.LA(1);
+
+ if ( LA57_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 0) ) {
+ alt57=1;
+ }
+ else if ( ( LA57_0 == 61 || LA57_0 == 65 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 1) ) {
+ alt57=2;
+ }
+
+
+ switch (alt57) {
+ case 1 :
+ // InternalRBAModel.g:3588:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3588:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:3589:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContentState", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:3589:113: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:3590:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:3593:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:3593:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContentState", "true");
+ }
+ // InternalRBAModel.g:3593:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:3593:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getViewContentStateAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:3597:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:3598:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:3598:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:3599:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentStateAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_41);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentStateRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:3622:4: ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3622:4: ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) )
+ // InternalRBAModel.g:3623:5: {...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContentState", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:3623:113: ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) )
+ // InternalRBAModel.g:3624:6: ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:3627:9: ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) )
+ // InternalRBAModel.g:3627:10: {...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContentState", "true");
+ }
+ // InternalRBAModel.g:3627:19: ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) )
+ // InternalRBAModel.g:3627:20: (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) )
+ {
+ // InternalRBAModel.g:3627:20: (otherlv_7= 'priority:' | otherlv_8= 'value:' )
+ int alt56=2;
+ int LA56_0 = input.LA(1);
+
+ if ( (LA56_0==61) ) {
+ alt56=1;
+ }
+ else if ( (LA56_0==65) ) {
+ alt56=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 56, 0, input);
+
+ throw nvae;
+ }
+ switch (alt56) {
+ case 1 :
+ // InternalRBAModel.g:3628:10: otherlv_7= 'priority:'
+ {
+ otherlv_7=(Token)match(input,61,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getViewContentStateAccess().getPriorityKeyword_4_1_0_0());
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:3633:10: otherlv_8= 'value:'
+ {
+ otherlv_8=(Token)match(input,65,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getViewContentStateAccess().getValueKeyword_4_1_0_1());
+
+ }
+
+ }
+ break;
+
+ }
+
+ // InternalRBAModel.g:3638:9: ( (lv_value_9_0= ruleVExpression ) )
+ // InternalRBAModel.g:3639:10: (lv_value_9_0= ruleVExpression )
+ {
+ // InternalRBAModel.g:3639:10: (lv_value_9_0= ruleVExpression )
+ // InternalRBAModel.g:3640:11: lv_value_9_0= ruleVExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentStateAccess().getValueVExpressionParserRuleCall_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_41);
+ lv_value_9_0=ruleVExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentStateRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_9_0,
+ "rba.tool.editor.RBAModel.VExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop57;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getViewContentStateAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_10=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getViewContentStateAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleViewContentState"
+
+
+ // $ANTLR start "entryRuleSoundContentState"
+ // InternalRBAModel.g:3678:1: entryRuleSoundContentState returns [EObject current=null] : iv_ruleSoundContentState= ruleSoundContentState EOF ;
+ public final EObject entryRuleSoundContentState() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleSoundContentState = null;
+
+
+ try {
+ // InternalRBAModel.g:3678:58: (iv_ruleSoundContentState= ruleSoundContentState EOF )
+ // InternalRBAModel.g:3679:2: iv_ruleSoundContentState= ruleSoundContentState EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getSoundContentStateRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleSoundContentState=ruleSoundContentState();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleSoundContentState;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleSoundContentState"
+
+
+ // $ANTLR start "ruleSoundContentState"
+ // InternalRBAModel.g:3685:1: ruleSoundContentState returns [EObject current=null] : ( () otherlv_1= 'State' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) ) otherlv_10= '}' ) ;
+ public final EObject ruleSoundContentState() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ EObject lv_value_9_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:3691:2: ( ( () otherlv_1= 'State' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) ) otherlv_10= '}' ) )
+ // InternalRBAModel.g:3692:2: ( () otherlv_1= 'State' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) ) otherlv_10= '}' )
+ {
+ // InternalRBAModel.g:3692:2: ( () otherlv_1= 'State' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) ) otherlv_10= '}' )
+ // InternalRBAModel.g:3693:3: () otherlv_1= 'State' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) ) otherlv_10= '}'
+ {
+ // InternalRBAModel.g:3693:3: ()
+ // InternalRBAModel.g:3694:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getSoundContentStateAccess().getSoundContentStateAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,64,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getSoundContentStateAccess().getStateKeyword_1());
+
+ }
+ // InternalRBAModel.g:3704:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:3705:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:3705:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:3706:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentStateAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSoundContentStateRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_41); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getSoundContentStateAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:3727:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:3728:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:3728:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* ) )
+ // InternalRBAModel.g:3729:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:3732:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )* )
+ // InternalRBAModel.g:3733:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )*
+ {
+ // InternalRBAModel.g:3733:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) ) )*
+ loop59:
+ do {
+ int alt59=3;
+ int LA59_0 = input.LA(1);
+
+ if ( LA59_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 0) ) {
+ alt59=1;
+ }
+ else if ( ( LA59_0 == 61 || LA59_0 == 65 ) && getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 1) ) {
+ alt59=2;
+ }
+
+
+ switch (alt59) {
+ case 1 :
+ // InternalRBAModel.g:3734:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3734:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:3735:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContentState", "getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:3735:114: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:3736:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:3739:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:3739:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContentState", "true");
+ }
+ // InternalRBAModel.g:3739:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:3739:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getSoundContentStateAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:3743:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:3744:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:3744:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:3745:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentStateAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_41);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSoundContentStateRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:3768:4: ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:3768:4: ({...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) ) )
+ // InternalRBAModel.g:3769:5: {...}? => ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContentState", "getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:3769:114: ( ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) ) )
+ // InternalRBAModel.g:3770:6: ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:3773:9: ({...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) ) )
+ // InternalRBAModel.g:3773:10: {...}? => ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContentState", "true");
+ }
+ // InternalRBAModel.g:3773:19: ( (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) ) )
+ // InternalRBAModel.g:3773:20: (otherlv_7= 'priority:' | otherlv_8= 'value:' ) ( (lv_value_9_0= ruleVExpression ) )
+ {
+ // InternalRBAModel.g:3773:20: (otherlv_7= 'priority:' | otherlv_8= 'value:' )
+ int alt58=2;
+ int LA58_0 = input.LA(1);
+
+ if ( (LA58_0==61) ) {
+ alt58=1;
+ }
+ else if ( (LA58_0==65) ) {
+ alt58=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 58, 0, input);
+
+ throw nvae;
+ }
+ switch (alt58) {
+ case 1 :
+ // InternalRBAModel.g:3774:10: otherlv_7= 'priority:'
+ {
+ otherlv_7=(Token)match(input,61,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getSoundContentStateAccess().getPriorityKeyword_4_1_0_0());
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:3779:10: otherlv_8= 'value:'
+ {
+ otherlv_8=(Token)match(input,65,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getSoundContentStateAccess().getValueKeyword_4_1_0_1());
+
+ }
+
+ }
+ break;
+
+ }
+
+ // InternalRBAModel.g:3784:9: ( (lv_value_9_0= ruleVExpression ) )
+ // InternalRBAModel.g:3785:10: (lv_value_9_0= ruleVExpression )
+ {
+ // InternalRBAModel.g:3785:10: (lv_value_9_0= ruleVExpression )
+ // InternalRBAModel.g:3786:11: lv_value_9_0= ruleVExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentStateAccess().getValueVExpressionParserRuleCall_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_41);
+ lv_value_9_0=ruleVExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSoundContentStateRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_9_0,
+ "rba.tool.editor.RBAModel.VExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop59;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getSoundContentStateAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_10=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getSoundContentStateAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleSoundContentState"
+
+
+ // $ANTLR start "entryRuleProject"
+ // InternalRBAModel.g:3824:1: entryRuleProject returns [EObject current=null] : iv_ruleProject= ruleProject EOF ;
+ public final EObject entryRuleProject() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleProject = null;
+
+
+ try {
+ // InternalRBAModel.g:3824:48: (iv_ruleProject= ruleProject EOF )
+ // InternalRBAModel.g:3825:2: iv_ruleProject= ruleProject EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getProjectRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleProject=ruleProject();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleProject;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleProject"
+
+
+ // $ANTLR start "ruleProject"
+ // InternalRBAModel.g:3831:1: ruleProject returns [EObject current=null] : ( () otherlv_1= 'Project' ( (lv_dummyName_2_0= ruleQualifiedName ) )? otherlv_3= '{' otherlv_4= 'version:' ( (lv_version_5_0= ruleEString ) ) otherlv_6= '}' ) ;
+ public final EObject ruleProject() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ AntlrDatatypeRuleToken lv_dummyName_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_version_5_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:3837:2: ( ( () otherlv_1= 'Project' ( (lv_dummyName_2_0= ruleQualifiedName ) )? otherlv_3= '{' otherlv_4= 'version:' ( (lv_version_5_0= ruleEString ) ) otherlv_6= '}' ) )
+ // InternalRBAModel.g:3838:2: ( () otherlv_1= 'Project' ( (lv_dummyName_2_0= ruleQualifiedName ) )? otherlv_3= '{' otherlv_4= 'version:' ( (lv_version_5_0= ruleEString ) ) otherlv_6= '}' )
+ {
+ // InternalRBAModel.g:3838:2: ( () otherlv_1= 'Project' ( (lv_dummyName_2_0= ruleQualifiedName ) )? otherlv_3= '{' otherlv_4= 'version:' ( (lv_version_5_0= ruleEString ) ) otherlv_6= '}' )
+ // InternalRBAModel.g:3839:3: () otherlv_1= 'Project' ( (lv_dummyName_2_0= ruleQualifiedName ) )? otherlv_3= '{' otherlv_4= 'version:' ( (lv_version_5_0= ruleEString ) ) otherlv_6= '}'
+ {
+ // InternalRBAModel.g:3839:3: ()
+ // InternalRBAModel.g:3840:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getProjectAccess().getProjectAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,66,FOLLOW_42); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getProjectAccess().getProjectKeyword_1());
+
+ }
+ // InternalRBAModel.g:3850:3: ( (lv_dummyName_2_0= ruleQualifiedName ) )?
+ int alt60=2;
+ int LA60_0 = input.LA(1);
+
+ if ( (LA60_0==RULE_ID) ) {
+ alt60=1;
+ }
+ switch (alt60) {
+ case 1 :
+ // InternalRBAModel.g:3851:4: (lv_dummyName_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:3851:4: (lv_dummyName_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:3852:5: lv_dummyName_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getProjectAccess().getDummyNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_dummyName_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getProjectRule());
+ }
+ set(
+ current,
+ "dummyName",
+ lv_dummyName_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_43); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getProjectAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ otherlv_4=(Token)match(input,67,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getProjectAccess().getVersionKeyword_4());
+
+ }
+ // InternalRBAModel.g:3877:3: ( (lv_version_5_0= ruleEString ) )
+ // InternalRBAModel.g:3878:4: (lv_version_5_0= ruleEString )
+ {
+ // InternalRBAModel.g:3878:4: (lv_version_5_0= ruleEString )
+ // InternalRBAModel.g:3879:5: lv_version_5_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getProjectAccess().getVersionEStringParserRuleCall_5_0());
+
+ }
+ pushFollow(FOLLOW_44);
+ lv_version_5_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getProjectRule());
+ }
+ set(
+ current,
+ "version",
+ lv_version_5_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_6=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getProjectAccess().getRightCurlyBracketKeyword_6());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleProject"
+
+
+ // $ANTLR start "entryRuleVExpression"
+ // InternalRBAModel.g:3904:1: entryRuleVExpression returns [EObject current=null] : iv_ruleVExpression= ruleVExpression EOF ;
+ public final EObject entryRuleVExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleVExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:3904:52: (iv_ruleVExpression= ruleVExpression EOF )
+ // InternalRBAModel.g:3905:2: iv_ruleVExpression= ruleVExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getVExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleVExpression=ruleVExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleVExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleVExpression"
+
+
+ // $ANTLR start "ruleVExpression"
+ // InternalRBAModel.g:3911:1: ruleVExpression returns [EObject current=null] : this_VPlusOperator_0= ruleVPlusOperator ;
+ public final EObject ruleVExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_VPlusOperator_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:3917:2: (this_VPlusOperator_0= ruleVPlusOperator )
+ // InternalRBAModel.g:3918:2: this_VPlusOperator_0= ruleVPlusOperator
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVExpressionAccess().getVPlusOperatorParserRuleCall());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_VPlusOperator_0=ruleVPlusOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_VPlusOperator_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVExpression"
+
+
+ // $ANTLR start "entryRuleVPlusOperator"
+ // InternalRBAModel.g:3929:1: entryRuleVPlusOperator returns [EObject current=null] : iv_ruleVPlusOperator= ruleVPlusOperator EOF ;
+ public final EObject entryRuleVPlusOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleVPlusOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:3929:54: (iv_ruleVPlusOperator= ruleVPlusOperator EOF )
+ // InternalRBAModel.g:3930:2: iv_ruleVPlusOperator= ruleVPlusOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getVPlusOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleVPlusOperator=ruleVPlusOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleVPlusOperator;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleVPlusOperator"
+
+
+ // $ANTLR start "ruleVPlusOperator"
+ // InternalRBAModel.g:3936:1: ruleVPlusOperator returns [EObject current=null] : (this_VComparisonAnd_0= ruleVComparisonAnd ( ( ( ( () ruleOpPlus ) )=> ( () ruleOpPlus ) ) ( (lv_operand_3_0= ruleVComparisonAnd ) ) )* ) ;
+ public final EObject ruleVPlusOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_VComparisonAnd_0 = null;
+
+ EObject lv_operand_3_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:3942:2: ( (this_VComparisonAnd_0= ruleVComparisonAnd ( ( ( ( () ruleOpPlus ) )=> ( () ruleOpPlus ) ) ( (lv_operand_3_0= ruleVComparisonAnd ) ) )* ) )
+ // InternalRBAModel.g:3943:2: (this_VComparisonAnd_0= ruleVComparisonAnd ( ( ( ( () ruleOpPlus ) )=> ( () ruleOpPlus ) ) ( (lv_operand_3_0= ruleVComparisonAnd ) ) )* )
+ {
+ // InternalRBAModel.g:3943:2: (this_VComparisonAnd_0= ruleVComparisonAnd ( ( ( ( () ruleOpPlus ) )=> ( () ruleOpPlus ) ) ( (lv_operand_3_0= ruleVComparisonAnd ) ) )* )
+ // InternalRBAModel.g:3944:3: this_VComparisonAnd_0= ruleVComparisonAnd ( ( ( ( () ruleOpPlus ) )=> ( () ruleOpPlus ) ) ( (lv_operand_3_0= ruleVComparisonAnd ) ) )*
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVPlusOperatorAccess().getVComparisonAndParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_45);
+ this_VComparisonAnd_0=ruleVComparisonAnd();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_VComparisonAnd_0;
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:3952:3: ( ( ( ( () ruleOpPlus ) )=> ( () ruleOpPlus ) ) ( (lv_operand_3_0= ruleVComparisonAnd ) ) )*
+ loop61:
+ do {
+ int alt61=2;
+ int LA61_0 = input.LA(1);
+
+ if ( (LA61_0==68) && (synpred2_InternalRBAModel())) {
+ alt61=1;
+ }
+
+
+ switch (alt61) {
+ case 1 :
+ // InternalRBAModel.g:3953:4: ( ( ( () ruleOpPlus ) )=> ( () ruleOpPlus ) ) ( (lv_operand_3_0= ruleVComparisonAnd ) )
+ {
+ // InternalRBAModel.g:3953:4: ( ( ( () ruleOpPlus ) )=> ( () ruleOpPlus ) )
+ // InternalRBAModel.g:3954:5: ( ( () ruleOpPlus ) )=> ( () ruleOpPlus )
+ {
+ // InternalRBAModel.g:3960:5: ( () ruleOpPlus )
+ // InternalRBAModel.g:3961:6: () ruleOpPlus
+ {
+ // InternalRBAModel.g:3961:6: ()
+ // InternalRBAModel.g:3962:7:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getVPlusOperatorAccess().getPlusOperatorOperandAction_1_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVPlusOperatorAccess().getOpPlusParserRuleCall_1_0_0_1());
+
+ }
+ pushFollow(FOLLOW_39);
+ ruleOpPlus();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:3977:4: ( (lv_operand_3_0= ruleVComparisonAnd ) )
+ // InternalRBAModel.g:3978:5: (lv_operand_3_0= ruleVComparisonAnd )
+ {
+ // InternalRBAModel.g:3978:5: (lv_operand_3_0= ruleVComparisonAnd )
+ // InternalRBAModel.g:3979:6: lv_operand_3_0= ruleVComparisonAnd
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVPlusOperatorAccess().getOperandVComparisonAndParserRuleCall_1_1_0());
+
+ }
+ pushFollow(FOLLOW_45);
+ lv_operand_3_0=ruleVComparisonAnd();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getVPlusOperatorRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.VComparisonAnd");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop61;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVPlusOperator"
+
+
+ // $ANTLR start "entryRuleOpPlus"
+ // InternalRBAModel.g:4001:1: entryRuleOpPlus returns [String current=null] : iv_ruleOpPlus= ruleOpPlus EOF ;
+ public final String entryRuleOpPlus() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpPlus = null;
+
+
+ try {
+ // InternalRBAModel.g:4001:46: (iv_ruleOpPlus= ruleOpPlus EOF )
+ // InternalRBAModel.g:4002:2: iv_ruleOpPlus= ruleOpPlus EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpPlusRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpPlus=ruleOpPlus();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpPlus.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpPlus"
+
+
+ // $ANTLR start "ruleOpPlus"
+ // InternalRBAModel.g:4008:1: ruleOpPlus returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '+' ;
+ public final AntlrDatatypeRuleToken ruleOpPlus() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4014:2: (kw= '+' )
+ // InternalRBAModel.g:4015:2: kw= '+'
+ {
+ kw=(Token)match(input,68,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpPlusAccess().getPlusSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpPlus"
+
+
+ // $ANTLR start "entryRuleVComparisonAnd"
+ // InternalRBAModel.g:4023:1: entryRuleVComparisonAnd returns [EObject current=null] : iv_ruleVComparisonAnd= ruleVComparisonAnd EOF ;
+ public final EObject entryRuleVComparisonAnd() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleVComparisonAnd = null;
+
+
+ try {
+ // InternalRBAModel.g:4023:55: (iv_ruleVComparisonAnd= ruleVComparisonAnd EOF )
+ // InternalRBAModel.g:4024:2: iv_ruleVComparisonAnd= ruleVComparisonAnd EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getVComparisonAndRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleVComparisonAnd=ruleVComparisonAnd();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleVComparisonAnd;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleVComparisonAnd"
+
+
+ // $ANTLR start "ruleVComparisonAnd"
+ // InternalRBAModel.g:4030:1: ruleVComparisonAnd returns [EObject current=null] : (this_VRelationalExpression_0= ruleVRelationalExpression ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleVRelationalExpression ) ) )* ) ;
+ public final EObject ruleVComparisonAnd() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_VRelationalExpression_0 = null;
+
+ EObject lv_operand_3_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4036:2: ( (this_VRelationalExpression_0= ruleVRelationalExpression ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleVRelationalExpression ) ) )* ) )
+ // InternalRBAModel.g:4037:2: (this_VRelationalExpression_0= ruleVRelationalExpression ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleVRelationalExpression ) ) )* )
+ {
+ // InternalRBAModel.g:4037:2: (this_VRelationalExpression_0= ruleVRelationalExpression ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleVRelationalExpression ) ) )* )
+ // InternalRBAModel.g:4038:3: this_VRelationalExpression_0= ruleVRelationalExpression ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleVRelationalExpression ) ) )*
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVComparisonAndAccess().getVRelationalExpressionParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_46);
+ this_VRelationalExpression_0=ruleVRelationalExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_VRelationalExpression_0;
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:4046:3: ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleVRelationalExpression ) ) )*
+ loop62:
+ do {
+ int alt62=2;
+ int LA62_0 = input.LA(1);
+
+ if ( (LA62_0==78) && (synpred3_InternalRBAModel())) {
+ alt62=1;
+ }
+
+
+ switch (alt62) {
+ case 1 :
+ // InternalRBAModel.g:4047:4: ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleVRelationalExpression ) )
+ {
+ // InternalRBAModel.g:4047:4: ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) )
+ // InternalRBAModel.g:4048:5: ( ( () ruleOpAnd ) )=> ( () ruleOpAnd )
+ {
+ // InternalRBAModel.g:4054:5: ( () ruleOpAnd )
+ // InternalRBAModel.g:4055:6: () ruleOpAnd
+ {
+ // InternalRBAModel.g:4055:6: ()
+ // InternalRBAModel.g:4056:7:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getVComparisonAndAccess().getComparisonAndOperandAction_1_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVComparisonAndAccess().getOpAndParserRuleCall_1_0_0_1());
+
+ }
+ pushFollow(FOLLOW_39);
+ ruleOpAnd();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:4071:4: ( (lv_operand_3_0= ruleVRelationalExpression ) )
+ // InternalRBAModel.g:4072:5: (lv_operand_3_0= ruleVRelationalExpression )
+ {
+ // InternalRBAModel.g:4072:5: (lv_operand_3_0= ruleVRelationalExpression )
+ // InternalRBAModel.g:4073:6: lv_operand_3_0= ruleVRelationalExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVComparisonAndAccess().getOperandVRelationalExpressionParserRuleCall_1_1_0());
+
+ }
+ pushFollow(FOLLOW_46);
+ lv_operand_3_0=ruleVRelationalExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getVComparisonAndRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.VRelationalExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop62;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVComparisonAnd"
+
+
+ // $ANTLR start "entryRuleVRelationalExpression"
+ // InternalRBAModel.g:4095:1: entryRuleVRelationalExpression returns [EObject current=null] : iv_ruleVRelationalExpression= ruleVRelationalExpression EOF ;
+ public final EObject entryRuleVRelationalExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleVRelationalExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:4095:62: (iv_ruleVRelationalExpression= ruleVRelationalExpression EOF )
+ // InternalRBAModel.g:4096:2: iv_ruleVRelationalExpression= ruleVRelationalExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getVRelationalExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleVRelationalExpression=ruleVRelationalExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleVRelationalExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleVRelationalExpression"
+
+
+ // $ANTLR start "ruleVRelationalExpression"
+ // InternalRBAModel.g:4102:1: ruleVRelationalExpression returns [EObject current=null] : (this_VPrimaryExpression_0= ruleVPrimaryExpression | ( () ruleOpMuchGreaterThan ( (lv_operand_3_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpEqualTo ( (lv_operand_6_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpGreaterThan ( (lv_operand_9_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpLowerThan ( (lv_operand_12_0= ruleVPrimaryExpression ) ) ) ) ;
+ public final EObject ruleVRelationalExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_VPrimaryExpression_0 = null;
+
+ EObject lv_operand_3_0 = null;
+
+ EObject lv_operand_6_0 = null;
+
+ EObject lv_operand_9_0 = null;
+
+ EObject lv_operand_12_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4108:2: ( (this_VPrimaryExpression_0= ruleVPrimaryExpression | ( () ruleOpMuchGreaterThan ( (lv_operand_3_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpEqualTo ( (lv_operand_6_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpGreaterThan ( (lv_operand_9_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpLowerThan ( (lv_operand_12_0= ruleVPrimaryExpression ) ) ) ) )
+ // InternalRBAModel.g:4109:2: (this_VPrimaryExpression_0= ruleVPrimaryExpression | ( () ruleOpMuchGreaterThan ( (lv_operand_3_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpEqualTo ( (lv_operand_6_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpGreaterThan ( (lv_operand_9_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpLowerThan ( (lv_operand_12_0= ruleVPrimaryExpression ) ) ) )
+ {
+ // InternalRBAModel.g:4109:2: (this_VPrimaryExpression_0= ruleVPrimaryExpression | ( () ruleOpMuchGreaterThan ( (lv_operand_3_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpEqualTo ( (lv_operand_6_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpGreaterThan ( (lv_operand_9_0= ruleVPrimaryExpression ) ) ) | ( () ruleOpLowerThan ( (lv_operand_12_0= ruleVPrimaryExpression ) ) ) )
+ int alt63=5;
+ switch ( input.LA(1) ) {
+ case RULE_INT:
+ case 34:
+ case 70:
+ case 72:
+ case 73:
+ case 74:
+ case 75:
+ case 148:
+ {
+ alt63=1;
+ }
+ break;
+ case 23:
+ {
+ alt63=2;
+ }
+ break;
+ case 69:
+ {
+ alt63=3;
+ }
+ break;
+ case 33:
+ {
+ alt63=4;
+ }
+ break;
+ case 32:
+ {
+ alt63=5;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 63, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt63) {
+ case 1 :
+ // InternalRBAModel.g:4110:3: this_VPrimaryExpression_0= ruleVPrimaryExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getVPrimaryExpressionParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_VPrimaryExpression_0=ruleVPrimaryExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_VPrimaryExpression_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:4119:3: ( () ruleOpMuchGreaterThan ( (lv_operand_3_0= ruleVPrimaryExpression ) ) )
+ {
+ // InternalRBAModel.g:4119:3: ( () ruleOpMuchGreaterThan ( (lv_operand_3_0= ruleVPrimaryExpression ) ) )
+ // InternalRBAModel.g:4120:4: () ruleOpMuchGreaterThan ( (lv_operand_3_0= ruleVPrimaryExpression ) )
+ {
+ // InternalRBAModel.g:4120:4: ()
+ // InternalRBAModel.g:4121:5:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getVRelationalExpressionAccess().getMuchGreaterThanOperatorAction_1_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOpMuchGreaterThanParserRuleCall_1_1());
+
+ }
+ pushFollow(FOLLOW_47);
+ ruleOpMuchGreaterThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:4134:4: ( (lv_operand_3_0= ruleVPrimaryExpression ) )
+ // InternalRBAModel.g:4135:5: (lv_operand_3_0= ruleVPrimaryExpression )
+ {
+ // InternalRBAModel.g:4135:5: (lv_operand_3_0= ruleVPrimaryExpression )
+ // InternalRBAModel.g:4136:6: lv_operand_3_0= ruleVPrimaryExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOperandVPrimaryExpressionParserRuleCall_1_2_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_operand_3_0=ruleVPrimaryExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getVRelationalExpressionRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.VPrimaryExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:4155:3: ( () ruleOpEqualTo ( (lv_operand_6_0= ruleVPrimaryExpression ) ) )
+ {
+ // InternalRBAModel.g:4155:3: ( () ruleOpEqualTo ( (lv_operand_6_0= ruleVPrimaryExpression ) ) )
+ // InternalRBAModel.g:4156:4: () ruleOpEqualTo ( (lv_operand_6_0= ruleVPrimaryExpression ) )
+ {
+ // InternalRBAModel.g:4156:4: ()
+ // InternalRBAModel.g:4157:5:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getVRelationalExpressionAccess().getEqualToOperatorAction_2_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOpEqualToParserRuleCall_2_1());
+
+ }
+ pushFollow(FOLLOW_47);
+ ruleOpEqualTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:4170:4: ( (lv_operand_6_0= ruleVPrimaryExpression ) )
+ // InternalRBAModel.g:4171:5: (lv_operand_6_0= ruleVPrimaryExpression )
+ {
+ // InternalRBAModel.g:4171:5: (lv_operand_6_0= ruleVPrimaryExpression )
+ // InternalRBAModel.g:4172:6: lv_operand_6_0= ruleVPrimaryExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOperandVPrimaryExpressionParserRuleCall_2_2_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_operand_6_0=ruleVPrimaryExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getVRelationalExpressionRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_6_0,
+ "rba.tool.editor.RBAModel.VPrimaryExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:4191:3: ( () ruleOpGreaterThan ( (lv_operand_9_0= ruleVPrimaryExpression ) ) )
+ {
+ // InternalRBAModel.g:4191:3: ( () ruleOpGreaterThan ( (lv_operand_9_0= ruleVPrimaryExpression ) ) )
+ // InternalRBAModel.g:4192:4: () ruleOpGreaterThan ( (lv_operand_9_0= ruleVPrimaryExpression ) )
+ {
+ // InternalRBAModel.g:4192:4: ()
+ // InternalRBAModel.g:4193:5:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getVRelationalExpressionAccess().getGreaterThanOperatorAction_3_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOpGreaterThanParserRuleCall_3_1());
+
+ }
+ pushFollow(FOLLOW_47);
+ ruleOpGreaterThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:4206:4: ( (lv_operand_9_0= ruleVPrimaryExpression ) )
+ // InternalRBAModel.g:4207:5: (lv_operand_9_0= ruleVPrimaryExpression )
+ {
+ // InternalRBAModel.g:4207:5: (lv_operand_9_0= ruleVPrimaryExpression )
+ // InternalRBAModel.g:4208:6: lv_operand_9_0= ruleVPrimaryExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOperandVPrimaryExpressionParserRuleCall_3_2_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_operand_9_0=ruleVPrimaryExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getVRelationalExpressionRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_9_0,
+ "rba.tool.editor.RBAModel.VPrimaryExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:4227:3: ( () ruleOpLowerThan ( (lv_operand_12_0= ruleVPrimaryExpression ) ) )
+ {
+ // InternalRBAModel.g:4227:3: ( () ruleOpLowerThan ( (lv_operand_12_0= ruleVPrimaryExpression ) ) )
+ // InternalRBAModel.g:4228:4: () ruleOpLowerThan ( (lv_operand_12_0= ruleVPrimaryExpression ) )
+ {
+ // InternalRBAModel.g:4228:4: ()
+ // InternalRBAModel.g:4229:5:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getVRelationalExpressionAccess().getLowerThanOperatorAction_4_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOpLowerThanParserRuleCall_4_1());
+
+ }
+ pushFollow(FOLLOW_47);
+ ruleOpLowerThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:4242:4: ( (lv_operand_12_0= ruleVPrimaryExpression ) )
+ // InternalRBAModel.g:4243:5: (lv_operand_12_0= ruleVPrimaryExpression )
+ {
+ // InternalRBAModel.g:4243:5: (lv_operand_12_0= ruleVPrimaryExpression )
+ // InternalRBAModel.g:4244:6: lv_operand_12_0= ruleVPrimaryExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVRelationalExpressionAccess().getOperandVPrimaryExpressionParserRuleCall_4_2_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_operand_12_0=ruleVPrimaryExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getVRelationalExpressionRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_12_0,
+ "rba.tool.editor.RBAModel.VPrimaryExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVRelationalExpression"
+
+
+ // $ANTLR start "entryRuleOpMuchGreaterThan"
+ // InternalRBAModel.g:4266:1: entryRuleOpMuchGreaterThan returns [String current=null] : iv_ruleOpMuchGreaterThan= ruleOpMuchGreaterThan EOF ;
+ public final String entryRuleOpMuchGreaterThan() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpMuchGreaterThan = null;
+
+
+ try {
+ // InternalRBAModel.g:4266:57: (iv_ruleOpMuchGreaterThan= ruleOpMuchGreaterThan EOF )
+ // InternalRBAModel.g:4267:2: iv_ruleOpMuchGreaterThan= ruleOpMuchGreaterThan EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpMuchGreaterThanRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpMuchGreaterThan=ruleOpMuchGreaterThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpMuchGreaterThan.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpMuchGreaterThan"
+
+
+ // $ANTLR start "ruleOpMuchGreaterThan"
+ // InternalRBAModel.g:4273:1: ruleOpMuchGreaterThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '>>' ;
+ public final AntlrDatatypeRuleToken ruleOpMuchGreaterThan() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4279:2: (kw= '>>' )
+ // InternalRBAModel.g:4280:2: kw= '>>'
+ {
+ kw=(Token)match(input,23,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpMuchGreaterThanAccess().getGreaterThanSignGreaterThanSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpMuchGreaterThan"
+
+
+ // $ANTLR start "entryRuleOpEqualTo"
+ // InternalRBAModel.g:4288:1: entryRuleOpEqualTo returns [String current=null] : iv_ruleOpEqualTo= ruleOpEqualTo EOF ;
+ public final String entryRuleOpEqualTo() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpEqualTo = null;
+
+
+ try {
+ // InternalRBAModel.g:4288:49: (iv_ruleOpEqualTo= ruleOpEqualTo EOF )
+ // InternalRBAModel.g:4289:2: iv_ruleOpEqualTo= ruleOpEqualTo EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpEqualToRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpEqualTo=ruleOpEqualTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpEqualTo.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpEqualTo"
+
+
+ // $ANTLR start "ruleOpEqualTo"
+ // InternalRBAModel.g:4295:1: ruleOpEqualTo returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ;
+ public final AntlrDatatypeRuleToken ruleOpEqualTo() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4301:2: (kw= '=' )
+ // InternalRBAModel.g:4302:2: kw= '='
+ {
+ kw=(Token)match(input,69,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpEqualToAccess().getEqualsSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpEqualTo"
+
+
+ // $ANTLR start "entryRuleOpGreaterThan"
+ // InternalRBAModel.g:4310:1: entryRuleOpGreaterThan returns [String current=null] : iv_ruleOpGreaterThan= ruleOpGreaterThan EOF ;
+ public final String entryRuleOpGreaterThan() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpGreaterThan = null;
+
+
+ try {
+ // InternalRBAModel.g:4310:53: (iv_ruleOpGreaterThan= ruleOpGreaterThan EOF )
+ // InternalRBAModel.g:4311:2: iv_ruleOpGreaterThan= ruleOpGreaterThan EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpGreaterThanRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpGreaterThan=ruleOpGreaterThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpGreaterThan.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpGreaterThan"
+
+
+ // $ANTLR start "ruleOpGreaterThan"
+ // InternalRBAModel.g:4317:1: ruleOpGreaterThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '>' ;
+ public final AntlrDatatypeRuleToken ruleOpGreaterThan() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4323:2: (kw= '>' )
+ // InternalRBAModel.g:4324:2: kw= '>'
+ {
+ kw=(Token)match(input,33,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpGreaterThanAccess().getGreaterThanSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpGreaterThan"
+
+
+ // $ANTLR start "entryRuleOpLowerThan"
+ // InternalRBAModel.g:4332:1: entryRuleOpLowerThan returns [String current=null] : iv_ruleOpLowerThan= ruleOpLowerThan EOF ;
+ public final String entryRuleOpLowerThan() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpLowerThan = null;
+
+
+ try {
+ // InternalRBAModel.g:4332:51: (iv_ruleOpLowerThan= ruleOpLowerThan EOF )
+ // InternalRBAModel.g:4333:2: iv_ruleOpLowerThan= ruleOpLowerThan EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpLowerThanRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpLowerThan=ruleOpLowerThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpLowerThan.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpLowerThan"
+
+
+ // $ANTLR start "ruleOpLowerThan"
+ // InternalRBAModel.g:4339:1: ruleOpLowerThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '<' ;
+ public final AntlrDatatypeRuleToken ruleOpLowerThan() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4345:2: (kw= '<' )
+ // InternalRBAModel.g:4346:2: kw= '<'
+ {
+ kw=(Token)match(input,32,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpLowerThanAccess().getLessThanSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpLowerThan"
+
+
+ // $ANTLR start "entryRuleVPrimaryExpression"
+ // InternalRBAModel.g:4354:1: entryRuleVPrimaryExpression returns [EObject current=null] : iv_ruleVPrimaryExpression= ruleVPrimaryExpression EOF ;
+ public final EObject entryRuleVPrimaryExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleVPrimaryExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:4354:59: (iv_ruleVPrimaryExpression= ruleVPrimaryExpression EOF )
+ // InternalRBAModel.g:4355:2: iv_ruleVPrimaryExpression= ruleVPrimaryExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getVPrimaryExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleVPrimaryExpression=ruleVPrimaryExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleVPrimaryExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleVPrimaryExpression"
+
+
+ // $ANTLR start "ruleVPrimaryExpression"
+ // InternalRBAModel.g:4361:1: ruleVPrimaryExpression returns [EObject current=null] : (this_ThatOfOperator_0= ruleThatOfOperator | this_VValueExpression_1= ruleVValueExpression | (otherlv_2= '(' this_VExpression_3= ruleVExpression otherlv_4= ')' ) ) ;
+ public final EObject ruleVPrimaryExpression() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ EObject this_ThatOfOperator_0 = null;
+
+ EObject this_VValueExpression_1 = null;
+
+ EObject this_VExpression_3 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4367:2: ( (this_ThatOfOperator_0= ruleThatOfOperator | this_VValueExpression_1= ruleVValueExpression | (otherlv_2= '(' this_VExpression_3= ruleVExpression otherlv_4= ')' ) ) )
+ // InternalRBAModel.g:4368:2: (this_ThatOfOperator_0= ruleThatOfOperator | this_VValueExpression_1= ruleVValueExpression | (otherlv_2= '(' this_VExpression_3= ruleVExpression otherlv_4= ')' ) )
+ {
+ // InternalRBAModel.g:4368:2: (this_ThatOfOperator_0= ruleThatOfOperator | this_VValueExpression_1= ruleVValueExpression | (otherlv_2= '(' this_VExpression_3= ruleVExpression otherlv_4= ')' ) )
+ int alt64=3;
+ switch ( input.LA(1) ) {
+ case 70:
+ {
+ alt64=1;
+ }
+ break;
+ case RULE_INT:
+ case 72:
+ case 73:
+ case 74:
+ case 75:
+ case 148:
+ {
+ alt64=2;
+ }
+ break;
+ case 34:
+ {
+ alt64=3;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 64, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt64) {
+ case 1 :
+ // InternalRBAModel.g:4369:3: this_ThatOfOperator_0= ruleThatOfOperator
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVPrimaryExpressionAccess().getThatOfOperatorParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_ThatOfOperator_0=ruleThatOfOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_ThatOfOperator_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:4378:3: this_VValueExpression_1= ruleVValueExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVPrimaryExpressionAccess().getVValueExpressionParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_VValueExpression_1=ruleVValueExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_VValueExpression_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:4387:3: (otherlv_2= '(' this_VExpression_3= ruleVExpression otherlv_4= ')' )
+ {
+ // InternalRBAModel.g:4387:3: (otherlv_2= '(' this_VExpression_3= ruleVExpression otherlv_4= ')' )
+ // InternalRBAModel.g:4388:4: otherlv_2= '(' this_VExpression_3= ruleVExpression otherlv_4= ')'
+ {
+ otherlv_2=(Token)match(input,34,FOLLOW_39); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getVPrimaryExpressionAccess().getLeftParenthesisKeyword_2_0());
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVPrimaryExpressionAccess().getVExpressionParserRuleCall_2_1());
+
+ }
+ pushFollow(FOLLOW_48);
+ this_VExpression_3=ruleVExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_VExpression_3;
+ afterParserOrEnumRuleCall();
+
+ }
+ otherlv_4=(Token)match(input,35,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getVPrimaryExpressionAccess().getRightParenthesisKeyword_2_2());
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVPrimaryExpression"
+
+
+ // $ANTLR start "entryRuleVValueExpression"
+ // InternalRBAModel.g:4409:1: entryRuleVValueExpression returns [EObject current=null] : iv_ruleVValueExpression= ruleVValueExpression EOF ;
+ public final EObject entryRuleVValueExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleVValueExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:4409:57: (iv_ruleVValueExpression= ruleVValueExpression EOF )
+ // InternalRBAModel.g:4410:2: iv_ruleVValueExpression= ruleVValueExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getVValueExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleVValueExpression=ruleVValueExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleVValueExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleVValueExpression"
+
+
+ // $ANTLR start "ruleVValueExpression"
+ // InternalRBAModel.g:4416:1: ruleVValueExpression returns [EObject current=null] : (this_IntegerValue_0= ruleIntegerValue | this_StandardValue_1= ruleStandardValue | this_NoneValue_2= ruleNoneValue | this_MinValue_3= ruleMinValue | this_MaxValue_4= ruleMaxValue ) ;
+ public final EObject ruleVValueExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_IntegerValue_0 = null;
+
+ EObject this_StandardValue_1 = null;
+
+ EObject this_NoneValue_2 = null;
+
+ EObject this_MinValue_3 = null;
+
+ EObject this_MaxValue_4 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4422:2: ( (this_IntegerValue_0= ruleIntegerValue | this_StandardValue_1= ruleStandardValue | this_NoneValue_2= ruleNoneValue | this_MinValue_3= ruleMinValue | this_MaxValue_4= ruleMaxValue ) )
+ // InternalRBAModel.g:4423:2: (this_IntegerValue_0= ruleIntegerValue | this_StandardValue_1= ruleStandardValue | this_NoneValue_2= ruleNoneValue | this_MinValue_3= ruleMinValue | this_MaxValue_4= ruleMaxValue )
+ {
+ // InternalRBAModel.g:4423:2: (this_IntegerValue_0= ruleIntegerValue | this_StandardValue_1= ruleStandardValue | this_NoneValue_2= ruleNoneValue | this_MinValue_3= ruleMinValue | this_MaxValue_4= ruleMaxValue )
+ int alt65=5;
+ switch ( input.LA(1) ) {
+ case RULE_INT:
+ case 148:
+ {
+ alt65=1;
+ }
+ break;
+ case 72:
+ {
+ alt65=2;
+ }
+ break;
+ case 73:
+ {
+ alt65=3;
+ }
+ break;
+ case 74:
+ {
+ alt65=4;
+ }
+ break;
+ case 75:
+ {
+ alt65=5;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 65, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt65) {
+ case 1 :
+ // InternalRBAModel.g:4424:3: this_IntegerValue_0= ruleIntegerValue
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVValueExpressionAccess().getIntegerValueParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_IntegerValue_0=ruleIntegerValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_IntegerValue_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:4433:3: this_StandardValue_1= ruleStandardValue
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVValueExpressionAccess().getStandardValueParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_StandardValue_1=ruleStandardValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_StandardValue_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:4442:3: this_NoneValue_2= ruleNoneValue
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVValueExpressionAccess().getNoneValueParserRuleCall_2());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_NoneValue_2=ruleNoneValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_NoneValue_2;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:4451:3: this_MinValue_3= ruleMinValue
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVValueExpressionAccess().getMinValueParserRuleCall_3());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_MinValue_3=ruleMinValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_MinValue_3;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:4460:3: this_MaxValue_4= ruleMaxValue
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVValueExpressionAccess().getMaxValueParserRuleCall_4());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_MaxValue_4=ruleMaxValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_MaxValue_4;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVValueExpression"
+
+
+ // $ANTLR start "entryRuleThatOfOperator"
+ // InternalRBAModel.g:4472:1: entryRuleThatOfOperator returns [EObject current=null] : iv_ruleThatOfOperator= ruleThatOfOperator EOF ;
+ public final EObject entryRuleThatOfOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleThatOfOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:4472:55: (iv_ruleThatOfOperator= ruleThatOfOperator EOF )
+ // InternalRBAModel.g:4473:2: iv_ruleThatOfOperator= ruleThatOfOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getThatOfOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleThatOfOperator=ruleThatOfOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleThatOfOperator;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleThatOfOperator"
+
+
+ // $ANTLR start "ruleThatOfOperator"
+ // InternalRBAModel.g:4479:1: ruleThatOfOperator returns [EObject current=null] : ( () otherlv_1= 'That-of' ( (lv_operand_2_0= ruleVMemberFeatureReference ) )? ) ;
+ public final EObject ruleThatOfOperator() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ EObject lv_operand_2_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4485:2: ( ( () otherlv_1= 'That-of' ( (lv_operand_2_0= ruleVMemberFeatureReference ) )? ) )
+ // InternalRBAModel.g:4486:2: ( () otherlv_1= 'That-of' ( (lv_operand_2_0= ruleVMemberFeatureReference ) )? )
+ {
+ // InternalRBAModel.g:4486:2: ( () otherlv_1= 'That-of' ( (lv_operand_2_0= ruleVMemberFeatureReference ) )? )
+ // InternalRBAModel.g:4487:3: () otherlv_1= 'That-of' ( (lv_operand_2_0= ruleVMemberFeatureReference ) )?
+ {
+ // InternalRBAModel.g:4487:3: ()
+ // InternalRBAModel.g:4488:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getThatOfOperatorAccess().getThatOfOperatorAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,70,FOLLOW_49); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getThatOfOperatorAccess().getThatOfKeyword_1());
+
+ }
+ // InternalRBAModel.g:4498:3: ( (lv_operand_2_0= ruleVMemberFeatureReference ) )?
+ int alt66=2;
+ int LA66_0 = input.LA(1);
+
+ if ( (LA66_0==RULE_ID) ) {
+ alt66=1;
+ }
+ switch (alt66) {
+ case 1 :
+ // InternalRBAModel.g:4499:4: (lv_operand_2_0= ruleVMemberFeatureReference )
+ {
+ // InternalRBAModel.g:4499:4: (lv_operand_2_0= ruleVMemberFeatureReference )
+ // InternalRBAModel.g:4500:5: lv_operand_2_0= ruleVMemberFeatureReference
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getThatOfOperatorAccess().getOperandVMemberFeatureReferenceParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_operand_2_0=ruleVMemberFeatureReference();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getThatOfOperatorRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_2_0,
+ "rba.tool.editor.RBAModel.VMemberFeatureReference");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleThatOfOperator"
+
+
+ // $ANTLR start "entryRuleVMemberFeatureReference"
+ // InternalRBAModel.g:4521:1: entryRuleVMemberFeatureReference returns [EObject current=null] : iv_ruleVMemberFeatureReference= ruleVMemberFeatureReference EOF ;
+ public final EObject entryRuleVMemberFeatureReference() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleVMemberFeatureReference = null;
+
+
+ try {
+ // InternalRBAModel.g:4521:64: (iv_ruleVMemberFeatureReference= ruleVMemberFeatureReference EOF )
+ // InternalRBAModel.g:4522:2: iv_ruleVMemberFeatureReference= ruleVMemberFeatureReference EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getVMemberFeatureReferenceRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleVMemberFeatureReference=ruleVMemberFeatureReference();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleVMemberFeatureReference;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleVMemberFeatureReference"
+
+
+ // $ANTLR start "ruleVMemberFeatureReference"
+ // InternalRBAModel.g:4528:1: ruleVMemberFeatureReference returns [EObject current=null] : ( () ( ( ruleValidID ) ) ( () otherlv_3= '.' ( ( ruleValidID ) ) )* ) ;
+ public final EObject ruleVMemberFeatureReference() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_3=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4534:2: ( ( () ( ( ruleValidID ) ) ( () otherlv_3= '.' ( ( ruleValidID ) ) )* ) )
+ // InternalRBAModel.g:4535:2: ( () ( ( ruleValidID ) ) ( () otherlv_3= '.' ( ( ruleValidID ) ) )* )
+ {
+ // InternalRBAModel.g:4535:2: ( () ( ( ruleValidID ) ) ( () otherlv_3= '.' ( ( ruleValidID ) ) )* )
+ // InternalRBAModel.g:4536:3: () ( ( ruleValidID ) ) ( () otherlv_3= '.' ( ( ruleValidID ) ) )*
+ {
+ // InternalRBAModel.g:4536:3: ()
+ // InternalRBAModel.g:4537:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getVMemberFeatureReferenceAccess().getObjectReferenceAction_0(),
+ current);
+
+ }
+
+ }
+
+ // InternalRBAModel.g:4543:3: ( ( ruleValidID ) )
+ // InternalRBAModel.g:4544:4: ( ruleValidID )
+ {
+ // InternalRBAModel.g:4544:4: ( ruleValidID )
+ // InternalRBAModel.g:4545:5: ruleValidID
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getVMemberFeatureReferenceRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVMemberFeatureReferenceAccess().getRefObjectRuleObjectCrossReference_1_0());
+
+ }
+ pushFollow(FOLLOW_50);
+ ruleValidID();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:4559:3: ( () otherlv_3= '.' ( ( ruleValidID ) ) )*
+ loop67:
+ do {
+ int alt67=2;
+ int LA67_0 = input.LA(1);
+
+ if ( (LA67_0==71) ) {
+ alt67=1;
+ }
+
+
+ switch (alt67) {
+ case 1 :
+ // InternalRBAModel.g:4560:4: () otherlv_3= '.' ( ( ruleValidID ) )
+ {
+ // InternalRBAModel.g:4560:4: ()
+ // InternalRBAModel.g:4561:5:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getVMemberFeatureReferenceAccess().getMemberFeatureReferenceOperandAction_2_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_3=(Token)match(input,71,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getVMemberFeatureReferenceAccess().getFullStopKeyword_2_1());
+
+ }
+ // InternalRBAModel.g:4571:4: ( ( ruleValidID ) )
+ // InternalRBAModel.g:4572:5: ( ruleValidID )
+ {
+ // InternalRBAModel.g:4572:5: ( ruleValidID )
+ // InternalRBAModel.g:4573:6: ruleValidID
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getVMemberFeatureReferenceRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVMemberFeatureReferenceAccess().getRefObjectRuleObjectCrossReference_2_2_0());
+
+ }
+ pushFollow(FOLLOW_50);
+ ruleValidID();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop67;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVMemberFeatureReference"
+
+
+ // $ANTLR start "entryRuleIntegerValue"
+ // InternalRBAModel.g:4592:1: entryRuleIntegerValue returns [EObject current=null] : iv_ruleIntegerValue= ruleIntegerValue EOF ;
+ public final EObject entryRuleIntegerValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleIntegerValue = null;
+
+
+ try {
+ // InternalRBAModel.g:4592:53: (iv_ruleIntegerValue= ruleIntegerValue EOF )
+ // InternalRBAModel.g:4593:2: iv_ruleIntegerValue= ruleIntegerValue EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getIntegerValueRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleIntegerValue=ruleIntegerValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleIntegerValue;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleIntegerValue"
+
+
+ // $ANTLR start "ruleIntegerValue"
+ // InternalRBAModel.g:4599:1: ruleIntegerValue returns [EObject current=null] : ( () ( (lv_value_1_0= ruleEInt ) ) ) ;
+ public final EObject ruleIntegerValue() throws RecognitionException {
+ EObject current = null;
+
+ AntlrDatatypeRuleToken lv_value_1_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4605:2: ( ( () ( (lv_value_1_0= ruleEInt ) ) ) )
+ // InternalRBAModel.g:4606:2: ( () ( (lv_value_1_0= ruleEInt ) ) )
+ {
+ // InternalRBAModel.g:4606:2: ( () ( (lv_value_1_0= ruleEInt ) ) )
+ // InternalRBAModel.g:4607:3: () ( (lv_value_1_0= ruleEInt ) )
+ {
+ // InternalRBAModel.g:4607:3: ()
+ // InternalRBAModel.g:4608:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getIntegerValueAccess().getIntegerValueAction_0(),
+ current);
+
+ }
+
+ }
+
+ // InternalRBAModel.g:4614:3: ( (lv_value_1_0= ruleEInt ) )
+ // InternalRBAModel.g:4615:4: (lv_value_1_0= ruleEInt )
+ {
+ // InternalRBAModel.g:4615:4: (lv_value_1_0= ruleEInt )
+ // InternalRBAModel.g:4616:5: lv_value_1_0= ruleEInt
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getIntegerValueAccess().getValueEIntParserRuleCall_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_value_1_0=ruleEInt();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getIntegerValueRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_1_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleIntegerValue"
+
+
+ // $ANTLR start "entryRuleStandardValue"
+ // InternalRBAModel.g:4637:1: entryRuleStandardValue returns [EObject current=null] : iv_ruleStandardValue= ruleStandardValue EOF ;
+ public final EObject entryRuleStandardValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleStandardValue = null;
+
+
+ try {
+ // InternalRBAModel.g:4637:54: (iv_ruleStandardValue= ruleStandardValue EOF )
+ // InternalRBAModel.g:4638:2: iv_ruleStandardValue= ruleStandardValue EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getStandardValueRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleStandardValue=ruleStandardValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleStandardValue;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleStandardValue"
+
+
+ // $ANTLR start "ruleStandardValue"
+ // InternalRBAModel.g:4644:1: ruleStandardValue returns [EObject current=null] : ( () otherlv_1= 'STANDARD_VALUE' ) ;
+ public final EObject ruleStandardValue() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4650:2: ( ( () otherlv_1= 'STANDARD_VALUE' ) )
+ // InternalRBAModel.g:4651:2: ( () otherlv_1= 'STANDARD_VALUE' )
+ {
+ // InternalRBAModel.g:4651:2: ( () otherlv_1= 'STANDARD_VALUE' )
+ // InternalRBAModel.g:4652:3: () otherlv_1= 'STANDARD_VALUE'
+ {
+ // InternalRBAModel.g:4652:3: ()
+ // InternalRBAModel.g:4653:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getStandardValueAccess().getStandardValueAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,72,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getStandardValueAccess().getSTANDARD_VALUEKeyword_1());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleStandardValue"
+
+
+ // $ANTLR start "entryRuleNoneValue"
+ // InternalRBAModel.g:4667:1: entryRuleNoneValue returns [EObject current=null] : iv_ruleNoneValue= ruleNoneValue EOF ;
+ public final EObject entryRuleNoneValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleNoneValue = null;
+
+
+ try {
+ // InternalRBAModel.g:4667:50: (iv_ruleNoneValue= ruleNoneValue EOF )
+ // InternalRBAModel.g:4668:2: iv_ruleNoneValue= ruleNoneValue EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getNoneValueRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleNoneValue=ruleNoneValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleNoneValue;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleNoneValue"
+
+
+ // $ANTLR start "ruleNoneValue"
+ // InternalRBAModel.g:4674:1: ruleNoneValue returns [EObject current=null] : ( () otherlv_1= 'NONE_VALUE' ) ;
+ public final EObject ruleNoneValue() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4680:2: ( ( () otherlv_1= 'NONE_VALUE' ) )
+ // InternalRBAModel.g:4681:2: ( () otherlv_1= 'NONE_VALUE' )
+ {
+ // InternalRBAModel.g:4681:2: ( () otherlv_1= 'NONE_VALUE' )
+ // InternalRBAModel.g:4682:3: () otherlv_1= 'NONE_VALUE'
+ {
+ // InternalRBAModel.g:4682:3: ()
+ // InternalRBAModel.g:4683:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getNoneValueAccess().getNoneValueAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,73,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getNoneValueAccess().getNONE_VALUEKeyword_1());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleNoneValue"
+
+
+ // $ANTLR start "entryRuleMinValue"
+ // InternalRBAModel.g:4697:1: entryRuleMinValue returns [EObject current=null] : iv_ruleMinValue= ruleMinValue EOF ;
+ public final EObject entryRuleMinValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleMinValue = null;
+
+
+ try {
+ // InternalRBAModel.g:4697:49: (iv_ruleMinValue= ruleMinValue EOF )
+ // InternalRBAModel.g:4698:2: iv_ruleMinValue= ruleMinValue EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getMinValueRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleMinValue=ruleMinValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleMinValue;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleMinValue"
+
+
+ // $ANTLR start "ruleMinValue"
+ // InternalRBAModel.g:4704:1: ruleMinValue returns [EObject current=null] : ( () otherlv_1= 'MIN_VALUE' ) ;
+ public final EObject ruleMinValue() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4710:2: ( ( () otherlv_1= 'MIN_VALUE' ) )
+ // InternalRBAModel.g:4711:2: ( () otherlv_1= 'MIN_VALUE' )
+ {
+ // InternalRBAModel.g:4711:2: ( () otherlv_1= 'MIN_VALUE' )
+ // InternalRBAModel.g:4712:3: () otherlv_1= 'MIN_VALUE'
+ {
+ // InternalRBAModel.g:4712:3: ()
+ // InternalRBAModel.g:4713:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getMinValueAccess().getMinValueAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,74,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getMinValueAccess().getMIN_VALUEKeyword_1());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleMinValue"
+
+
+ // $ANTLR start "entryRuleMaxValue"
+ // InternalRBAModel.g:4727:1: entryRuleMaxValue returns [EObject current=null] : iv_ruleMaxValue= ruleMaxValue EOF ;
+ public final EObject entryRuleMaxValue() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleMaxValue = null;
+
+
+ try {
+ // InternalRBAModel.g:4727:49: (iv_ruleMaxValue= ruleMaxValue EOF )
+ // InternalRBAModel.g:4728:2: iv_ruleMaxValue= ruleMaxValue EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getMaxValueRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleMaxValue=ruleMaxValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleMaxValue;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleMaxValue"
+
+
+ // $ANTLR start "ruleMaxValue"
+ // InternalRBAModel.g:4734:1: ruleMaxValue returns [EObject current=null] : ( () otherlv_1= 'MAX_VALUE' ) ;
+ public final EObject ruleMaxValue() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4740:2: ( ( () otherlv_1= 'MAX_VALUE' ) )
+ // InternalRBAModel.g:4741:2: ( () otherlv_1= 'MAX_VALUE' )
+ {
+ // InternalRBAModel.g:4741:2: ( () otherlv_1= 'MAX_VALUE' )
+ // InternalRBAModel.g:4742:3: () otherlv_1= 'MAX_VALUE'
+ {
+ // InternalRBAModel.g:4742:3: ()
+ // InternalRBAModel.g:4743:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getMaxValueAccess().getMaxValueAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,75,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getMaxValueAccess().getMAX_VALUEKeyword_1());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleMaxValue"
+
+
+ // $ANTLR start "entryRuleCExpression"
+ // InternalRBAModel.g:4757:1: entryRuleCExpression returns [EObject current=null] : iv_ruleCExpression= ruleCExpression EOF ;
+ public final EObject entryRuleCExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:4757:52: (iv_ruleCExpression= ruleCExpression EOF )
+ // InternalRBAModel.g:4758:2: iv_ruleCExpression= ruleCExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCExpression=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCExpression"
+
+
+ // $ANTLR start "ruleCExpression"
+ // InternalRBAModel.g:4764:1: ruleCExpression returns [EObject current=null] : this_CImpliesOperator_0= ruleCImpliesOperator ;
+ public final EObject ruleCExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_CImpliesOperator_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4770:2: (this_CImpliesOperator_0= ruleCImpliesOperator )
+ // InternalRBAModel.g:4771:2: this_CImpliesOperator_0= ruleCImpliesOperator
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCExpressionAccess().getCImpliesOperatorParserRuleCall());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_CImpliesOperator_0=ruleCImpliesOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_CImpliesOperator_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCExpression"
+
+
+ // $ANTLR start "entryRuleCImpliesOperator"
+ // InternalRBAModel.g:4782:1: entryRuleCImpliesOperator returns [EObject current=null] : iv_ruleCImpliesOperator= ruleCImpliesOperator EOF ;
+ public final EObject entryRuleCImpliesOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCImpliesOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:4782:57: (iv_ruleCImpliesOperator= ruleCImpliesOperator EOF )
+ // InternalRBAModel.g:4783:2: iv_ruleCImpliesOperator= ruleCImpliesOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCImpliesOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCImpliesOperator=ruleCImpliesOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCImpliesOperator;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCImpliesOperator"
+
+
+ // $ANTLR start "ruleCImpliesOperator"
+ // InternalRBAModel.g:4789:1: ruleCImpliesOperator returns [EObject current=null] : (this_COrOperator_0= ruleCOrOperator ( ( ( ( () ruleOpImplies ) )=> ( () ruleOpImplies ) ) ( (lv_operand_3_0= ruleCOrOperator ) ) )* ) ;
+ public final EObject ruleCImpliesOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_COrOperator_0 = null;
+
+ EObject lv_operand_3_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4795:2: ( (this_COrOperator_0= ruleCOrOperator ( ( ( ( () ruleOpImplies ) )=> ( () ruleOpImplies ) ) ( (lv_operand_3_0= ruleCOrOperator ) ) )* ) )
+ // InternalRBAModel.g:4796:2: (this_COrOperator_0= ruleCOrOperator ( ( ( ( () ruleOpImplies ) )=> ( () ruleOpImplies ) ) ( (lv_operand_3_0= ruleCOrOperator ) ) )* )
+ {
+ // InternalRBAModel.g:4796:2: (this_COrOperator_0= ruleCOrOperator ( ( ( ( () ruleOpImplies ) )=> ( () ruleOpImplies ) ) ( (lv_operand_3_0= ruleCOrOperator ) ) )* )
+ // InternalRBAModel.g:4797:3: this_COrOperator_0= ruleCOrOperator ( ( ( ( () ruleOpImplies ) )=> ( () ruleOpImplies ) ) ( (lv_operand_3_0= ruleCOrOperator ) ) )*
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCImpliesOperatorAccess().getCOrOperatorParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_51);
+ this_COrOperator_0=ruleCOrOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_COrOperator_0;
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:4805:3: ( ( ( ( () ruleOpImplies ) )=> ( () ruleOpImplies ) ) ( (lv_operand_3_0= ruleCOrOperator ) ) )*
+ loop68:
+ do {
+ int alt68=2;
+ int LA68_0 = input.LA(1);
+
+ if ( (LA68_0==76) ) {
+ int LA68_2 = input.LA(2);
+
+ if ( (synpred4_InternalRBAModel()) ) {
+ alt68=1;
+ }
+
+
+ }
+
+
+ switch (alt68) {
+ case 1 :
+ // InternalRBAModel.g:4806:4: ( ( ( () ruleOpImplies ) )=> ( () ruleOpImplies ) ) ( (lv_operand_3_0= ruleCOrOperator ) )
+ {
+ // InternalRBAModel.g:4806:4: ( ( ( () ruleOpImplies ) )=> ( () ruleOpImplies ) )
+ // InternalRBAModel.g:4807:5: ( ( () ruleOpImplies ) )=> ( () ruleOpImplies )
+ {
+ // InternalRBAModel.g:4813:5: ( () ruleOpImplies )
+ // InternalRBAModel.g:4814:6: () ruleOpImplies
+ {
+ // InternalRBAModel.g:4814:6: ()
+ // InternalRBAModel.g:4815:7:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCImpliesOperatorAccess().getImpliesOperatorOperandAction_1_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCImpliesOperatorAccess().getOpImpliesParserRuleCall_1_0_0_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpImplies();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:4830:4: ( (lv_operand_3_0= ruleCOrOperator ) )
+ // InternalRBAModel.g:4831:5: (lv_operand_3_0= ruleCOrOperator )
+ {
+ // InternalRBAModel.g:4831:5: (lv_operand_3_0= ruleCOrOperator )
+ // InternalRBAModel.g:4832:6: lv_operand_3_0= ruleCOrOperator
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCImpliesOperatorAccess().getOperandCOrOperatorParserRuleCall_1_1_0());
+
+ }
+ pushFollow(FOLLOW_51);
+ lv_operand_3_0=ruleCOrOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCImpliesOperatorRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.COrOperator");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop68;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCImpliesOperator"
+
+
+ // $ANTLR start "entryRuleOpImplies"
+ // InternalRBAModel.g:4854:1: entryRuleOpImplies returns [String current=null] : iv_ruleOpImplies= ruleOpImplies EOF ;
+ public final String entryRuleOpImplies() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpImplies = null;
+
+
+ try {
+ // InternalRBAModel.g:4854:49: (iv_ruleOpImplies= ruleOpImplies EOF )
+ // InternalRBAModel.g:4855:2: iv_ruleOpImplies= ruleOpImplies EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpImpliesRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpImplies=ruleOpImplies();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpImplies.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpImplies"
+
+
+ // $ANTLR start "ruleOpImplies"
+ // InternalRBAModel.g:4861:1: ruleOpImplies returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '->' ;
+ public final AntlrDatatypeRuleToken ruleOpImplies() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4867:2: (kw= '->' )
+ // InternalRBAModel.g:4868:2: kw= '->'
+ {
+ kw=(Token)match(input,76,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpImpliesAccess().getHyphenMinusGreaterThanSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpImplies"
+
+
+ // $ANTLR start "entryRuleCOrOperator"
+ // InternalRBAModel.g:4876:1: entryRuleCOrOperator returns [EObject current=null] : iv_ruleCOrOperator= ruleCOrOperator EOF ;
+ public final EObject entryRuleCOrOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCOrOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:4876:52: (iv_ruleCOrOperator= ruleCOrOperator EOF )
+ // InternalRBAModel.g:4877:2: iv_ruleCOrOperator= ruleCOrOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCOrOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCOrOperator=ruleCOrOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCOrOperator;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCOrOperator"
+
+
+ // $ANTLR start "ruleCOrOperator"
+ // InternalRBAModel.g:4883:1: ruleCOrOperator returns [EObject current=null] : (this_CAndOperator_0= ruleCAndOperator ( ( ( ( () ruleOpOr ) )=> ( () ruleOpOr ) ) ( (lv_operand_3_0= ruleCAndOperator ) ) )* ) ;
+ public final EObject ruleCOrOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_CAndOperator_0 = null;
+
+ EObject lv_operand_3_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4889:2: ( (this_CAndOperator_0= ruleCAndOperator ( ( ( ( () ruleOpOr ) )=> ( () ruleOpOr ) ) ( (lv_operand_3_0= ruleCAndOperator ) ) )* ) )
+ // InternalRBAModel.g:4890:2: (this_CAndOperator_0= ruleCAndOperator ( ( ( ( () ruleOpOr ) )=> ( () ruleOpOr ) ) ( (lv_operand_3_0= ruleCAndOperator ) ) )* )
+ {
+ // InternalRBAModel.g:4890:2: (this_CAndOperator_0= ruleCAndOperator ( ( ( ( () ruleOpOr ) )=> ( () ruleOpOr ) ) ( (lv_operand_3_0= ruleCAndOperator ) ) )* )
+ // InternalRBAModel.g:4891:3: this_CAndOperator_0= ruleCAndOperator ( ( ( ( () ruleOpOr ) )=> ( () ruleOpOr ) ) ( (lv_operand_3_0= ruleCAndOperator ) ) )*
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOrOperatorAccess().getCAndOperatorParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_53);
+ this_CAndOperator_0=ruleCAndOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_CAndOperator_0;
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:4899:3: ( ( ( ( () ruleOpOr ) )=> ( () ruleOpOr ) ) ( (lv_operand_3_0= ruleCAndOperator ) ) )*
+ loop69:
+ do {
+ int alt69=2;
+ int LA69_0 = input.LA(1);
+
+ if ( (LA69_0==77) ) {
+ int LA69_2 = input.LA(2);
+
+ if ( (synpred5_InternalRBAModel()) ) {
+ alt69=1;
+ }
+
+
+ }
+
+
+ switch (alt69) {
+ case 1 :
+ // InternalRBAModel.g:4900:4: ( ( ( () ruleOpOr ) )=> ( () ruleOpOr ) ) ( (lv_operand_3_0= ruleCAndOperator ) )
+ {
+ // InternalRBAModel.g:4900:4: ( ( ( () ruleOpOr ) )=> ( () ruleOpOr ) )
+ // InternalRBAModel.g:4901:5: ( ( () ruleOpOr ) )=> ( () ruleOpOr )
+ {
+ // InternalRBAModel.g:4907:5: ( () ruleOpOr )
+ // InternalRBAModel.g:4908:6: () ruleOpOr
+ {
+ // InternalRBAModel.g:4908:6: ()
+ // InternalRBAModel.g:4909:7:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOrOperatorAccess().getOrOperatorOperandAction_1_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOrOperatorAccess().getOpOrParserRuleCall_1_0_0_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpOr();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:4924:4: ( (lv_operand_3_0= ruleCAndOperator ) )
+ // InternalRBAModel.g:4925:5: (lv_operand_3_0= ruleCAndOperator )
+ {
+ // InternalRBAModel.g:4925:5: (lv_operand_3_0= ruleCAndOperator )
+ // InternalRBAModel.g:4926:6: lv_operand_3_0= ruleCAndOperator
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOrOperatorAccess().getOperandCAndOperatorParserRuleCall_1_1_0());
+
+ }
+ pushFollow(FOLLOW_53);
+ lv_operand_3_0=ruleCAndOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCOrOperatorRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.CAndOperator");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop69;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCOrOperator"
+
+
+ // $ANTLR start "entryRuleOpOr"
+ // InternalRBAModel.g:4948:1: entryRuleOpOr returns [String current=null] : iv_ruleOpOr= ruleOpOr EOF ;
+ public final String entryRuleOpOr() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpOr = null;
+
+
+ try {
+ // InternalRBAModel.g:4948:44: (iv_ruleOpOr= ruleOpOr EOF )
+ // InternalRBAModel.g:4949:2: iv_ruleOpOr= ruleOpOr EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpOrRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpOr=ruleOpOr();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpOr.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpOr"
+
+
+ // $ANTLR start "ruleOpOr"
+ // InternalRBAModel.g:4955:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'OR' ;
+ public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4961:2: (kw= 'OR' )
+ // InternalRBAModel.g:4962:2: kw= 'OR'
+ {
+ kw=(Token)match(input,77,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpOrAccess().getORKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpOr"
+
+
+ // $ANTLR start "entryRuleCAndOperator"
+ // InternalRBAModel.g:4970:1: entryRuleCAndOperator returns [EObject current=null] : iv_ruleCAndOperator= ruleCAndOperator EOF ;
+ public final EObject entryRuleCAndOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCAndOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:4970:53: (iv_ruleCAndOperator= ruleCAndOperator EOF )
+ // InternalRBAModel.g:4971:2: iv_ruleCAndOperator= ruleCAndOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCAndOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCAndOperator=ruleCAndOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCAndOperator;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCAndOperator"
+
+
+ // $ANTLR start "ruleCAndOperator"
+ // InternalRBAModel.g:4977:1: ruleCAndOperator returns [EObject current=null] : (this_CEqualityExpression_0= ruleCEqualityExpression ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleCEqualityExpression ) ) )* ) ;
+ public final EObject ruleCAndOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_CEqualityExpression_0 = null;
+
+ EObject lv_operand_3_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:4983:2: ( (this_CEqualityExpression_0= ruleCEqualityExpression ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleCEqualityExpression ) ) )* ) )
+ // InternalRBAModel.g:4984:2: (this_CEqualityExpression_0= ruleCEqualityExpression ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleCEqualityExpression ) ) )* )
+ {
+ // InternalRBAModel.g:4984:2: (this_CEqualityExpression_0= ruleCEqualityExpression ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleCEqualityExpression ) ) )* )
+ // InternalRBAModel.g:4985:3: this_CEqualityExpression_0= ruleCEqualityExpression ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleCEqualityExpression ) ) )*
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCAndOperatorAccess().getCEqualityExpressionParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_46);
+ this_CEqualityExpression_0=ruleCEqualityExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_CEqualityExpression_0;
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:4993:3: ( ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleCEqualityExpression ) ) )*
+ loop70:
+ do {
+ int alt70=2;
+ int LA70_0 = input.LA(1);
+
+ if ( (LA70_0==78) ) {
+ int LA70_2 = input.LA(2);
+
+ if ( (synpred6_InternalRBAModel()) ) {
+ alt70=1;
+ }
+
+
+ }
+
+
+ switch (alt70) {
+ case 1 :
+ // InternalRBAModel.g:4994:4: ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) ) ( (lv_operand_3_0= ruleCEqualityExpression ) )
+ {
+ // InternalRBAModel.g:4994:4: ( ( ( () ruleOpAnd ) )=> ( () ruleOpAnd ) )
+ // InternalRBAModel.g:4995:5: ( ( () ruleOpAnd ) )=> ( () ruleOpAnd )
+ {
+ // InternalRBAModel.g:5001:5: ( () ruleOpAnd )
+ // InternalRBAModel.g:5002:6: () ruleOpAnd
+ {
+ // InternalRBAModel.g:5002:6: ()
+ // InternalRBAModel.g:5003:7:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCAndOperatorAccess().getAndOperatorOperandAction_1_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCAndOperatorAccess().getOpAndParserRuleCall_1_0_0_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpAnd();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:5018:4: ( (lv_operand_3_0= ruleCEqualityExpression ) )
+ // InternalRBAModel.g:5019:5: (lv_operand_3_0= ruleCEqualityExpression )
+ {
+ // InternalRBAModel.g:5019:5: (lv_operand_3_0= ruleCEqualityExpression )
+ // InternalRBAModel.g:5020:6: lv_operand_3_0= ruleCEqualityExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCAndOperatorAccess().getOperandCEqualityExpressionParserRuleCall_1_1_0());
+
+ }
+ pushFollow(FOLLOW_46);
+ lv_operand_3_0=ruleCEqualityExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCAndOperatorRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.CEqualityExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop70;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCAndOperator"
+
+
+ // $ANTLR start "entryRuleOpAnd"
+ // InternalRBAModel.g:5042:1: entryRuleOpAnd returns [String current=null] : iv_ruleOpAnd= ruleOpAnd EOF ;
+ public final String entryRuleOpAnd() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpAnd = null;
+
+
+ try {
+ // InternalRBAModel.g:5042:45: (iv_ruleOpAnd= ruleOpAnd EOF )
+ // InternalRBAModel.g:5043:2: iv_ruleOpAnd= ruleOpAnd EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpAndRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpAnd=ruleOpAnd();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpAnd.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpAnd"
+
+
+ // $ANTLR start "ruleOpAnd"
+ // InternalRBAModel.g:5049:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'AND' ;
+ public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5055:2: (kw= 'AND' )
+ // InternalRBAModel.g:5056:2: kw= 'AND'
+ {
+ kw=(Token)match(input,78,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpAndAccess().getANDKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpAnd"
+
+
+ // $ANTLR start "entryRuleCEqualityExpression"
+ // InternalRBAModel.g:5064:1: entryRuleCEqualityExpression returns [EObject current=null] : iv_ruleCEqualityExpression= ruleCEqualityExpression EOF ;
+ public final EObject entryRuleCEqualityExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCEqualityExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:5064:60: (iv_ruleCEqualityExpression= ruleCEqualityExpression EOF )
+ // InternalRBAModel.g:5065:2: iv_ruleCEqualityExpression= ruleCEqualityExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCEqualityExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCEqualityExpression=ruleCEqualityExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCEqualityExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCEqualityExpression"
+
+
+ // $ANTLR start "ruleCEqualityExpression"
+ // InternalRBAModel.g:5071:1: ruleCEqualityExpression returns [EObject current=null] : (this_CRelationalExpression_0= ruleCRelationalExpression ( ( ( ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )=> ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) ) ( (lv_operand_7_0= ruleCRelationalExpression ) ) )* ) ;
+ public final EObject ruleCEqualityExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_CRelationalExpression_0 = null;
+
+ EObject lv_operand_7_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5077:2: ( (this_CRelationalExpression_0= ruleCRelationalExpression ( ( ( ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )=> ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) ) ( (lv_operand_7_0= ruleCRelationalExpression ) ) )* ) )
+ // InternalRBAModel.g:5078:2: (this_CRelationalExpression_0= ruleCRelationalExpression ( ( ( ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )=> ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) ) ( (lv_operand_7_0= ruleCRelationalExpression ) ) )* )
+ {
+ // InternalRBAModel.g:5078:2: (this_CRelationalExpression_0= ruleCRelationalExpression ( ( ( ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )=> ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) ) ( (lv_operand_7_0= ruleCRelationalExpression ) ) )* )
+ // InternalRBAModel.g:5079:3: this_CRelationalExpression_0= ruleCRelationalExpression ( ( ( ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )=> ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) ) ( (lv_operand_7_0= ruleCRelationalExpression ) ) )*
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCEqualityExpressionAccess().getCRelationalExpressionParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_54);
+ this_CRelationalExpression_0=ruleCRelationalExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_CRelationalExpression_0;
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:5087:3: ( ( ( ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )=> ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) ) ( (lv_operand_7_0= ruleCRelationalExpression ) ) )*
+ loop72:
+ do {
+ int alt72=2;
+ switch ( input.LA(1) ) {
+ case 79:
+ {
+ int LA72_2 = input.LA(2);
+
+ if ( (synpred7_InternalRBAModel()) ) {
+ alt72=1;
+ }
+
+
+ }
+ break;
+ case 80:
+ {
+ int LA72_3 = input.LA(2);
+
+ if ( (synpred7_InternalRBAModel()) ) {
+ alt72=1;
+ }
+
+
+ }
+ break;
+ case 69:
+ {
+ int LA72_4 = input.LA(2);
+
+ if ( (synpred7_InternalRBAModel()) ) {
+ alt72=1;
+ }
+
+
+ }
+ break;
+
+ }
+
+ switch (alt72) {
+ case 1 :
+ // InternalRBAModel.g:5088:4: ( ( ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )=> ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) ) ( (lv_operand_7_0= ruleCRelationalExpression ) )
+ {
+ // InternalRBAModel.g:5088:4: ( ( ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )=> ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )
+ // InternalRBAModel.g:5089:5: ( ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )=> ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) )
+ {
+ // InternalRBAModel.g:5109:5: ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) )
+ int alt71=3;
+ switch ( input.LA(1) ) {
+ case 79:
+ {
+ alt71=1;
+ }
+ break;
+ case 80:
+ {
+ alt71=2;
+ }
+ break;
+ case 69:
+ {
+ alt71=3;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 71, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt71) {
+ case 1 :
+ // InternalRBAModel.g:5110:6: ( () ruleOpObjectCompare )
+ {
+ // InternalRBAModel.g:5110:6: ( () ruleOpObjectCompare )
+ // InternalRBAModel.g:5111:7: () ruleOpObjectCompare
+ {
+ // InternalRBAModel.g:5111:7: ()
+ // InternalRBAModel.g:5112:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCEqualityExpressionAccess().getObjectCompareOperandAction_1_0_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCEqualityExpressionAccess().getOpObjectCompareParserRuleCall_1_0_0_0_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpObjectCompare();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:5127:6: ( () ruleOpObjectNotCompare )
+ {
+ // InternalRBAModel.g:5127:6: ( () ruleOpObjectNotCompare )
+ // InternalRBAModel.g:5128:7: () ruleOpObjectNotCompare
+ {
+ // InternalRBAModel.g:5128:7: ()
+ // InternalRBAModel.g:5129:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCEqualityExpressionAccess().getObjectCompareNotOperandAction_1_0_0_1_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCEqualityExpressionAccess().getOpObjectNotCompareParserRuleCall_1_0_0_1_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpObjectNotCompare();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:5144:6: ( () ruleOpEquality )
+ {
+ // InternalRBAModel.g:5144:6: ( () ruleOpEquality )
+ // InternalRBAModel.g:5145:7: () ruleOpEquality
+ {
+ // InternalRBAModel.g:5145:7: ()
+ // InternalRBAModel.g:5146:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCEqualityExpressionAccess().getIsEqualToOperatorOperandAction_1_0_0_2_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCEqualityExpressionAccess().getOpEqualityParserRuleCall_1_0_0_2_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpEquality();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:5162:4: ( (lv_operand_7_0= ruleCRelationalExpression ) )
+ // InternalRBAModel.g:5163:5: (lv_operand_7_0= ruleCRelationalExpression )
+ {
+ // InternalRBAModel.g:5163:5: (lv_operand_7_0= ruleCRelationalExpression )
+ // InternalRBAModel.g:5164:6: lv_operand_7_0= ruleCRelationalExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCEqualityExpressionAccess().getOperandCRelationalExpressionParserRuleCall_1_1_0());
+
+ }
+ pushFollow(FOLLOW_54);
+ lv_operand_7_0=ruleCRelationalExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCEqualityExpressionRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_7_0,
+ "rba.tool.editor.RBAModel.CRelationalExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop72;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCEqualityExpression"
+
+
+ // $ANTLR start "entryRuleOpObjectCompare"
+ // InternalRBAModel.g:5186:1: entryRuleOpObjectCompare returns [String current=null] : iv_ruleOpObjectCompare= ruleOpObjectCompare EOF ;
+ public final String entryRuleOpObjectCompare() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpObjectCompare = null;
+
+
+ try {
+ // InternalRBAModel.g:5186:55: (iv_ruleOpObjectCompare= ruleOpObjectCompare EOF )
+ // InternalRBAModel.g:5187:2: iv_ruleOpObjectCompare= ruleOpObjectCompare EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpObjectCompareRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpObjectCompare=ruleOpObjectCompare();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpObjectCompare.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpObjectCompare"
+
+
+ // $ANTLR start "ruleOpObjectCompare"
+ // InternalRBAModel.g:5193:1: ruleOpObjectCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '==' ;
+ public final AntlrDatatypeRuleToken ruleOpObjectCompare() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5199:2: (kw= '==' )
+ // InternalRBAModel.g:5200:2: kw= '=='
+ {
+ kw=(Token)match(input,79,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpObjectCompareAccess().getEqualsSignEqualsSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpObjectCompare"
+
+
+ // $ANTLR start "entryRuleOpObjectNotCompare"
+ // InternalRBAModel.g:5208:1: entryRuleOpObjectNotCompare returns [String current=null] : iv_ruleOpObjectNotCompare= ruleOpObjectNotCompare EOF ;
+ public final String entryRuleOpObjectNotCompare() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpObjectNotCompare = null;
+
+
+ try {
+ // InternalRBAModel.g:5208:58: (iv_ruleOpObjectNotCompare= ruleOpObjectNotCompare EOF )
+ // InternalRBAModel.g:5209:2: iv_ruleOpObjectNotCompare= ruleOpObjectNotCompare EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpObjectNotCompareRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpObjectNotCompare=ruleOpObjectNotCompare();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpObjectNotCompare.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpObjectNotCompare"
+
+
+ // $ANTLR start "ruleOpObjectNotCompare"
+ // InternalRBAModel.g:5215:1: ruleOpObjectNotCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '!=' ;
+ public final AntlrDatatypeRuleToken ruleOpObjectNotCompare() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5221:2: (kw= '!=' )
+ // InternalRBAModel.g:5222:2: kw= '!='
+ {
+ kw=(Token)match(input,80,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpObjectNotCompareAccess().getExclamationMarkEqualsSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpObjectNotCompare"
+
+
+ // $ANTLR start "entryRuleOpEquality"
+ // InternalRBAModel.g:5230:1: entryRuleOpEquality returns [String current=null] : iv_ruleOpEquality= ruleOpEquality EOF ;
+ public final String entryRuleOpEquality() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpEquality = null;
+
+
+ try {
+ // InternalRBAModel.g:5230:50: (iv_ruleOpEquality= ruleOpEquality EOF )
+ // InternalRBAModel.g:5231:2: iv_ruleOpEquality= ruleOpEquality EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpEqualityRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpEquality=ruleOpEquality();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpEquality.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpEquality"
+
+
+ // $ANTLR start "ruleOpEquality"
+ // InternalRBAModel.g:5237:1: ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ;
+ public final AntlrDatatypeRuleToken ruleOpEquality() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5243:2: (kw= '=' )
+ // InternalRBAModel.g:5244:2: kw= '='
+ {
+ kw=(Token)match(input,69,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpEquality"
+
+
+ // $ANTLR start "entryRuleCRelationalExpression"
+ // InternalRBAModel.g:5252:1: entryRuleCRelationalExpression returns [EObject current=null] : iv_ruleCRelationalExpression= ruleCRelationalExpression EOF ;
+ public final EObject entryRuleCRelationalExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCRelationalExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:5252:62: (iv_ruleCRelationalExpression= ruleCRelationalExpression EOF )
+ // InternalRBAModel.g:5253:2: iv_ruleCRelationalExpression= ruleCRelationalExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCRelationalExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCRelationalExpression=ruleCRelationalExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCRelationalExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCRelationalExpression"
+
+
+ // $ANTLR start "ruleCRelationalExpression"
+ // InternalRBAModel.g:5259:1: ruleCRelationalExpression returns [EObject current=null] : (this_CUnaryOperation_0= ruleCUnaryOperation ( ( ( ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )=> ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) ) ( (lv_operand_9_0= ruleCUnaryOperation ) ) )* ) ;
+ public final EObject ruleCRelationalExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject this_CUnaryOperation_0 = null;
+
+ EObject lv_operand_9_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5265:2: ( (this_CUnaryOperation_0= ruleCUnaryOperation ( ( ( ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )=> ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) ) ( (lv_operand_9_0= ruleCUnaryOperation ) ) )* ) )
+ // InternalRBAModel.g:5266:2: (this_CUnaryOperation_0= ruleCUnaryOperation ( ( ( ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )=> ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) ) ( (lv_operand_9_0= ruleCUnaryOperation ) ) )* )
+ {
+ // InternalRBAModel.g:5266:2: (this_CUnaryOperation_0= ruleCUnaryOperation ( ( ( ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )=> ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) ) ( (lv_operand_9_0= ruleCUnaryOperation ) ) )* )
+ // InternalRBAModel.g:5267:3: this_CUnaryOperation_0= ruleCUnaryOperation ( ( ( ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )=> ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) ) ( (lv_operand_9_0= ruleCUnaryOperation ) ) )*
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getCUnaryOperationParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_55);
+ this_CUnaryOperation_0=ruleCUnaryOperation();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_CUnaryOperation_0;
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:5275:3: ( ( ( ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )=> ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) ) ( (lv_operand_9_0= ruleCUnaryOperation ) ) )*
+ loop74:
+ do {
+ int alt74=2;
+ switch ( input.LA(1) ) {
+ case 81:
+ {
+ int LA74_2 = input.LA(2);
+
+ if ( (synpred8_InternalRBAModel()) ) {
+ alt74=1;
+ }
+
+
+ }
+ break;
+ case 82:
+ {
+ int LA74_3 = input.LA(2);
+
+ if ( (synpred8_InternalRBAModel()) ) {
+ alt74=1;
+ }
+
+
+ }
+ break;
+ case 33:
+ {
+ int LA74_4 = input.LA(2);
+
+ if ( (synpred8_InternalRBAModel()) ) {
+ alt74=1;
+ }
+
+
+ }
+ break;
+ case 32:
+ {
+ int LA74_5 = input.LA(2);
+
+ if ( (synpred8_InternalRBAModel()) ) {
+ alt74=1;
+ }
+
+
+ }
+ break;
+
+ }
+
+ switch (alt74) {
+ case 1 :
+ // InternalRBAModel.g:5276:4: ( ( ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )=> ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) ) ( (lv_operand_9_0= ruleCUnaryOperation ) )
+ {
+ // InternalRBAModel.g:5276:4: ( ( ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )=> ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )
+ // InternalRBAModel.g:5277:5: ( ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )=> ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) )
+ {
+ // InternalRBAModel.g:5303:5: ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) )
+ int alt73=4;
+ switch ( input.LA(1) ) {
+ case 81:
+ {
+ alt73=1;
+ }
+ break;
+ case 82:
+ {
+ alt73=2;
+ }
+ break;
+ case 33:
+ {
+ alt73=3;
+ }
+ break;
+ case 32:
+ {
+ alt73=4;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 73, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt73) {
+ case 1 :
+ // InternalRBAModel.g:5304:6: ( () ruleOpIsGreaterThanEqual )
+ {
+ // InternalRBAModel.g:5304:6: ( () ruleOpIsGreaterThanEqual )
+ // InternalRBAModel.g:5305:7: () ruleOpIsGreaterThanEqual
+ {
+ // InternalRBAModel.g:5305:7: ()
+ // InternalRBAModel.g:5306:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCRelationalExpressionAccess().getIsGreaterThanEqualOperatorOperandAction_1_0_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getOpIsGreaterThanEqualParserRuleCall_1_0_0_0_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpIsGreaterThanEqual();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:5321:6: ( () ruleOpIsLowerThanEqual )
+ {
+ // InternalRBAModel.g:5321:6: ( () ruleOpIsLowerThanEqual )
+ // InternalRBAModel.g:5322:7: () ruleOpIsLowerThanEqual
+ {
+ // InternalRBAModel.g:5322:7: ()
+ // InternalRBAModel.g:5323:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCRelationalExpressionAccess().getIsLowerThanEqualOperatorOperandAction_1_0_0_1_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getOpIsLowerThanEqualParserRuleCall_1_0_0_1_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpIsLowerThanEqual();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:5338:6: ( () ruleOpIsGreaterThan )
+ {
+ // InternalRBAModel.g:5338:6: ( () ruleOpIsGreaterThan )
+ // InternalRBAModel.g:5339:7: () ruleOpIsGreaterThan
+ {
+ // InternalRBAModel.g:5339:7: ()
+ // InternalRBAModel.g:5340:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCRelationalExpressionAccess().getIsGreaterThanOperatorOperandAction_1_0_0_2_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getOpIsGreaterThanParserRuleCall_1_0_0_2_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpIsGreaterThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:5355:6: ( () ruleOpIsLowerThan )
+ {
+ // InternalRBAModel.g:5355:6: ( () ruleOpIsLowerThan )
+ // InternalRBAModel.g:5356:7: () ruleOpIsLowerThan
+ {
+ // InternalRBAModel.g:5356:7: ()
+ // InternalRBAModel.g:5357:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCRelationalExpressionAccess().getIsLowerThanOperatorOperandAction_1_0_0_3_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getOpIsLowerThanParserRuleCall_1_0_0_3_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpIsLowerThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:5373:4: ( (lv_operand_9_0= ruleCUnaryOperation ) )
+ // InternalRBAModel.g:5374:5: (lv_operand_9_0= ruleCUnaryOperation )
+ {
+ // InternalRBAModel.g:5374:5: (lv_operand_9_0= ruleCUnaryOperation )
+ // InternalRBAModel.g:5375:6: lv_operand_9_0= ruleCUnaryOperation
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCRelationalExpressionAccess().getOperandCUnaryOperationParserRuleCall_1_1_0());
+
+ }
+ pushFollow(FOLLOW_55);
+ lv_operand_9_0=ruleCUnaryOperation();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCRelationalExpressionRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_9_0,
+ "rba.tool.editor.RBAModel.CUnaryOperation");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop74;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCRelationalExpression"
+
+
+ // $ANTLR start "entryRuleOpIsGreaterThanEqual"
+ // InternalRBAModel.g:5397:1: entryRuleOpIsGreaterThanEqual returns [String current=null] : iv_ruleOpIsGreaterThanEqual= ruleOpIsGreaterThanEqual EOF ;
+ public final String entryRuleOpIsGreaterThanEqual() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsGreaterThanEqual = null;
+
+
+ try {
+ // InternalRBAModel.g:5397:60: (iv_ruleOpIsGreaterThanEqual= ruleOpIsGreaterThanEqual EOF )
+ // InternalRBAModel.g:5398:2: iv_ruleOpIsGreaterThanEqual= ruleOpIsGreaterThanEqual EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsGreaterThanEqualRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsGreaterThanEqual=ruleOpIsGreaterThanEqual();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsGreaterThanEqual.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsGreaterThanEqual"
+
+
+ // $ANTLR start "ruleOpIsGreaterThanEqual"
+ // InternalRBAModel.g:5404:1: ruleOpIsGreaterThanEqual returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '>=' ;
+ public final AntlrDatatypeRuleToken ruleOpIsGreaterThanEqual() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5410:2: (kw= '>=' )
+ // InternalRBAModel.g:5411:2: kw= '>='
+ {
+ kw=(Token)match(input,81,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsGreaterThanEqualAccess().getGreaterThanSignEqualsSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsGreaterThanEqual"
+
+
+ // $ANTLR start "entryRuleOpIsLowerThanEqual"
+ // InternalRBAModel.g:5419:1: entryRuleOpIsLowerThanEqual returns [String current=null] : iv_ruleOpIsLowerThanEqual= ruleOpIsLowerThanEqual EOF ;
+ public final String entryRuleOpIsLowerThanEqual() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsLowerThanEqual = null;
+
+
+ try {
+ // InternalRBAModel.g:5419:58: (iv_ruleOpIsLowerThanEqual= ruleOpIsLowerThanEqual EOF )
+ // InternalRBAModel.g:5420:2: iv_ruleOpIsLowerThanEqual= ruleOpIsLowerThanEqual EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsLowerThanEqualRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsLowerThanEqual=ruleOpIsLowerThanEqual();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsLowerThanEqual.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsLowerThanEqual"
+
+
+ // $ANTLR start "ruleOpIsLowerThanEqual"
+ // InternalRBAModel.g:5426:1: ruleOpIsLowerThanEqual returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '<=' ;
+ public final AntlrDatatypeRuleToken ruleOpIsLowerThanEqual() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5432:2: (kw= '<=' )
+ // InternalRBAModel.g:5433:2: kw= '<='
+ {
+ kw=(Token)match(input,82,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsLowerThanEqualAccess().getLessThanSignEqualsSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsLowerThanEqual"
+
+
+ // $ANTLR start "entryRuleOpIsGreaterThan"
+ // InternalRBAModel.g:5441:1: entryRuleOpIsGreaterThan returns [String current=null] : iv_ruleOpIsGreaterThan= ruleOpIsGreaterThan EOF ;
+ public final String entryRuleOpIsGreaterThan() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsGreaterThan = null;
+
+
+ try {
+ // InternalRBAModel.g:5441:55: (iv_ruleOpIsGreaterThan= ruleOpIsGreaterThan EOF )
+ // InternalRBAModel.g:5442:2: iv_ruleOpIsGreaterThan= ruleOpIsGreaterThan EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsGreaterThanRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsGreaterThan=ruleOpIsGreaterThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsGreaterThan.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsGreaterThan"
+
+
+ // $ANTLR start "ruleOpIsGreaterThan"
+ // InternalRBAModel.g:5448:1: ruleOpIsGreaterThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '>' ;
+ public final AntlrDatatypeRuleToken ruleOpIsGreaterThan() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5454:2: (kw= '>' )
+ // InternalRBAModel.g:5455:2: kw= '>'
+ {
+ kw=(Token)match(input,33,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsGreaterThanAccess().getGreaterThanSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsGreaterThan"
+
+
+ // $ANTLR start "entryRuleOpIsLowerThan"
+ // InternalRBAModel.g:5463:1: entryRuleOpIsLowerThan returns [String current=null] : iv_ruleOpIsLowerThan= ruleOpIsLowerThan EOF ;
+ public final String entryRuleOpIsLowerThan() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsLowerThan = null;
+
+
+ try {
+ // InternalRBAModel.g:5463:53: (iv_ruleOpIsLowerThan= ruleOpIsLowerThan EOF )
+ // InternalRBAModel.g:5464:2: iv_ruleOpIsLowerThan= ruleOpIsLowerThan EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsLowerThanRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsLowerThan=ruleOpIsLowerThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsLowerThan.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsLowerThan"
+
+
+ // $ANTLR start "ruleOpIsLowerThan"
+ // InternalRBAModel.g:5470:1: ruleOpIsLowerThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '<' ;
+ public final AntlrDatatypeRuleToken ruleOpIsLowerThan() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5476:2: (kw= '<' )
+ // InternalRBAModel.g:5477:2: kw= '<'
+ {
+ kw=(Token)match(input,32,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsLowerThanAccess().getLessThanSignKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsLowerThan"
+
+
+ // $ANTLR start "entryRuleCUnaryOperation"
+ // InternalRBAModel.g:5485:1: entryRuleCUnaryOperation returns [EObject current=null] : iv_ruleCUnaryOperation= ruleCUnaryOperation EOF ;
+ public final EObject entryRuleCUnaryOperation() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCUnaryOperation = null;
+
+
+ try {
+ // InternalRBAModel.g:5485:56: (iv_ruleCUnaryOperation= ruleCUnaryOperation EOF )
+ // InternalRBAModel.g:5486:2: iv_ruleCUnaryOperation= ruleCUnaryOperation EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCUnaryOperationRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCUnaryOperation=ruleCUnaryOperation();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCUnaryOperation;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCUnaryOperation"
+
+
+ // $ANTLR start "ruleCUnaryOperation"
+ // InternalRBAModel.g:5492:1: ruleCUnaryOperation returns [EObject current=null] : ( ( () ruleOpNot ( (lv_operand_2_0= ruleCUnaryOperation ) ) ) | this_COperationFeatureCall_3= ruleCOperationFeatureCall ) ;
+ public final EObject ruleCUnaryOperation() throws RecognitionException {
+ EObject current = null;
+
+ EObject lv_operand_2_0 = null;
+
+ EObject this_COperationFeatureCall_3 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5498:2: ( ( ( () ruleOpNot ( (lv_operand_2_0= ruleCUnaryOperation ) ) ) | this_COperationFeatureCall_3= ruleCOperationFeatureCall ) )
+ // InternalRBAModel.g:5499:2: ( ( () ruleOpNot ( (lv_operand_2_0= ruleCUnaryOperation ) ) ) | this_COperationFeatureCall_3= ruleCOperationFeatureCall )
+ {
+ // InternalRBAModel.g:5499:2: ( ( () ruleOpNot ( (lv_operand_2_0= ruleCUnaryOperation ) ) ) | this_COperationFeatureCall_3= ruleCOperationFeatureCall )
+ int alt75=2;
+ int LA75_0 = input.LA(1);
+
+ if ( (LA75_0==83) ) {
+ alt75=1;
+ }
+ else if ( (LA75_0==RULE_INT||LA75_0==RULE_ID||LA75_0==26||LA75_0==34||(LA75_0>=120 && LA75_0<=128)||(LA75_0>=131 && LA75_0<=132)||LA75_0==148||LA75_0==150) ) {
+ alt75=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 75, 0, input);
+
+ throw nvae;
+ }
+ switch (alt75) {
+ case 1 :
+ // InternalRBAModel.g:5500:3: ( () ruleOpNot ( (lv_operand_2_0= ruleCUnaryOperation ) ) )
+ {
+ // InternalRBAModel.g:5500:3: ( () ruleOpNot ( (lv_operand_2_0= ruleCUnaryOperation ) ) )
+ // InternalRBAModel.g:5501:4: () ruleOpNot ( (lv_operand_2_0= ruleCUnaryOperation ) )
+ {
+ // InternalRBAModel.g:5501:4: ()
+ // InternalRBAModel.g:5502:5:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getCUnaryOperationAccess().getNotOperatorAction_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCUnaryOperationAccess().getOpNotParserRuleCall_0_1());
+
+ }
+ pushFollow(FOLLOW_52);
+ ruleOpNot();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:5515:4: ( (lv_operand_2_0= ruleCUnaryOperation ) )
+ // InternalRBAModel.g:5516:5: (lv_operand_2_0= ruleCUnaryOperation )
+ {
+ // InternalRBAModel.g:5516:5: (lv_operand_2_0= ruleCUnaryOperation )
+ // InternalRBAModel.g:5517:6: lv_operand_2_0= ruleCUnaryOperation
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCUnaryOperationAccess().getOperandCUnaryOperationParserRuleCall_0_2_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_operand_2_0=ruleCUnaryOperation();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCUnaryOperationRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_2_0,
+ "rba.tool.editor.RBAModel.CUnaryOperation");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:5536:3: this_COperationFeatureCall_3= ruleCOperationFeatureCall
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCUnaryOperationAccess().getCOperationFeatureCallParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_COperationFeatureCall_3=ruleCOperationFeatureCall();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_COperationFeatureCall_3;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCUnaryOperation"
+
+
+ // $ANTLR start "entryRuleOpNot"
+ // InternalRBAModel.g:5548:1: entryRuleOpNot returns [String current=null] : iv_ruleOpNot= ruleOpNot EOF ;
+ public final String entryRuleOpNot() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpNot = null;
+
+
+ try {
+ // InternalRBAModel.g:5548:45: (iv_ruleOpNot= ruleOpNot EOF )
+ // InternalRBAModel.g:5549:2: iv_ruleOpNot= ruleOpNot EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpNotRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpNot=ruleOpNot();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpNot.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpNot"
+
+
+ // $ANTLR start "ruleOpNot"
+ // InternalRBAModel.g:5555:1: ruleOpNot returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '!' ;
+ public final AntlrDatatypeRuleToken ruleOpNot() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5561:2: (kw= '!' )
+ // InternalRBAModel.g:5562:2: kw= '!'
+ {
+ kw=(Token)match(input,83,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpNotAccess().getExclamationMarkKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpNot"
+
+
+ // $ANTLR start "entryRuleCOperationFeatureCall"
+ // InternalRBAModel.g:5570:1: entryRuleCOperationFeatureCall returns [EObject current=null] : iv_ruleCOperationFeatureCall= ruleCOperationFeatureCall EOF ;
+ public final EObject entryRuleCOperationFeatureCall() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCOperationFeatureCall = null;
+
+
+ try {
+ // InternalRBAModel.g:5570:62: (iv_ruleCOperationFeatureCall= ruleCOperationFeatureCall EOF )
+ // InternalRBAModel.g:5571:2: iv_ruleCOperationFeatureCall= ruleCOperationFeatureCall EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCOperationFeatureCallRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCOperationFeatureCall=ruleCOperationFeatureCall();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCOperationFeatureCall;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCOperationFeatureCall"
+
+
+ // $ANTLR start "ruleCOperationFeatureCall"
+ // InternalRBAModel.g:5577:1: ruleCOperationFeatureCall returns [EObject current=null] : (this_CPrimaryExpression_0= ruleCPrimaryExpression ( ( ( '.' )=>otherlv_1= '.' ) ( ( ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) ) ) | ( ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )? ) | ( ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) ) | ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) ) | ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) ) ) ) )* ) ;
+ public final EObject ruleCOperationFeatureCall() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_66=null;
+ Token otherlv_68=null;
+ Token otherlv_71=null;
+ Token otherlv_73=null;
+ EObject this_CPrimaryExpression_0 = null;
+
+ EObject lv_operand_67_0 = null;
+
+ AntlrDatatypeRuleToken lv_tagName_72_0 = null;
+
+ EObject lv_lambda_76_0 = null;
+
+ EObject lv_lambda_79_0 = null;
+
+ EObject lv_lambda_82_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:5583:2: ( (this_CPrimaryExpression_0= ruleCPrimaryExpression ( ( ( '.' )=>otherlv_1= '.' ) ( ( ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) ) ) | ( ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )? ) | ( ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) ) | ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) ) | ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) ) ) ) )* ) )
+ // InternalRBAModel.g:5584:2: (this_CPrimaryExpression_0= ruleCPrimaryExpression ( ( ( '.' )=>otherlv_1= '.' ) ( ( ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) ) ) | ( ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )? ) | ( ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) ) | ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) ) | ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) ) ) ) )* )
+ {
+ // InternalRBAModel.g:5584:2: (this_CPrimaryExpression_0= ruleCPrimaryExpression ( ( ( '.' )=>otherlv_1= '.' ) ( ( ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) ) ) | ( ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )? ) | ( ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) ) | ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) ) | ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) ) ) ) )* )
+ // InternalRBAModel.g:5585:3: this_CPrimaryExpression_0= ruleCPrimaryExpression ( ( ( '.' )=>otherlv_1= '.' ) ( ( ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) ) ) | ( ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )? ) | ( ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) ) | ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) ) | ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) ) ) ) )*
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getCPrimaryExpressionParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_50);
+ this_CPrimaryExpression_0=ruleCPrimaryExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_CPrimaryExpression_0;
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:5593:3: ( ( ( '.' )=>otherlv_1= '.' ) ( ( ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) ) ) | ( ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )? ) | ( ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) ) | ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) ) | ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) ) ) ) )*
+ loop82:
+ do {
+ int alt82=2;
+ int LA82_0 = input.LA(1);
+
+ if ( (LA82_0==71) ) {
+ int LA82_2 = input.LA(2);
+
+ if ( (synpred9_InternalRBAModel()) ) {
+ alt82=1;
+ }
+
+
+ }
+
+
+ switch (alt82) {
+ case 1 :
+ // InternalRBAModel.g:5594:4: ( ( '.' )=>otherlv_1= '.' ) ( ( ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) ) ) | ( ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )? ) | ( ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) ) | ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) ) | ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) ) ) )
+ {
+ // InternalRBAModel.g:5594:4: ( ( '.' )=>otherlv_1= '.' )
+ // InternalRBAModel.g:5595:5: ( '.' )=>otherlv_1= '.'
+ {
+ otherlv_1=(Token)match(input,71,FOLLOW_56); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getCOperationFeatureCallAccess().getFullStopKeyword_1_0_0());
+
+ }
+
+ }
+
+ // InternalRBAModel.g:5602:4: ( ( ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) ) ) | ( ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )? ) | ( ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) ) | ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) ) | ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) ) ) )
+ int alt81=3;
+ switch ( input.LA(1) ) {
+ case 84:
+ case 85:
+ case 86:
+ case 87:
+ case 88:
+ case 89:
+ case 90:
+ case 91:
+ case 92:
+ case 93:
+ case 94:
+ case 95:
+ case 96:
+ case 97:
+ case 98:
+ case 99:
+ case 100:
+ case 101:
+ case 102:
+ case 103:
+ case 104:
+ case 105:
+ case 106:
+ case 107:
+ case 108:
+ case 109:
+ case 110:
+ case 111:
+ case 113:
+ case 114:
+ case 115:
+ case 116:
+ {
+ alt81=1;
+ }
+ break;
+ case 112:
+ {
+ alt81=2;
+ }
+ break;
+ case 117:
+ case 118:
+ case 119:
+ {
+ alt81=3;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 81, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt81) {
+ case 1 :
+ // InternalRBAModel.g:5603:5: ( ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) ) )
+ {
+ // InternalRBAModel.g:5603:5: ( ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) ) )
+ // InternalRBAModel.g:5604:6: ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) ) ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) )
+ {
+ // InternalRBAModel.g:5604:6: ( ( () ruleOpGetProperty ) | ( () ruleOpIsOn ) | ( () ruleOpGetContentsList ) | ( () ruleOpContentValue ) | ( () ruleOpIsActive ) | ( () ruleOpGetAllocatables ) | ( () ruleOpAllocatedContent ) | ( () ruleOpHasComeEarlierThan ) | ( () ruleOpHasComeLaterThan ) | ( () ruleOpStateValue ) | ( () ruleOpActiveContents ) | ( () ruleOpSizeOperator ) | ( () ruleOpHasBeenDisplayed ) | ( () ruleOpActiveState ) | ( () ruleOpIsDisplayed ) | ( () ruleOpIsHidden ) | ( () ruleOpDisplayingContent ) | ( () ruleOpIsVisible ) | ( () ruleOpIsOutputted ) | ( () ruleOpIsMuted ) | ( () ruleOpOutputtingSound ) | ( () ruleOpIsSounding ) | ( () ruleOpIsAllocatedTo ) | ( () ruleOpIsChanged ) | ( () ruleOpIsTranslatedTo ) | ( () ruleOpIsDisplayedOn ) | ( () ruleOpIsChangedDisplay ) | ( () ruleOpIsTranslatedViewTo ) | ( () ruleOpIsOutputtedOn ) | ( () ruleOpIsChangedOutput ) | ( () ruleOpIsTranslatedSoundTo ) | ( () ruleOpIsAttenuated ) )
+ int alt76=32;
+ switch ( input.LA(1) ) {
+ case 84:
+ {
+ alt76=1;
+ }
+ break;
+ case 85:
+ {
+ alt76=2;
+ }
+ break;
+ case 86:
+ {
+ alt76=3;
+ }
+ break;
+ case 87:
+ {
+ alt76=4;
+ }
+ break;
+ case 88:
+ {
+ alt76=5;
+ }
+ break;
+ case 89:
+ {
+ alt76=6;
+ }
+ break;
+ case 90:
+ {
+ alt76=7;
+ }
+ break;
+ case 100:
+ {
+ alt76=8;
+ }
+ break;
+ case 101:
+ {
+ alt76=9;
+ }
+ break;
+ case 102:
+ {
+ alt76=10;
+ }
+ break;
+ case 113:
+ {
+ alt76=11;
+ }
+ break;
+ case 114:
+ {
+ alt76=12;
+ }
+ break;
+ case 115:
+ {
+ alt76=13;
+ }
+ break;
+ case 116:
+ {
+ alt76=14;
+ }
+ break;
+ case 91:
+ {
+ alt76=15;
+ }
+ break;
+ case 92:
+ {
+ alt76=16;
+ }
+ break;
+ case 93:
+ {
+ alt76=17;
+ }
+ break;
+ case 94:
+ {
+ alt76=18;
+ }
+ break;
+ case 95:
+ {
+ alt76=19;
+ }
+ break;
+ case 96:
+ {
+ alt76=20;
+ }
+ break;
+ case 97:
+ {
+ alt76=21;
+ }
+ break;
+ case 98:
+ {
+ alt76=22;
+ }
+ break;
+ case 103:
+ {
+ alt76=23;
+ }
+ break;
+ case 104:
+ {
+ alt76=24;
+ }
+ break;
+ case 105:
+ {
+ alt76=25;
+ }
+ break;
+ case 106:
+ {
+ alt76=26;
+ }
+ break;
+ case 107:
+ {
+ alt76=27;
+ }
+ break;
+ case 108:
+ {
+ alt76=28;
+ }
+ break;
+ case 109:
+ {
+ alt76=29;
+ }
+ break;
+ case 110:
+ {
+ alt76=30;
+ }
+ break;
+ case 111:
+ {
+ alt76=31;
+ }
+ break;
+ case 99:
+ {
+ alt76=32;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 76, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt76) {
+ case 1 :
+ // InternalRBAModel.g:5605:7: ( () ruleOpGetProperty )
+ {
+ // InternalRBAModel.g:5605:7: ( () ruleOpGetProperty )
+ // InternalRBAModel.g:5606:8: () ruleOpGetProperty
+ {
+ // InternalRBAModel.g:5606:8: ()
+ // InternalRBAModel.g:5607:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getGetPropertyOperandAction_1_1_0_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpGetPropertyParserRuleCall_1_1_0_0_0_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpGetProperty();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:5622:7: ( () ruleOpIsOn )
+ {
+ // InternalRBAModel.g:5622:7: ( () ruleOpIsOn )
+ // InternalRBAModel.g:5623:8: () ruleOpIsOn
+ {
+ // InternalRBAModel.g:5623:8: ()
+ // InternalRBAModel.g:5624:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsOnOperandAction_1_1_0_0_1_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsOnParserRuleCall_1_1_0_0_1_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsOn();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:5639:7: ( () ruleOpGetContentsList )
+ {
+ // InternalRBAModel.g:5639:7: ( () ruleOpGetContentsList )
+ // InternalRBAModel.g:5640:8: () ruleOpGetContentsList
+ {
+ // InternalRBAModel.g:5640:8: ()
+ // InternalRBAModel.g:5641:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getGetContentsListOperandAction_1_1_0_0_2_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpGetContentsListParserRuleCall_1_1_0_0_2_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpGetContentsList();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:5656:7: ( () ruleOpContentValue )
+ {
+ // InternalRBAModel.g:5656:7: ( () ruleOpContentValue )
+ // InternalRBAModel.g:5657:8: () ruleOpContentValue
+ {
+ // InternalRBAModel.g:5657:8: ()
+ // InternalRBAModel.g:5658:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getContentValueOperandAction_1_1_0_0_3_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpContentValueParserRuleCall_1_1_0_0_3_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpContentValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:5673:7: ( () ruleOpIsActive )
+ {
+ // InternalRBAModel.g:5673:7: ( () ruleOpIsActive )
+ // InternalRBAModel.g:5674:8: () ruleOpIsActive
+ {
+ // InternalRBAModel.g:5674:8: ()
+ // InternalRBAModel.g:5675:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsActiveOperandAction_1_1_0_0_4_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsActiveParserRuleCall_1_1_0_0_4_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsActive();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 6 :
+ // InternalRBAModel.g:5690:7: ( () ruleOpGetAllocatables )
+ {
+ // InternalRBAModel.g:5690:7: ( () ruleOpGetAllocatables )
+ // InternalRBAModel.g:5691:8: () ruleOpGetAllocatables
+ {
+ // InternalRBAModel.g:5691:8: ()
+ // InternalRBAModel.g:5692:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getGetAllocatablesOperandAction_1_1_0_0_5_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpGetAllocatablesParserRuleCall_1_1_0_0_5_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpGetAllocatables();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 7 :
+ // InternalRBAModel.g:5707:7: ( () ruleOpAllocatedContent )
+ {
+ // InternalRBAModel.g:5707:7: ( () ruleOpAllocatedContent )
+ // InternalRBAModel.g:5708:8: () ruleOpAllocatedContent
+ {
+ // InternalRBAModel.g:5708:8: ()
+ // InternalRBAModel.g:5709:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getAllocatedContentOperandAction_1_1_0_0_6_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpAllocatedContentParserRuleCall_1_1_0_0_6_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpAllocatedContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 8 :
+ // InternalRBAModel.g:5724:7: ( () ruleOpHasComeEarlierThan )
+ {
+ // InternalRBAModel.g:5724:7: ( () ruleOpHasComeEarlierThan )
+ // InternalRBAModel.g:5725:8: () ruleOpHasComeEarlierThan
+ {
+ // InternalRBAModel.g:5725:8: ()
+ // InternalRBAModel.g:5726:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getHasComeEarlierThanOperandAction_1_1_0_0_7_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpHasComeEarlierThanParserRuleCall_1_1_0_0_7_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpHasComeEarlierThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 9 :
+ // InternalRBAModel.g:5741:7: ( () ruleOpHasComeLaterThan )
+ {
+ // InternalRBAModel.g:5741:7: ( () ruleOpHasComeLaterThan )
+ // InternalRBAModel.g:5742:8: () ruleOpHasComeLaterThan
+ {
+ // InternalRBAModel.g:5742:8: ()
+ // InternalRBAModel.g:5743:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getHasComeLaterThanOperandAction_1_1_0_0_8_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpHasComeLaterThanParserRuleCall_1_1_0_0_8_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpHasComeLaterThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 10 :
+ // InternalRBAModel.g:5758:7: ( () ruleOpStateValue )
+ {
+ // InternalRBAModel.g:5758:7: ( () ruleOpStateValue )
+ // InternalRBAModel.g:5759:8: () ruleOpStateValue
+ {
+ // InternalRBAModel.g:5759:8: ()
+ // InternalRBAModel.g:5760:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getStateValueOperandAction_1_1_0_0_9_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpStateValueParserRuleCall_1_1_0_0_9_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpStateValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 11 :
+ // InternalRBAModel.g:5775:7: ( () ruleOpActiveContents )
+ {
+ // InternalRBAModel.g:5775:7: ( () ruleOpActiveContents )
+ // InternalRBAModel.g:5776:8: () ruleOpActiveContents
+ {
+ // InternalRBAModel.g:5776:8: ()
+ // InternalRBAModel.g:5777:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getActiveContentsOperandAction_1_1_0_0_10_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpActiveContentsParserRuleCall_1_1_0_0_10_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpActiveContents();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 12 :
+ // InternalRBAModel.g:5792:7: ( () ruleOpSizeOperator )
+ {
+ // InternalRBAModel.g:5792:7: ( () ruleOpSizeOperator )
+ // InternalRBAModel.g:5793:8: () ruleOpSizeOperator
+ {
+ // InternalRBAModel.g:5793:8: ()
+ // InternalRBAModel.g:5794:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getSizeOperatorOperandAction_1_1_0_0_11_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpSizeOperatorParserRuleCall_1_1_0_0_11_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpSizeOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 13 :
+ // InternalRBAModel.g:5809:7: ( () ruleOpHasBeenDisplayed )
+ {
+ // InternalRBAModel.g:5809:7: ( () ruleOpHasBeenDisplayed )
+ // InternalRBAModel.g:5810:8: () ruleOpHasBeenDisplayed
+ {
+ // InternalRBAModel.g:5810:8: ()
+ // InternalRBAModel.g:5811:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getHasBeenDisplayedOperandAction_1_1_0_0_12_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpHasBeenDisplayedParserRuleCall_1_1_0_0_12_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpHasBeenDisplayed();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 14 :
+ // InternalRBAModel.g:5826:7: ( () ruleOpActiveState )
+ {
+ // InternalRBAModel.g:5826:7: ( () ruleOpActiveState )
+ // InternalRBAModel.g:5827:8: () ruleOpActiveState
+ {
+ // InternalRBAModel.g:5827:8: ()
+ // InternalRBAModel.g:5828:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getActiveStateOperandAction_1_1_0_0_13_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpActiveStateParserRuleCall_1_1_0_0_13_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpActiveState();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 15 :
+ // InternalRBAModel.g:5843:7: ( () ruleOpIsDisplayed )
+ {
+ // InternalRBAModel.g:5843:7: ( () ruleOpIsDisplayed )
+ // InternalRBAModel.g:5844:8: () ruleOpIsDisplayed
+ {
+ // InternalRBAModel.g:5844:8: ()
+ // InternalRBAModel.g:5845:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsDisplayedOperandAction_1_1_0_0_14_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsDisplayedParserRuleCall_1_1_0_0_14_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsDisplayed();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 16 :
+ // InternalRBAModel.g:5860:7: ( () ruleOpIsHidden )
+ {
+ // InternalRBAModel.g:5860:7: ( () ruleOpIsHidden )
+ // InternalRBAModel.g:5861:8: () ruleOpIsHidden
+ {
+ // InternalRBAModel.g:5861:8: ()
+ // InternalRBAModel.g:5862:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsHiddenOperandAction_1_1_0_0_15_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsHiddenParserRuleCall_1_1_0_0_15_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsHidden();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 17 :
+ // InternalRBAModel.g:5877:7: ( () ruleOpDisplayingContent )
+ {
+ // InternalRBAModel.g:5877:7: ( () ruleOpDisplayingContent )
+ // InternalRBAModel.g:5878:8: () ruleOpDisplayingContent
+ {
+ // InternalRBAModel.g:5878:8: ()
+ // InternalRBAModel.g:5879:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getDisplayingContentOperandAction_1_1_0_0_16_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpDisplayingContentParserRuleCall_1_1_0_0_16_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpDisplayingContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 18 :
+ // InternalRBAModel.g:5894:7: ( () ruleOpIsVisible )
+ {
+ // InternalRBAModel.g:5894:7: ( () ruleOpIsVisible )
+ // InternalRBAModel.g:5895:8: () ruleOpIsVisible
+ {
+ // InternalRBAModel.g:5895:8: ()
+ // InternalRBAModel.g:5896:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsVisibleOperandAction_1_1_0_0_17_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsVisibleParserRuleCall_1_1_0_0_17_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsVisible();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 19 :
+ // InternalRBAModel.g:5911:7: ( () ruleOpIsOutputted )
+ {
+ // InternalRBAModel.g:5911:7: ( () ruleOpIsOutputted )
+ // InternalRBAModel.g:5912:8: () ruleOpIsOutputted
+ {
+ // InternalRBAModel.g:5912:8: ()
+ // InternalRBAModel.g:5913:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsOutputtedOperandAction_1_1_0_0_18_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsOutputtedParserRuleCall_1_1_0_0_18_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsOutputted();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 20 :
+ // InternalRBAModel.g:5928:7: ( () ruleOpIsMuted )
+ {
+ // InternalRBAModel.g:5928:7: ( () ruleOpIsMuted )
+ // InternalRBAModel.g:5929:8: () ruleOpIsMuted
+ {
+ // InternalRBAModel.g:5929:8: ()
+ // InternalRBAModel.g:5930:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsMutedOperandAction_1_1_0_0_19_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsMutedParserRuleCall_1_1_0_0_19_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsMuted();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 21 :
+ // InternalRBAModel.g:5945:7: ( () ruleOpOutputtingSound )
+ {
+ // InternalRBAModel.g:5945:7: ( () ruleOpOutputtingSound )
+ // InternalRBAModel.g:5946:8: () ruleOpOutputtingSound
+ {
+ // InternalRBAModel.g:5946:8: ()
+ // InternalRBAModel.g:5947:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getOutputtingSoundOperandAction_1_1_0_0_20_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpOutputtingSoundParserRuleCall_1_1_0_0_20_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpOutputtingSound();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 22 :
+ // InternalRBAModel.g:5962:7: ( () ruleOpIsSounding )
+ {
+ // InternalRBAModel.g:5962:7: ( () ruleOpIsSounding )
+ // InternalRBAModel.g:5963:8: () ruleOpIsSounding
+ {
+ // InternalRBAModel.g:5963:8: ()
+ // InternalRBAModel.g:5964:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsSoundingOperandAction_1_1_0_0_21_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsSoundingParserRuleCall_1_1_0_0_21_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsSounding();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 23 :
+ // InternalRBAModel.g:5979:7: ( () ruleOpIsAllocatedTo )
+ {
+ // InternalRBAModel.g:5979:7: ( () ruleOpIsAllocatedTo )
+ // InternalRBAModel.g:5980:8: () ruleOpIsAllocatedTo
+ {
+ // InternalRBAModel.g:5980:8: ()
+ // InternalRBAModel.g:5981:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsAllocatedToOperandAction_1_1_0_0_22_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsAllocatedToParserRuleCall_1_1_0_0_22_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsAllocatedTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 24 :
+ // InternalRBAModel.g:5996:7: ( () ruleOpIsChanged )
+ {
+ // InternalRBAModel.g:5996:7: ( () ruleOpIsChanged )
+ // InternalRBAModel.g:5997:8: () ruleOpIsChanged
+ {
+ // InternalRBAModel.g:5997:8: ()
+ // InternalRBAModel.g:5998:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsChangedOperandAction_1_1_0_0_23_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsChangedParserRuleCall_1_1_0_0_23_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsChanged();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 25 :
+ // InternalRBAModel.g:6013:7: ( () ruleOpIsTranslatedTo )
+ {
+ // InternalRBAModel.g:6013:7: ( () ruleOpIsTranslatedTo )
+ // InternalRBAModel.g:6014:8: () ruleOpIsTranslatedTo
+ {
+ // InternalRBAModel.g:6014:8: ()
+ // InternalRBAModel.g:6015:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsTranslatedToOperandAction_1_1_0_0_24_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsTranslatedToParserRuleCall_1_1_0_0_24_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsTranslatedTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 26 :
+ // InternalRBAModel.g:6030:7: ( () ruleOpIsDisplayedOn )
+ {
+ // InternalRBAModel.g:6030:7: ( () ruleOpIsDisplayedOn )
+ // InternalRBAModel.g:6031:8: () ruleOpIsDisplayedOn
+ {
+ // InternalRBAModel.g:6031:8: ()
+ // InternalRBAModel.g:6032:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsDisplayedOnOperandAction_1_1_0_0_25_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsDisplayedOnParserRuleCall_1_1_0_0_25_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsDisplayedOn();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 27 :
+ // InternalRBAModel.g:6047:7: ( () ruleOpIsChangedDisplay )
+ {
+ // InternalRBAModel.g:6047:7: ( () ruleOpIsChangedDisplay )
+ // InternalRBAModel.g:6048:8: () ruleOpIsChangedDisplay
+ {
+ // InternalRBAModel.g:6048:8: ()
+ // InternalRBAModel.g:6049:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsChangedDisplayOperandAction_1_1_0_0_26_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsChangedDisplayParserRuleCall_1_1_0_0_26_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsChangedDisplay();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 28 :
+ // InternalRBAModel.g:6064:7: ( () ruleOpIsTranslatedViewTo )
+ {
+ // InternalRBAModel.g:6064:7: ( () ruleOpIsTranslatedViewTo )
+ // InternalRBAModel.g:6065:8: () ruleOpIsTranslatedViewTo
+ {
+ // InternalRBAModel.g:6065:8: ()
+ // InternalRBAModel.g:6066:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsTranslatedViewToOperandAction_1_1_0_0_27_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsTranslatedViewToParserRuleCall_1_1_0_0_27_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsTranslatedViewTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 29 :
+ // InternalRBAModel.g:6081:7: ( () ruleOpIsOutputtedOn )
+ {
+ // InternalRBAModel.g:6081:7: ( () ruleOpIsOutputtedOn )
+ // InternalRBAModel.g:6082:8: () ruleOpIsOutputtedOn
+ {
+ // InternalRBAModel.g:6082:8: ()
+ // InternalRBAModel.g:6083:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsOutputtedOnOperandAction_1_1_0_0_28_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsOutputtedOnParserRuleCall_1_1_0_0_28_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsOutputtedOn();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 30 :
+ // InternalRBAModel.g:6098:7: ( () ruleOpIsChangedOutput )
+ {
+ // InternalRBAModel.g:6098:7: ( () ruleOpIsChangedOutput )
+ // InternalRBAModel.g:6099:8: () ruleOpIsChangedOutput
+ {
+ // InternalRBAModel.g:6099:8: ()
+ // InternalRBAModel.g:6100:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsChangedOutputOperandAction_1_1_0_0_29_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsChangedOutputParserRuleCall_1_1_0_0_29_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsChangedOutput();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 31 :
+ // InternalRBAModel.g:6115:7: ( () ruleOpIsTranslatedSoundTo )
+ {
+ // InternalRBAModel.g:6115:7: ( () ruleOpIsTranslatedSoundTo )
+ // InternalRBAModel.g:6116:8: () ruleOpIsTranslatedSoundTo
+ {
+ // InternalRBAModel.g:6116:8: ()
+ // InternalRBAModel.g:6117:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsTranslatedSoundToOperandAction_1_1_0_0_30_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsTranslatedSoundToParserRuleCall_1_1_0_0_30_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsTranslatedSoundTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 32 :
+ // InternalRBAModel.g:6132:7: ( () ruleOpIsAttenuated )
+ {
+ // InternalRBAModel.g:6132:7: ( () ruleOpIsAttenuated )
+ // InternalRBAModel.g:6133:8: () ruleOpIsAttenuated
+ {
+ // InternalRBAModel.g:6133:8: ()
+ // InternalRBAModel.g:6134:9:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsAttenuatedOperandAction_1_1_0_0_31_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsAttenuatedParserRuleCall_1_1_0_0_31_1());
+
+ }
+ pushFollow(FOLLOW_20);
+ ruleOpIsAttenuated();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalRBAModel.g:6149:6: ( ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' ) )
+ // InternalRBAModel.g:6150:7: ( ( '(' ( ( ruleCExpression ) )? ')' ) )=> (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' )
+ {
+ // InternalRBAModel.g:6160:7: (otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')' )
+ // InternalRBAModel.g:6161:8: otherlv_66= '(' ( (lv_operand_67_0= ruleCExpression ) )? otherlv_68= ')'
+ {
+ otherlv_66=(Token)match(input,34,FOLLOW_57); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_66, grammarAccess.getCOperationFeatureCallAccess().getLeftParenthesisKeyword_1_1_0_1_0_0());
+
+ }
+ // InternalRBAModel.g:6165:8: ( (lv_operand_67_0= ruleCExpression ) )?
+ int alt77=2;
+ int LA77_0 = input.LA(1);
+
+ if ( (LA77_0==RULE_INT||LA77_0==RULE_ID||LA77_0==26||LA77_0==34||LA77_0==83||(LA77_0>=120 && LA77_0<=128)||(LA77_0>=131 && LA77_0<=132)||LA77_0==148||LA77_0==150) ) {
+ alt77=1;
+ }
+ switch (alt77) {
+ case 1 :
+ // InternalRBAModel.g:6166:9: (lv_operand_67_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:6166:9: (lv_operand_67_0= ruleCExpression )
+ // InternalRBAModel.g:6167:10: lv_operand_67_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOperandCExpressionParserRuleCall_1_1_0_1_0_1_0());
+
+ }
+ pushFollow(FOLLOW_48);
+ lv_operand_67_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCOperationFeatureCallRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_67_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ otherlv_68=(Token)match(input,35,FOLLOW_50); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_68, grammarAccess.getCOperationFeatureCallAccess().getRightParenthesisKeyword_1_1_0_1_0_2());
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:6192:5: ( ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )? )
+ {
+ // InternalRBAModel.g:6192:5: ( ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )? )
+ // InternalRBAModel.g:6193:6: ( () ruleOpIsTypeOf ) ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )?
+ {
+ // InternalRBAModel.g:6193:6: ( () ruleOpIsTypeOf )
+ // InternalRBAModel.g:6194:7: () ruleOpIsTypeOf
+ {
+ // InternalRBAModel.g:6194:7: ()
+ // InternalRBAModel.g:6195:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getIsTypeOfOperandAction_1_1_1_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpIsTypeOfParserRuleCall_1_1_1_0_1());
+
+ }
+ pushFollow(FOLLOW_58);
+ ruleOpIsTypeOf();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+ // InternalRBAModel.g:6209:6: ( ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' ) )?
+ int alt79=2;
+ int LA79_0 = input.LA(1);
+
+ if ( (LA79_0==34) ) {
+ int LA79_1 = input.LA(2);
+
+ if ( (LA79_1==RULE_STRING) && (synpred11_InternalRBAModel())) {
+ alt79=1;
+ }
+ else if ( (LA79_1==35) && (synpred11_InternalRBAModel())) {
+ alt79=1;
+ }
+ }
+ switch (alt79) {
+ case 1 :
+ // InternalRBAModel.g:6210:7: ( ( '(' ( ( ruleEString ) )? ')' ) )=> (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' )
+ {
+ // InternalRBAModel.g:6220:7: (otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')' )
+ // InternalRBAModel.g:6221:8: otherlv_71= '(' ( (lv_tagName_72_0= ruleEString ) )? otherlv_73= ')'
+ {
+ otherlv_71=(Token)match(input,34,FOLLOW_59); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_71, grammarAccess.getCOperationFeatureCallAccess().getLeftParenthesisKeyword_1_1_1_1_0_0());
+
+ }
+ // InternalRBAModel.g:6225:8: ( (lv_tagName_72_0= ruleEString ) )?
+ int alt78=2;
+ int LA78_0 = input.LA(1);
+
+ if ( (LA78_0==RULE_STRING) ) {
+ alt78=1;
+ }
+ switch (alt78) {
+ case 1 :
+ // InternalRBAModel.g:6226:9: (lv_tagName_72_0= ruleEString )
+ {
+ // InternalRBAModel.g:6226:9: (lv_tagName_72_0= ruleEString )
+ // InternalRBAModel.g:6227:10: lv_tagName_72_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getTagNameEStringParserRuleCall_1_1_1_1_0_1_0());
+
+ }
+ pushFollow(FOLLOW_48);
+ lv_tagName_72_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCOperationFeatureCallRule());
+ }
+ set(
+ current,
+ "tagName",
+ lv_tagName_72_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ otherlv_73=(Token)match(input,35,FOLLOW_50); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_73, grammarAccess.getCOperationFeatureCallAccess().getRightParenthesisKeyword_1_1_1_1_0_2());
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:6252:5: ( ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) ) | ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) ) | ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) ) )
+ {
+ // InternalRBAModel.g:6252:5: ( ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) ) | ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) ) | ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) ) )
+ int alt80=3;
+ switch ( input.LA(1) ) {
+ case 117:
+ {
+ alt80=1;
+ }
+ break;
+ case 118:
+ {
+ alt80=2;
+ }
+ break;
+ case 119:
+ {
+ alt80=3;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 80, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt80) {
+ case 1 :
+ // InternalRBAModel.g:6253:6: ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) )
+ {
+ // InternalRBAModel.g:6253:6: ( () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) ) )
+ // InternalRBAModel.g:6254:7: () ruleOpMaxOperator ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) )
+ {
+ // InternalRBAModel.g:6254:7: ()
+ // InternalRBAModel.g:6255:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getMaxOperatorOperandAction_1_1_2_0_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpMaxOperatorParserRuleCall_1_1_2_0_1());
+
+ }
+ pushFollow(FOLLOW_15);
+ ruleOpMaxOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:6268:7: ( ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression ) )
+ // InternalRBAModel.g:6269:8: ( ( () '{' ) )=> (lv_lambda_76_0= ruleLambdaExpression )
+ {
+ // InternalRBAModel.g:6275:8: (lv_lambda_76_0= ruleLambdaExpression )
+ // InternalRBAModel.g:6276:9: lv_lambda_76_0= ruleLambdaExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getLambdaLambdaExpressionParserRuleCall_1_1_2_0_2_0());
+
+ }
+ pushFollow(FOLLOW_50);
+ lv_lambda_76_0=ruleLambdaExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCOperationFeatureCallRule());
+ }
+ set(
+ current,
+ "lambda",
+ lv_lambda_76_0,
+ "rba.tool.editor.RBAModel.LambdaExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:6295:6: ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) )
+ {
+ // InternalRBAModel.g:6295:6: ( () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) ) )
+ // InternalRBAModel.g:6296:7: () ruleOpMinOperator ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) )
+ {
+ // InternalRBAModel.g:6296:7: ()
+ // InternalRBAModel.g:6297:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getMinOperatorOperandAction_1_1_2_1_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpMinOperatorParserRuleCall_1_1_2_1_1());
+
+ }
+ pushFollow(FOLLOW_15);
+ ruleOpMinOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:6310:7: ( ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression ) )
+ // InternalRBAModel.g:6311:8: ( ( () '{' ) )=> (lv_lambda_79_0= ruleLambdaExpression )
+ {
+ // InternalRBAModel.g:6317:8: (lv_lambda_79_0= ruleLambdaExpression )
+ // InternalRBAModel.g:6318:9: lv_lambda_79_0= ruleLambdaExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getLambdaLambdaExpressionParserRuleCall_1_1_2_1_2_0());
+
+ }
+ pushFollow(FOLLOW_50);
+ lv_lambda_79_0=ruleLambdaExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCOperationFeatureCallRule());
+ }
+ set(
+ current,
+ "lambda",
+ lv_lambda_79_0,
+ "rba.tool.editor.RBAModel.LambdaExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:6337:6: ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) )
+ {
+ // InternalRBAModel.g:6337:6: ( () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) ) )
+ // InternalRBAModel.g:6338:7: () ruleOpSelectOperator ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) )
+ {
+ // InternalRBAModel.g:6338:7: ()
+ // InternalRBAModel.g:6339:8:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCOperationFeatureCallAccess().getSelectOperatorOperandAction_1_1_2_2_0(),
+ current);
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getOpSelectOperatorParserRuleCall_1_1_2_2_1());
+
+ }
+ pushFollow(FOLLOW_15);
+ ruleOpSelectOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:6352:7: ( ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression ) )
+ // InternalRBAModel.g:6353:8: ( ( () '{' ) )=> (lv_lambda_82_0= ruleLambdaExpression )
+ {
+ // InternalRBAModel.g:6359:8: (lv_lambda_82_0= ruleLambdaExpression )
+ // InternalRBAModel.g:6360:9: lv_lambda_82_0= ruleLambdaExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCOperationFeatureCallAccess().getLambdaLambdaExpressionParserRuleCall_1_1_2_2_2_0());
+
+ }
+ pushFollow(FOLLOW_50);
+ lv_lambda_82_0=ruleLambdaExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getCOperationFeatureCallRule());
+ }
+ set(
+ current,
+ "lambda",
+ lv_lambda_82_0,
+ "rba.tool.editor.RBAModel.LambdaExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop82;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCOperationFeatureCall"
+
+
+ // $ANTLR start "entryRuleOpGetProperty"
+ // InternalRBAModel.g:6385:1: entryRuleOpGetProperty returns [String current=null] : iv_ruleOpGetProperty= ruleOpGetProperty EOF ;
+ public final String entryRuleOpGetProperty() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpGetProperty = null;
+
+
+ try {
+ // InternalRBAModel.g:6385:53: (iv_ruleOpGetProperty= ruleOpGetProperty EOF )
+ // InternalRBAModel.g:6386:2: iv_ruleOpGetProperty= ruleOpGetProperty EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpGetPropertyRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpGetProperty=ruleOpGetProperty();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpGetProperty.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpGetProperty"
+
+
+ // $ANTLR start "ruleOpGetProperty"
+ // InternalRBAModel.g:6392:1: ruleOpGetProperty returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'get' ;
+ public final AntlrDatatypeRuleToken ruleOpGetProperty() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6398:2: (kw= 'get' )
+ // InternalRBAModel.g:6399:2: kw= 'get'
+ {
+ kw=(Token)match(input,84,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpGetPropertyAccess().getGetKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpGetProperty"
+
+
+ // $ANTLR start "entryRuleOpIsOn"
+ // InternalRBAModel.g:6407:1: entryRuleOpIsOn returns [String current=null] : iv_ruleOpIsOn= ruleOpIsOn EOF ;
+ public final String entryRuleOpIsOn() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsOn = null;
+
+
+ try {
+ // InternalRBAModel.g:6407:46: (iv_ruleOpIsOn= ruleOpIsOn EOF )
+ // InternalRBAModel.g:6408:2: iv_ruleOpIsOn= ruleOpIsOn EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsOnRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsOn=ruleOpIsOn();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsOn.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsOn"
+
+
+ // $ANTLR start "ruleOpIsOn"
+ // InternalRBAModel.g:6414:1: ruleOpIsOn returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isOn' ;
+ public final AntlrDatatypeRuleToken ruleOpIsOn() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6420:2: (kw= 'isOn' )
+ // InternalRBAModel.g:6421:2: kw= 'isOn'
+ {
+ kw=(Token)match(input,85,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsOnAccess().getIsOnKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsOn"
+
+
+ // $ANTLR start "entryRuleOpGetContentsList"
+ // InternalRBAModel.g:6429:1: entryRuleOpGetContentsList returns [String current=null] : iv_ruleOpGetContentsList= ruleOpGetContentsList EOF ;
+ public final String entryRuleOpGetContentsList() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpGetContentsList = null;
+
+
+ try {
+ // InternalRBAModel.g:6429:57: (iv_ruleOpGetContentsList= ruleOpGetContentsList EOF )
+ // InternalRBAModel.g:6430:2: iv_ruleOpGetContentsList= ruleOpGetContentsList EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpGetContentsListRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpGetContentsList=ruleOpGetContentsList();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpGetContentsList.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpGetContentsList"
+
+
+ // $ANTLR start "ruleOpGetContentsList"
+ // InternalRBAModel.g:6436:1: ruleOpGetContentsList returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'contentsList' ;
+ public final AntlrDatatypeRuleToken ruleOpGetContentsList() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6442:2: (kw= 'contentsList' )
+ // InternalRBAModel.g:6443:2: kw= 'contentsList'
+ {
+ kw=(Token)match(input,86,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpGetContentsListAccess().getContentsListKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpGetContentsList"
+
+
+ // $ANTLR start "entryRuleOpContentValue"
+ // InternalRBAModel.g:6451:1: entryRuleOpContentValue returns [String current=null] : iv_ruleOpContentValue= ruleOpContentValue EOF ;
+ public final String entryRuleOpContentValue() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpContentValue = null;
+
+
+ try {
+ // InternalRBAModel.g:6451:54: (iv_ruleOpContentValue= ruleOpContentValue EOF )
+ // InternalRBAModel.g:6452:2: iv_ruleOpContentValue= ruleOpContentValue EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpContentValueRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpContentValue=ruleOpContentValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpContentValue.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpContentValue"
+
+
+ // $ANTLR start "ruleOpContentValue"
+ // InternalRBAModel.g:6458:1: ruleOpContentValue returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'contentValue' ;
+ public final AntlrDatatypeRuleToken ruleOpContentValue() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6464:2: (kw= 'contentValue' )
+ // InternalRBAModel.g:6465:2: kw= 'contentValue'
+ {
+ kw=(Token)match(input,87,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpContentValueAccess().getContentValueKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpContentValue"
+
+
+ // $ANTLR start "entryRuleOpIsActive"
+ // InternalRBAModel.g:6473:1: entryRuleOpIsActive returns [String current=null] : iv_ruleOpIsActive= ruleOpIsActive EOF ;
+ public final String entryRuleOpIsActive() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsActive = null;
+
+
+ try {
+ // InternalRBAModel.g:6473:50: (iv_ruleOpIsActive= ruleOpIsActive EOF )
+ // InternalRBAModel.g:6474:2: iv_ruleOpIsActive= ruleOpIsActive EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsActiveRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsActive=ruleOpIsActive();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsActive.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsActive"
+
+
+ // $ANTLR start "ruleOpIsActive"
+ // InternalRBAModel.g:6480:1: ruleOpIsActive returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isActive' ;
+ public final AntlrDatatypeRuleToken ruleOpIsActive() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6486:2: (kw= 'isActive' )
+ // InternalRBAModel.g:6487:2: kw= 'isActive'
+ {
+ kw=(Token)match(input,88,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsActiveAccess().getIsActiveKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsActive"
+
+
+ // $ANTLR start "entryRuleOpGetAllocatables"
+ // InternalRBAModel.g:6495:1: entryRuleOpGetAllocatables returns [String current=null] : iv_ruleOpGetAllocatables= ruleOpGetAllocatables EOF ;
+ public final String entryRuleOpGetAllocatables() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpGetAllocatables = null;
+
+
+ try {
+ // InternalRBAModel.g:6495:57: (iv_ruleOpGetAllocatables= ruleOpGetAllocatables EOF )
+ // InternalRBAModel.g:6496:2: iv_ruleOpGetAllocatables= ruleOpGetAllocatables EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpGetAllocatablesRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpGetAllocatables=ruleOpGetAllocatables();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpGetAllocatables.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpGetAllocatables"
+
+
+ // $ANTLR start "ruleOpGetAllocatables"
+ // InternalRBAModel.g:6502:1: ruleOpGetAllocatables returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'allocatables' ;
+ public final AntlrDatatypeRuleToken ruleOpGetAllocatables() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6508:2: (kw= 'allocatables' )
+ // InternalRBAModel.g:6509:2: kw= 'allocatables'
+ {
+ kw=(Token)match(input,89,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpGetAllocatablesAccess().getAllocatablesKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpGetAllocatables"
+
+
+ // $ANTLR start "entryRuleOpAllocatedContent"
+ // InternalRBAModel.g:6517:1: entryRuleOpAllocatedContent returns [String current=null] : iv_ruleOpAllocatedContent= ruleOpAllocatedContent EOF ;
+ public final String entryRuleOpAllocatedContent() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpAllocatedContent = null;
+
+
+ try {
+ // InternalRBAModel.g:6517:58: (iv_ruleOpAllocatedContent= ruleOpAllocatedContent EOF )
+ // InternalRBAModel.g:6518:2: iv_ruleOpAllocatedContent= ruleOpAllocatedContent EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpAllocatedContentRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpAllocatedContent=ruleOpAllocatedContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpAllocatedContent.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpAllocatedContent"
+
+
+ // $ANTLR start "ruleOpAllocatedContent"
+ // InternalRBAModel.g:6524:1: ruleOpAllocatedContent returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'allocatedContent' ;
+ public final AntlrDatatypeRuleToken ruleOpAllocatedContent() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6530:2: (kw= 'allocatedContent' )
+ // InternalRBAModel.g:6531:2: kw= 'allocatedContent'
+ {
+ kw=(Token)match(input,90,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpAllocatedContentAccess().getAllocatedContentKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpAllocatedContent"
+
+
+ // $ANTLR start "entryRuleOpIsDisplayed"
+ // InternalRBAModel.g:6539:1: entryRuleOpIsDisplayed returns [String current=null] : iv_ruleOpIsDisplayed= ruleOpIsDisplayed EOF ;
+ public final String entryRuleOpIsDisplayed() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsDisplayed = null;
+
+
+ try {
+ // InternalRBAModel.g:6539:53: (iv_ruleOpIsDisplayed= ruleOpIsDisplayed EOF )
+ // InternalRBAModel.g:6540:2: iv_ruleOpIsDisplayed= ruleOpIsDisplayed EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsDisplayedRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsDisplayed=ruleOpIsDisplayed();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsDisplayed.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsDisplayed"
+
+
+ // $ANTLR start "ruleOpIsDisplayed"
+ // InternalRBAModel.g:6546:1: ruleOpIsDisplayed returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isDisplayed' ;
+ public final AntlrDatatypeRuleToken ruleOpIsDisplayed() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6552:2: (kw= 'isDisplayed' )
+ // InternalRBAModel.g:6553:2: kw= 'isDisplayed'
+ {
+ kw=(Token)match(input,91,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsDisplayedAccess().getIsDisplayedKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsDisplayed"
+
+
+ // $ANTLR start "entryRuleOpIsHidden"
+ // InternalRBAModel.g:6561:1: entryRuleOpIsHidden returns [String current=null] : iv_ruleOpIsHidden= ruleOpIsHidden EOF ;
+ public final String entryRuleOpIsHidden() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsHidden = null;
+
+
+ try {
+ // InternalRBAModel.g:6561:50: (iv_ruleOpIsHidden= ruleOpIsHidden EOF )
+ // InternalRBAModel.g:6562:2: iv_ruleOpIsHidden= ruleOpIsHidden EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsHiddenRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsHidden=ruleOpIsHidden();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsHidden.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsHidden"
+
+
+ // $ANTLR start "ruleOpIsHidden"
+ // InternalRBAModel.g:6568:1: ruleOpIsHidden returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isHidden' ;
+ public final AntlrDatatypeRuleToken ruleOpIsHidden() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6574:2: (kw= 'isHidden' )
+ // InternalRBAModel.g:6575:2: kw= 'isHidden'
+ {
+ kw=(Token)match(input,92,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsHiddenAccess().getIsHiddenKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsHidden"
+
+
+ // $ANTLR start "entryRuleOpDisplayingContent"
+ // InternalRBAModel.g:6583:1: entryRuleOpDisplayingContent returns [String current=null] : iv_ruleOpDisplayingContent= ruleOpDisplayingContent EOF ;
+ public final String entryRuleOpDisplayingContent() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpDisplayingContent = null;
+
+
+ try {
+ // InternalRBAModel.g:6583:59: (iv_ruleOpDisplayingContent= ruleOpDisplayingContent EOF )
+ // InternalRBAModel.g:6584:2: iv_ruleOpDisplayingContent= ruleOpDisplayingContent EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpDisplayingContentRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpDisplayingContent=ruleOpDisplayingContent();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpDisplayingContent.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpDisplayingContent"
+
+
+ // $ANTLR start "ruleOpDisplayingContent"
+ // InternalRBAModel.g:6590:1: ruleOpDisplayingContent returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'displayingContent' ;
+ public final AntlrDatatypeRuleToken ruleOpDisplayingContent() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6596:2: (kw= 'displayingContent' )
+ // InternalRBAModel.g:6597:2: kw= 'displayingContent'
+ {
+ kw=(Token)match(input,93,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpDisplayingContentAccess().getDisplayingContentKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpDisplayingContent"
+
+
+ // $ANTLR start "entryRuleOpIsVisible"
+ // InternalRBAModel.g:6605:1: entryRuleOpIsVisible returns [String current=null] : iv_ruleOpIsVisible= ruleOpIsVisible EOF ;
+ public final String entryRuleOpIsVisible() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsVisible = null;
+
+
+ try {
+ // InternalRBAModel.g:6605:51: (iv_ruleOpIsVisible= ruleOpIsVisible EOF )
+ // InternalRBAModel.g:6606:2: iv_ruleOpIsVisible= ruleOpIsVisible EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsVisibleRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsVisible=ruleOpIsVisible();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsVisible.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsVisible"
+
+
+ // $ANTLR start "ruleOpIsVisible"
+ // InternalRBAModel.g:6612:1: ruleOpIsVisible returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isVisible' ;
+ public final AntlrDatatypeRuleToken ruleOpIsVisible() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6618:2: (kw= 'isVisible' )
+ // InternalRBAModel.g:6619:2: kw= 'isVisible'
+ {
+ kw=(Token)match(input,94,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsVisibleAccess().getIsVisibleKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsVisible"
+
+
+ // $ANTLR start "entryRuleOpIsOutputted"
+ // InternalRBAModel.g:6627:1: entryRuleOpIsOutputted returns [String current=null] : iv_ruleOpIsOutputted= ruleOpIsOutputted EOF ;
+ public final String entryRuleOpIsOutputted() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsOutputted = null;
+
+
+ try {
+ // InternalRBAModel.g:6627:53: (iv_ruleOpIsOutputted= ruleOpIsOutputted EOF )
+ // InternalRBAModel.g:6628:2: iv_ruleOpIsOutputted= ruleOpIsOutputted EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsOutputtedRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsOutputted=ruleOpIsOutputted();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsOutputted.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsOutputted"
+
+
+ // $ANTLR start "ruleOpIsOutputted"
+ // InternalRBAModel.g:6634:1: ruleOpIsOutputted returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isOutputted' ;
+ public final AntlrDatatypeRuleToken ruleOpIsOutputted() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6640:2: (kw= 'isOutputted' )
+ // InternalRBAModel.g:6641:2: kw= 'isOutputted'
+ {
+ kw=(Token)match(input,95,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsOutputtedAccess().getIsOutputtedKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsOutputted"
+
+
+ // $ANTLR start "entryRuleOpIsMuted"
+ // InternalRBAModel.g:6649:1: entryRuleOpIsMuted returns [String current=null] : iv_ruleOpIsMuted= ruleOpIsMuted EOF ;
+ public final String entryRuleOpIsMuted() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsMuted = null;
+
+
+ try {
+ // InternalRBAModel.g:6649:49: (iv_ruleOpIsMuted= ruleOpIsMuted EOF )
+ // InternalRBAModel.g:6650:2: iv_ruleOpIsMuted= ruleOpIsMuted EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsMutedRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsMuted=ruleOpIsMuted();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsMuted.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsMuted"
+
+
+ // $ANTLR start "ruleOpIsMuted"
+ // InternalRBAModel.g:6656:1: ruleOpIsMuted returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isMuted' ;
+ public final AntlrDatatypeRuleToken ruleOpIsMuted() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6662:2: (kw= 'isMuted' )
+ // InternalRBAModel.g:6663:2: kw= 'isMuted'
+ {
+ kw=(Token)match(input,96,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsMutedAccess().getIsMutedKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsMuted"
+
+
+ // $ANTLR start "entryRuleOpOutputtingSound"
+ // InternalRBAModel.g:6671:1: entryRuleOpOutputtingSound returns [String current=null] : iv_ruleOpOutputtingSound= ruleOpOutputtingSound EOF ;
+ public final String entryRuleOpOutputtingSound() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpOutputtingSound = null;
+
+
+ try {
+ // InternalRBAModel.g:6671:57: (iv_ruleOpOutputtingSound= ruleOpOutputtingSound EOF )
+ // InternalRBAModel.g:6672:2: iv_ruleOpOutputtingSound= ruleOpOutputtingSound EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpOutputtingSoundRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpOutputtingSound=ruleOpOutputtingSound();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpOutputtingSound.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpOutputtingSound"
+
+
+ // $ANTLR start "ruleOpOutputtingSound"
+ // InternalRBAModel.g:6678:1: ruleOpOutputtingSound returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'outputtingSound' ;
+ public final AntlrDatatypeRuleToken ruleOpOutputtingSound() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6684:2: (kw= 'outputtingSound' )
+ // InternalRBAModel.g:6685:2: kw= 'outputtingSound'
+ {
+ kw=(Token)match(input,97,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpOutputtingSoundAccess().getOutputtingSoundKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpOutputtingSound"
+
+
+ // $ANTLR start "entryRuleOpIsSounding"
+ // InternalRBAModel.g:6693:1: entryRuleOpIsSounding returns [String current=null] : iv_ruleOpIsSounding= ruleOpIsSounding EOF ;
+ public final String entryRuleOpIsSounding() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsSounding = null;
+
+
+ try {
+ // InternalRBAModel.g:6693:52: (iv_ruleOpIsSounding= ruleOpIsSounding EOF )
+ // InternalRBAModel.g:6694:2: iv_ruleOpIsSounding= ruleOpIsSounding EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsSoundingRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsSounding=ruleOpIsSounding();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsSounding.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsSounding"
+
+
+ // $ANTLR start "ruleOpIsSounding"
+ // InternalRBAModel.g:6700:1: ruleOpIsSounding returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isSounding' ;
+ public final AntlrDatatypeRuleToken ruleOpIsSounding() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6706:2: (kw= 'isSounding' )
+ // InternalRBAModel.g:6707:2: kw= 'isSounding'
+ {
+ kw=(Token)match(input,98,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsSoundingAccess().getIsSoundingKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsSounding"
+
+
+ // $ANTLR start "entryRuleOpIsAttenuated"
+ // InternalRBAModel.g:6715:1: entryRuleOpIsAttenuated returns [String current=null] : iv_ruleOpIsAttenuated= ruleOpIsAttenuated EOF ;
+ public final String entryRuleOpIsAttenuated() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsAttenuated = null;
+
+
+ try {
+ // InternalRBAModel.g:6715:54: (iv_ruleOpIsAttenuated= ruleOpIsAttenuated EOF )
+ // InternalRBAModel.g:6716:2: iv_ruleOpIsAttenuated= ruleOpIsAttenuated EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsAttenuatedRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsAttenuated=ruleOpIsAttenuated();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsAttenuated.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsAttenuated"
+
+
+ // $ANTLR start "ruleOpIsAttenuated"
+ // InternalRBAModel.g:6722:1: ruleOpIsAttenuated returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isAttenuated' ;
+ public final AntlrDatatypeRuleToken ruleOpIsAttenuated() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6728:2: (kw= 'isAttenuated' )
+ // InternalRBAModel.g:6729:2: kw= 'isAttenuated'
+ {
+ kw=(Token)match(input,99,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsAttenuatedAccess().getIsAttenuatedKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsAttenuated"
+
+
+ // $ANTLR start "entryRuleOpHasComeEarlierThan"
+ // InternalRBAModel.g:6737:1: entryRuleOpHasComeEarlierThan returns [String current=null] : iv_ruleOpHasComeEarlierThan= ruleOpHasComeEarlierThan EOF ;
+ public final String entryRuleOpHasComeEarlierThan() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpHasComeEarlierThan = null;
+
+
+ try {
+ // InternalRBAModel.g:6737:60: (iv_ruleOpHasComeEarlierThan= ruleOpHasComeEarlierThan EOF )
+ // InternalRBAModel.g:6738:2: iv_ruleOpHasComeEarlierThan= ruleOpHasComeEarlierThan EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpHasComeEarlierThanRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpHasComeEarlierThan=ruleOpHasComeEarlierThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpHasComeEarlierThan.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpHasComeEarlierThan"
+
+
+ // $ANTLR start "ruleOpHasComeEarlierThan"
+ // InternalRBAModel.g:6744:1: ruleOpHasComeEarlierThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'hasComeEarlierThan' ;
+ public final AntlrDatatypeRuleToken ruleOpHasComeEarlierThan() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6750:2: (kw= 'hasComeEarlierThan' )
+ // InternalRBAModel.g:6751:2: kw= 'hasComeEarlierThan'
+ {
+ kw=(Token)match(input,100,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpHasComeEarlierThanAccess().getHasComeEarlierThanKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpHasComeEarlierThan"
+
+
+ // $ANTLR start "entryRuleOpHasComeLaterThan"
+ // InternalRBAModel.g:6759:1: entryRuleOpHasComeLaterThan returns [String current=null] : iv_ruleOpHasComeLaterThan= ruleOpHasComeLaterThan EOF ;
+ public final String entryRuleOpHasComeLaterThan() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpHasComeLaterThan = null;
+
+
+ try {
+ // InternalRBAModel.g:6759:58: (iv_ruleOpHasComeLaterThan= ruleOpHasComeLaterThan EOF )
+ // InternalRBAModel.g:6760:2: iv_ruleOpHasComeLaterThan= ruleOpHasComeLaterThan EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpHasComeLaterThanRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpHasComeLaterThan=ruleOpHasComeLaterThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpHasComeLaterThan.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpHasComeLaterThan"
+
+
+ // $ANTLR start "ruleOpHasComeLaterThan"
+ // InternalRBAModel.g:6766:1: ruleOpHasComeLaterThan returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'hasComeLaterThan' ;
+ public final AntlrDatatypeRuleToken ruleOpHasComeLaterThan() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6772:2: (kw= 'hasComeLaterThan' )
+ // InternalRBAModel.g:6773:2: kw= 'hasComeLaterThan'
+ {
+ kw=(Token)match(input,101,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpHasComeLaterThanAccess().getHasComeLaterThanKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpHasComeLaterThan"
+
+
+ // $ANTLR start "entryRuleOpStateValue"
+ // InternalRBAModel.g:6781:1: entryRuleOpStateValue returns [String current=null] : iv_ruleOpStateValue= ruleOpStateValue EOF ;
+ public final String entryRuleOpStateValue() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpStateValue = null;
+
+
+ try {
+ // InternalRBAModel.g:6781:52: (iv_ruleOpStateValue= ruleOpStateValue EOF )
+ // InternalRBAModel.g:6782:2: iv_ruleOpStateValue= ruleOpStateValue EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpStateValueRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpStateValue=ruleOpStateValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpStateValue.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpStateValue"
+
+
+ // $ANTLR start "ruleOpStateValue"
+ // InternalRBAModel.g:6788:1: ruleOpStateValue returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'stateValue' ;
+ public final AntlrDatatypeRuleToken ruleOpStateValue() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6794:2: (kw= 'stateValue' )
+ // InternalRBAModel.g:6795:2: kw= 'stateValue'
+ {
+ kw=(Token)match(input,102,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpStateValueAccess().getStateValueKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpStateValue"
+
+
+ // $ANTLR start "entryRuleOpIsAllocatedTo"
+ // InternalRBAModel.g:6803:1: entryRuleOpIsAllocatedTo returns [String current=null] : iv_ruleOpIsAllocatedTo= ruleOpIsAllocatedTo EOF ;
+ public final String entryRuleOpIsAllocatedTo() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsAllocatedTo = null;
+
+
+ try {
+ // InternalRBAModel.g:6803:55: (iv_ruleOpIsAllocatedTo= ruleOpIsAllocatedTo EOF )
+ // InternalRBAModel.g:6804:2: iv_ruleOpIsAllocatedTo= ruleOpIsAllocatedTo EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsAllocatedToRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsAllocatedTo=ruleOpIsAllocatedTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsAllocatedTo.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsAllocatedTo"
+
+
+ // $ANTLR start "ruleOpIsAllocatedTo"
+ // InternalRBAModel.g:6810:1: ruleOpIsAllocatedTo returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isAllocatedTo' ;
+ public final AntlrDatatypeRuleToken ruleOpIsAllocatedTo() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6816:2: (kw= 'isAllocatedTo' )
+ // InternalRBAModel.g:6817:2: kw= 'isAllocatedTo'
+ {
+ kw=(Token)match(input,103,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsAllocatedToAccess().getIsAllocatedToKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsAllocatedTo"
+
+
+ // $ANTLR start "entryRuleOpIsChanged"
+ // InternalRBAModel.g:6825:1: entryRuleOpIsChanged returns [String current=null] : iv_ruleOpIsChanged= ruleOpIsChanged EOF ;
+ public final String entryRuleOpIsChanged() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsChanged = null;
+
+
+ try {
+ // InternalRBAModel.g:6825:51: (iv_ruleOpIsChanged= ruleOpIsChanged EOF )
+ // InternalRBAModel.g:6826:2: iv_ruleOpIsChanged= ruleOpIsChanged EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsChangedRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsChanged=ruleOpIsChanged();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsChanged.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsChanged"
+
+
+ // $ANTLR start "ruleOpIsChanged"
+ // InternalRBAModel.g:6832:1: ruleOpIsChanged returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isChanged' ;
+ public final AntlrDatatypeRuleToken ruleOpIsChanged() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6838:2: (kw= 'isChanged' )
+ // InternalRBAModel.g:6839:2: kw= 'isChanged'
+ {
+ kw=(Token)match(input,104,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsChangedAccess().getIsChangedKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsChanged"
+
+
+ // $ANTLR start "entryRuleOpIsTranslatedTo"
+ // InternalRBAModel.g:6847:1: entryRuleOpIsTranslatedTo returns [String current=null] : iv_ruleOpIsTranslatedTo= ruleOpIsTranslatedTo EOF ;
+ public final String entryRuleOpIsTranslatedTo() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsTranslatedTo = null;
+
+
+ try {
+ // InternalRBAModel.g:6847:56: (iv_ruleOpIsTranslatedTo= ruleOpIsTranslatedTo EOF )
+ // InternalRBAModel.g:6848:2: iv_ruleOpIsTranslatedTo= ruleOpIsTranslatedTo EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsTranslatedToRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsTranslatedTo=ruleOpIsTranslatedTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsTranslatedTo.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsTranslatedTo"
+
+
+ // $ANTLR start "ruleOpIsTranslatedTo"
+ // InternalRBAModel.g:6854:1: ruleOpIsTranslatedTo returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isTranslatedTo' ;
+ public final AntlrDatatypeRuleToken ruleOpIsTranslatedTo() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6860:2: (kw= 'isTranslatedTo' )
+ // InternalRBAModel.g:6861:2: kw= 'isTranslatedTo'
+ {
+ kw=(Token)match(input,105,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsTranslatedToAccess().getIsTranslatedToKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsTranslatedTo"
+
+
+ // $ANTLR start "entryRuleOpIsDisplayedOn"
+ // InternalRBAModel.g:6869:1: entryRuleOpIsDisplayedOn returns [String current=null] : iv_ruleOpIsDisplayedOn= ruleOpIsDisplayedOn EOF ;
+ public final String entryRuleOpIsDisplayedOn() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsDisplayedOn = null;
+
+
+ try {
+ // InternalRBAModel.g:6869:55: (iv_ruleOpIsDisplayedOn= ruleOpIsDisplayedOn EOF )
+ // InternalRBAModel.g:6870:2: iv_ruleOpIsDisplayedOn= ruleOpIsDisplayedOn EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsDisplayedOnRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsDisplayedOn=ruleOpIsDisplayedOn();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsDisplayedOn.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsDisplayedOn"
+
+
+ // $ANTLR start "ruleOpIsDisplayedOn"
+ // InternalRBAModel.g:6876:1: ruleOpIsDisplayedOn returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isDisplayedOn' ;
+ public final AntlrDatatypeRuleToken ruleOpIsDisplayedOn() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6882:2: (kw= 'isDisplayedOn' )
+ // InternalRBAModel.g:6883:2: kw= 'isDisplayedOn'
+ {
+ kw=(Token)match(input,106,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsDisplayedOnAccess().getIsDisplayedOnKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsDisplayedOn"
+
+
+ // $ANTLR start "entryRuleOpIsChangedDisplay"
+ // InternalRBAModel.g:6891:1: entryRuleOpIsChangedDisplay returns [String current=null] : iv_ruleOpIsChangedDisplay= ruleOpIsChangedDisplay EOF ;
+ public final String entryRuleOpIsChangedDisplay() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsChangedDisplay = null;
+
+
+ try {
+ // InternalRBAModel.g:6891:58: (iv_ruleOpIsChangedDisplay= ruleOpIsChangedDisplay EOF )
+ // InternalRBAModel.g:6892:2: iv_ruleOpIsChangedDisplay= ruleOpIsChangedDisplay EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsChangedDisplayRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsChangedDisplay=ruleOpIsChangedDisplay();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsChangedDisplay.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsChangedDisplay"
+
+
+ // $ANTLR start "ruleOpIsChangedDisplay"
+ // InternalRBAModel.g:6898:1: ruleOpIsChangedDisplay returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isChangedDisplay' ;
+ public final AntlrDatatypeRuleToken ruleOpIsChangedDisplay() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6904:2: (kw= 'isChangedDisplay' )
+ // InternalRBAModel.g:6905:2: kw= 'isChangedDisplay'
+ {
+ kw=(Token)match(input,107,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsChangedDisplayAccess().getIsChangedDisplayKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsChangedDisplay"
+
+
+ // $ANTLR start "entryRuleOpIsTranslatedViewTo"
+ // InternalRBAModel.g:6913:1: entryRuleOpIsTranslatedViewTo returns [String current=null] : iv_ruleOpIsTranslatedViewTo= ruleOpIsTranslatedViewTo EOF ;
+ public final String entryRuleOpIsTranslatedViewTo() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsTranslatedViewTo = null;
+
+
+ try {
+ // InternalRBAModel.g:6913:60: (iv_ruleOpIsTranslatedViewTo= ruleOpIsTranslatedViewTo EOF )
+ // InternalRBAModel.g:6914:2: iv_ruleOpIsTranslatedViewTo= ruleOpIsTranslatedViewTo EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsTranslatedViewToRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsTranslatedViewTo=ruleOpIsTranslatedViewTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsTranslatedViewTo.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsTranslatedViewTo"
+
+
+ // $ANTLR start "ruleOpIsTranslatedViewTo"
+ // InternalRBAModel.g:6920:1: ruleOpIsTranslatedViewTo returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isTranslatedViewTo' ;
+ public final AntlrDatatypeRuleToken ruleOpIsTranslatedViewTo() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6926:2: (kw= 'isTranslatedViewTo' )
+ // InternalRBAModel.g:6927:2: kw= 'isTranslatedViewTo'
+ {
+ kw=(Token)match(input,108,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsTranslatedViewToAccess().getIsTranslatedViewToKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsTranslatedViewTo"
+
+
+ // $ANTLR start "entryRuleOpIsOutputtedOn"
+ // InternalRBAModel.g:6935:1: entryRuleOpIsOutputtedOn returns [String current=null] : iv_ruleOpIsOutputtedOn= ruleOpIsOutputtedOn EOF ;
+ public final String entryRuleOpIsOutputtedOn() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsOutputtedOn = null;
+
+
+ try {
+ // InternalRBAModel.g:6935:55: (iv_ruleOpIsOutputtedOn= ruleOpIsOutputtedOn EOF )
+ // InternalRBAModel.g:6936:2: iv_ruleOpIsOutputtedOn= ruleOpIsOutputtedOn EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsOutputtedOnRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsOutputtedOn=ruleOpIsOutputtedOn();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsOutputtedOn.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsOutputtedOn"
+
+
+ // $ANTLR start "ruleOpIsOutputtedOn"
+ // InternalRBAModel.g:6942:1: ruleOpIsOutputtedOn returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isOutputtedOn' ;
+ public final AntlrDatatypeRuleToken ruleOpIsOutputtedOn() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6948:2: (kw= 'isOutputtedOn' )
+ // InternalRBAModel.g:6949:2: kw= 'isOutputtedOn'
+ {
+ kw=(Token)match(input,109,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsOutputtedOnAccess().getIsOutputtedOnKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsOutputtedOn"
+
+
+ // $ANTLR start "entryRuleOpIsChangedOutput"
+ // InternalRBAModel.g:6957:1: entryRuleOpIsChangedOutput returns [String current=null] : iv_ruleOpIsChangedOutput= ruleOpIsChangedOutput EOF ;
+ public final String entryRuleOpIsChangedOutput() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsChangedOutput = null;
+
+
+ try {
+ // InternalRBAModel.g:6957:57: (iv_ruleOpIsChangedOutput= ruleOpIsChangedOutput EOF )
+ // InternalRBAModel.g:6958:2: iv_ruleOpIsChangedOutput= ruleOpIsChangedOutput EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsChangedOutputRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsChangedOutput=ruleOpIsChangedOutput();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsChangedOutput.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsChangedOutput"
+
+
+ // $ANTLR start "ruleOpIsChangedOutput"
+ // InternalRBAModel.g:6964:1: ruleOpIsChangedOutput returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isChangedOutput' ;
+ public final AntlrDatatypeRuleToken ruleOpIsChangedOutput() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6970:2: (kw= 'isChangedOutput' )
+ // InternalRBAModel.g:6971:2: kw= 'isChangedOutput'
+ {
+ kw=(Token)match(input,110,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsChangedOutputAccess().getIsChangedOutputKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsChangedOutput"
+
+
+ // $ANTLR start "entryRuleOpIsTranslatedSoundTo"
+ // InternalRBAModel.g:6979:1: entryRuleOpIsTranslatedSoundTo returns [String current=null] : iv_ruleOpIsTranslatedSoundTo= ruleOpIsTranslatedSoundTo EOF ;
+ public final String entryRuleOpIsTranslatedSoundTo() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsTranslatedSoundTo = null;
+
+
+ try {
+ // InternalRBAModel.g:6979:61: (iv_ruleOpIsTranslatedSoundTo= ruleOpIsTranslatedSoundTo EOF )
+ // InternalRBAModel.g:6980:2: iv_ruleOpIsTranslatedSoundTo= ruleOpIsTranslatedSoundTo EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsTranslatedSoundToRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsTranslatedSoundTo=ruleOpIsTranslatedSoundTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsTranslatedSoundTo.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsTranslatedSoundTo"
+
+
+ // $ANTLR start "ruleOpIsTranslatedSoundTo"
+ // InternalRBAModel.g:6986:1: ruleOpIsTranslatedSoundTo returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isTranslatedSoundTo' ;
+ public final AntlrDatatypeRuleToken ruleOpIsTranslatedSoundTo() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:6992:2: (kw= 'isTranslatedSoundTo' )
+ // InternalRBAModel.g:6993:2: kw= 'isTranslatedSoundTo'
+ {
+ kw=(Token)match(input,111,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsTranslatedSoundToAccess().getIsTranslatedSoundToKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsTranslatedSoundTo"
+
+
+ // $ANTLR start "entryRuleOpIsTypeOf"
+ // InternalRBAModel.g:7001:1: entryRuleOpIsTypeOf returns [String current=null] : iv_ruleOpIsTypeOf= ruleOpIsTypeOf EOF ;
+ public final String entryRuleOpIsTypeOf() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpIsTypeOf = null;
+
+
+ try {
+ // InternalRBAModel.g:7001:50: (iv_ruleOpIsTypeOf= ruleOpIsTypeOf EOF )
+ // InternalRBAModel.g:7002:2: iv_ruleOpIsTypeOf= ruleOpIsTypeOf EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpIsTypeOfRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpIsTypeOf=ruleOpIsTypeOf();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpIsTypeOf.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpIsTypeOf"
+
+
+ // $ANTLR start "ruleOpIsTypeOf"
+ // InternalRBAModel.g:7008:1: ruleOpIsTypeOf returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'isTypeOf' ;
+ public final AntlrDatatypeRuleToken ruleOpIsTypeOf() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7014:2: (kw= 'isTypeOf' )
+ // InternalRBAModel.g:7015:2: kw= 'isTypeOf'
+ {
+ kw=(Token)match(input,112,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpIsTypeOfAccess().getIsTypeOfKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpIsTypeOf"
+
+
+ // $ANTLR start "entryRuleOpActiveContents"
+ // InternalRBAModel.g:7023:1: entryRuleOpActiveContents returns [String current=null] : iv_ruleOpActiveContents= ruleOpActiveContents EOF ;
+ public final String entryRuleOpActiveContents() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpActiveContents = null;
+
+
+ try {
+ // InternalRBAModel.g:7023:56: (iv_ruleOpActiveContents= ruleOpActiveContents EOF )
+ // InternalRBAModel.g:7024:2: iv_ruleOpActiveContents= ruleOpActiveContents EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpActiveContentsRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpActiveContents=ruleOpActiveContents();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpActiveContents.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpActiveContents"
+
+
+ // $ANTLR start "ruleOpActiveContents"
+ // InternalRBAModel.g:7030:1: ruleOpActiveContents returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'activeContents' ;
+ public final AntlrDatatypeRuleToken ruleOpActiveContents() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7036:2: (kw= 'activeContents' )
+ // InternalRBAModel.g:7037:2: kw= 'activeContents'
+ {
+ kw=(Token)match(input,113,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpActiveContentsAccess().getActiveContentsKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpActiveContents"
+
+
+ // $ANTLR start "entryRuleOpSizeOperator"
+ // InternalRBAModel.g:7045:1: entryRuleOpSizeOperator returns [String current=null] : iv_ruleOpSizeOperator= ruleOpSizeOperator EOF ;
+ public final String entryRuleOpSizeOperator() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpSizeOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:7045:54: (iv_ruleOpSizeOperator= ruleOpSizeOperator EOF )
+ // InternalRBAModel.g:7046:2: iv_ruleOpSizeOperator= ruleOpSizeOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpSizeOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpSizeOperator=ruleOpSizeOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpSizeOperator.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpSizeOperator"
+
+
+ // $ANTLR start "ruleOpSizeOperator"
+ // InternalRBAModel.g:7052:1: ruleOpSizeOperator returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'size' ;
+ public final AntlrDatatypeRuleToken ruleOpSizeOperator() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7058:2: (kw= 'size' )
+ // InternalRBAModel.g:7059:2: kw= 'size'
+ {
+ kw=(Token)match(input,114,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpSizeOperatorAccess().getSizeKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpSizeOperator"
+
+
+ // $ANTLR start "entryRuleOpHasBeenDisplayed"
+ // InternalRBAModel.g:7067:1: entryRuleOpHasBeenDisplayed returns [String current=null] : iv_ruleOpHasBeenDisplayed= ruleOpHasBeenDisplayed EOF ;
+ public final String entryRuleOpHasBeenDisplayed() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpHasBeenDisplayed = null;
+
+
+ try {
+ // InternalRBAModel.g:7067:58: (iv_ruleOpHasBeenDisplayed= ruleOpHasBeenDisplayed EOF )
+ // InternalRBAModel.g:7068:2: iv_ruleOpHasBeenDisplayed= ruleOpHasBeenDisplayed EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpHasBeenDisplayedRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpHasBeenDisplayed=ruleOpHasBeenDisplayed();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpHasBeenDisplayed.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpHasBeenDisplayed"
+
+
+ // $ANTLR start "ruleOpHasBeenDisplayed"
+ // InternalRBAModel.g:7074:1: ruleOpHasBeenDisplayed returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'hasBeenDisplayed' ;
+ public final AntlrDatatypeRuleToken ruleOpHasBeenDisplayed() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7080:2: (kw= 'hasBeenDisplayed' )
+ // InternalRBAModel.g:7081:2: kw= 'hasBeenDisplayed'
+ {
+ kw=(Token)match(input,115,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpHasBeenDisplayedAccess().getHasBeenDisplayedKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpHasBeenDisplayed"
+
+
+ // $ANTLR start "entryRuleOpActiveState"
+ // InternalRBAModel.g:7089:1: entryRuleOpActiveState returns [String current=null] : iv_ruleOpActiveState= ruleOpActiveState EOF ;
+ public final String entryRuleOpActiveState() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpActiveState = null;
+
+
+ try {
+ // InternalRBAModel.g:7089:53: (iv_ruleOpActiveState= ruleOpActiveState EOF )
+ // InternalRBAModel.g:7090:2: iv_ruleOpActiveState= ruleOpActiveState EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpActiveStateRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpActiveState=ruleOpActiveState();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpActiveState.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpActiveState"
+
+
+ // $ANTLR start "ruleOpActiveState"
+ // InternalRBAModel.g:7096:1: ruleOpActiveState returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'activeState' ;
+ public final AntlrDatatypeRuleToken ruleOpActiveState() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7102:2: (kw= 'activeState' )
+ // InternalRBAModel.g:7103:2: kw= 'activeState'
+ {
+ kw=(Token)match(input,116,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpActiveStateAccess().getActiveStateKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpActiveState"
+
+
+ // $ANTLR start "entryRuleOpMaxOperator"
+ // InternalRBAModel.g:7111:1: entryRuleOpMaxOperator returns [String current=null] : iv_ruleOpMaxOperator= ruleOpMaxOperator EOF ;
+ public final String entryRuleOpMaxOperator() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpMaxOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:7111:53: (iv_ruleOpMaxOperator= ruleOpMaxOperator EOF )
+ // InternalRBAModel.g:7112:2: iv_ruleOpMaxOperator= ruleOpMaxOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpMaxOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpMaxOperator=ruleOpMaxOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpMaxOperator.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpMaxOperator"
+
+
+ // $ANTLR start "ruleOpMaxOperator"
+ // InternalRBAModel.g:7118:1: ruleOpMaxOperator returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'max' ;
+ public final AntlrDatatypeRuleToken ruleOpMaxOperator() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7124:2: (kw= 'max' )
+ // InternalRBAModel.g:7125:2: kw= 'max'
+ {
+ kw=(Token)match(input,117,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpMaxOperatorAccess().getMaxKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpMaxOperator"
+
+
+ // $ANTLR start "entryRuleOpMinOperator"
+ // InternalRBAModel.g:7133:1: entryRuleOpMinOperator returns [String current=null] : iv_ruleOpMinOperator= ruleOpMinOperator EOF ;
+ public final String entryRuleOpMinOperator() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpMinOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:7133:53: (iv_ruleOpMinOperator= ruleOpMinOperator EOF )
+ // InternalRBAModel.g:7134:2: iv_ruleOpMinOperator= ruleOpMinOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpMinOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpMinOperator=ruleOpMinOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpMinOperator.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpMinOperator"
+
+
+ // $ANTLR start "ruleOpMinOperator"
+ // InternalRBAModel.g:7140:1: ruleOpMinOperator returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'min' ;
+ public final AntlrDatatypeRuleToken ruleOpMinOperator() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7146:2: (kw= 'min' )
+ // InternalRBAModel.g:7147:2: kw= 'min'
+ {
+ kw=(Token)match(input,118,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpMinOperatorAccess().getMinKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpMinOperator"
+
+
+ // $ANTLR start "entryRuleOpSelectOperator"
+ // InternalRBAModel.g:7155:1: entryRuleOpSelectOperator returns [String current=null] : iv_ruleOpSelectOperator= ruleOpSelectOperator EOF ;
+ public final String entryRuleOpSelectOperator() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleOpSelectOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:7155:56: (iv_ruleOpSelectOperator= ruleOpSelectOperator EOF )
+ // InternalRBAModel.g:7156:2: iv_ruleOpSelectOperator= ruleOpSelectOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getOpSelectOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleOpSelectOperator=ruleOpSelectOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleOpSelectOperator.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleOpSelectOperator"
+
+
+ // $ANTLR start "ruleOpSelectOperator"
+ // InternalRBAModel.g:7162:1: ruleOpSelectOperator returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= 'select' ;
+ public final AntlrDatatypeRuleToken ruleOpSelectOperator() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7168:2: (kw= 'select' )
+ // InternalRBAModel.g:7169:2: kw= 'select'
+ {
+ kw=(Token)match(input,119,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getOpSelectOperatorAccess().getSelectKeyword());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleOpSelectOperator"
+
+
+ // $ANTLR start "entryRuleCPrimaryExpression"
+ // InternalRBAModel.g:7177:1: entryRuleCPrimaryExpression returns [EObject current=null] : iv_ruleCPrimaryExpression= ruleCPrimaryExpression EOF ;
+ public final EObject entryRuleCPrimaryExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCPrimaryExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:7177:59: (iv_ruleCPrimaryExpression= ruleCPrimaryExpression EOF )
+ // InternalRBAModel.g:7178:2: iv_ruleCPrimaryExpression= ruleCPrimaryExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCPrimaryExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCPrimaryExpression=ruleCPrimaryExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCPrimaryExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCPrimaryExpression"
+
+
+ // $ANTLR start "ruleCPrimaryExpression"
+ // InternalRBAModel.g:7184:1: ruleCPrimaryExpression returns [EObject current=null] : (this_CMemberFeatureReference_0= ruleCMemberFeatureReference | this_PreviousModifier_1= rulePreviousModifier | this_AllInstanceOfExpression_2= ruleAllInstanceOfExpression | this_NullExpression_3= ruleNullExpression | this_IntegerValue_4= ruleIntegerValue | this_MuteLowerPriority_5= ruleMuteLowerPriority | this_HideLowerPriority_6= ruleHideLowerPriority | this_SetOfOperator_7= ruleSetOfOperator | this_IfStatement_8= ruleIfStatement | this_ForAllOperator_9= ruleForAllOperator | this_ExistsOperator_10= ruleExistsOperator | (otherlv_11= '(' this_CExpression_12= ruleCExpression otherlv_13= ')' ) ) ;
+ public final EObject ruleCPrimaryExpression() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_11=null;
+ Token otherlv_13=null;
+ EObject this_CMemberFeatureReference_0 = null;
+
+ EObject this_PreviousModifier_1 = null;
+
+ EObject this_AllInstanceOfExpression_2 = null;
+
+ EObject this_NullExpression_3 = null;
+
+ EObject this_IntegerValue_4 = null;
+
+ EObject this_MuteLowerPriority_5 = null;
+
+ EObject this_HideLowerPriority_6 = null;
+
+ EObject this_SetOfOperator_7 = null;
+
+ EObject this_IfStatement_8 = null;
+
+ EObject this_ForAllOperator_9 = null;
+
+ EObject this_ExistsOperator_10 = null;
+
+ EObject this_CExpression_12 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7190:2: ( (this_CMemberFeatureReference_0= ruleCMemberFeatureReference | this_PreviousModifier_1= rulePreviousModifier | this_AllInstanceOfExpression_2= ruleAllInstanceOfExpression | this_NullExpression_3= ruleNullExpression | this_IntegerValue_4= ruleIntegerValue | this_MuteLowerPriority_5= ruleMuteLowerPriority | this_HideLowerPriority_6= ruleHideLowerPriority | this_SetOfOperator_7= ruleSetOfOperator | this_IfStatement_8= ruleIfStatement | this_ForAllOperator_9= ruleForAllOperator | this_ExistsOperator_10= ruleExistsOperator | (otherlv_11= '(' this_CExpression_12= ruleCExpression otherlv_13= ')' ) ) )
+ // InternalRBAModel.g:7191:2: (this_CMemberFeatureReference_0= ruleCMemberFeatureReference | this_PreviousModifier_1= rulePreviousModifier | this_AllInstanceOfExpression_2= ruleAllInstanceOfExpression | this_NullExpression_3= ruleNullExpression | this_IntegerValue_4= ruleIntegerValue | this_MuteLowerPriority_5= ruleMuteLowerPriority | this_HideLowerPriority_6= ruleHideLowerPriority | this_SetOfOperator_7= ruleSetOfOperator | this_IfStatement_8= ruleIfStatement | this_ForAllOperator_9= ruleForAllOperator | this_ExistsOperator_10= ruleExistsOperator | (otherlv_11= '(' this_CExpression_12= ruleCExpression otherlv_13= ')' ) )
+ {
+ // InternalRBAModel.g:7191:2: (this_CMemberFeatureReference_0= ruleCMemberFeatureReference | this_PreviousModifier_1= rulePreviousModifier | this_AllInstanceOfExpression_2= ruleAllInstanceOfExpression | this_NullExpression_3= ruleNullExpression | this_IntegerValue_4= ruleIntegerValue | this_MuteLowerPriority_5= ruleMuteLowerPriority | this_HideLowerPriority_6= ruleHideLowerPriority | this_SetOfOperator_7= ruleSetOfOperator | this_IfStatement_8= ruleIfStatement | this_ForAllOperator_9= ruleForAllOperator | this_ExistsOperator_10= ruleExistsOperator | (otherlv_11= '(' this_CExpression_12= ruleCExpression otherlv_13= ')' ) )
+ int alt83=12;
+ alt83 = dfa83.predict(input);
+ switch (alt83) {
+ case 1 :
+ // InternalRBAModel.g:7192:3: this_CMemberFeatureReference_0= ruleCMemberFeatureReference
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getCMemberFeatureReferenceParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_CMemberFeatureReference_0=ruleCMemberFeatureReference();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_CMemberFeatureReference_0;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:7201:3: this_PreviousModifier_1= rulePreviousModifier
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getPreviousModifierParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_PreviousModifier_1=rulePreviousModifier();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_PreviousModifier_1;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:7210:3: this_AllInstanceOfExpression_2= ruleAllInstanceOfExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getAllInstanceOfExpressionParserRuleCall_2());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_AllInstanceOfExpression_2=ruleAllInstanceOfExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_AllInstanceOfExpression_2;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:7219:3: this_NullExpression_3= ruleNullExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getNullExpressionParserRuleCall_3());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_NullExpression_3=ruleNullExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_NullExpression_3;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:7228:3: this_IntegerValue_4= ruleIntegerValue
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getIntegerValueParserRuleCall_4());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_IntegerValue_4=ruleIntegerValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_IntegerValue_4;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 6 :
+ // InternalRBAModel.g:7237:3: this_MuteLowerPriority_5= ruleMuteLowerPriority
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getMuteLowerPriorityParserRuleCall_5());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_MuteLowerPriority_5=ruleMuteLowerPriority();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_MuteLowerPriority_5;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 7 :
+ // InternalRBAModel.g:7246:3: this_HideLowerPriority_6= ruleHideLowerPriority
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getHideLowerPriorityParserRuleCall_6());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_HideLowerPriority_6=ruleHideLowerPriority();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_HideLowerPriority_6;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 8 :
+ // InternalRBAModel.g:7255:3: this_SetOfOperator_7= ruleSetOfOperator
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getSetOfOperatorParserRuleCall_7());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_SetOfOperator_7=ruleSetOfOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_SetOfOperator_7;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 9 :
+ // InternalRBAModel.g:7264:3: this_IfStatement_8= ruleIfStatement
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getIfStatementParserRuleCall_8());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_IfStatement_8=ruleIfStatement();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_IfStatement_8;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 10 :
+ // InternalRBAModel.g:7273:3: this_ForAllOperator_9= ruleForAllOperator
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getForAllOperatorParserRuleCall_9());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_ForAllOperator_9=ruleForAllOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_ForAllOperator_9;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 11 :
+ // InternalRBAModel.g:7282:3: this_ExistsOperator_10= ruleExistsOperator
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getExistsOperatorParserRuleCall_10());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_ExistsOperator_10=ruleExistsOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_ExistsOperator_10;
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 12 :
+ // InternalRBAModel.g:7291:3: (otherlv_11= '(' this_CExpression_12= ruleCExpression otherlv_13= ')' )
+ {
+ // InternalRBAModel.g:7291:3: (otherlv_11= '(' this_CExpression_12= ruleCExpression otherlv_13= ')' )
+ // InternalRBAModel.g:7292:4: otherlv_11= '(' this_CExpression_12= ruleCExpression otherlv_13= ')'
+ {
+ otherlv_11=(Token)match(input,34,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_11, grammarAccess.getCPrimaryExpressionAccess().getLeftParenthesisKeyword_11_0());
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCPrimaryExpressionAccess().getCExpressionParserRuleCall_11_1());
+
+ }
+ pushFollow(FOLLOW_48);
+ this_CExpression_12=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = this_CExpression_12;
+ afterParserOrEnumRuleCall();
+
+ }
+ otherlv_13=(Token)match(input,35,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_13, grammarAccess.getCPrimaryExpressionAccess().getRightParenthesisKeyword_11_2());
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCPrimaryExpression"
+
+
+ // $ANTLR start "entryRuleAllInstanceOfExpression"
+ // InternalRBAModel.g:7313:1: entryRuleAllInstanceOfExpression returns [EObject current=null] : iv_ruleAllInstanceOfExpression= ruleAllInstanceOfExpression EOF ;
+ public final EObject entryRuleAllInstanceOfExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleAllInstanceOfExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:7313:64: (iv_ruleAllInstanceOfExpression= ruleAllInstanceOfExpression EOF )
+ // InternalRBAModel.g:7314:2: iv_ruleAllInstanceOfExpression= ruleAllInstanceOfExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getAllInstanceOfExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleAllInstanceOfExpression=ruleAllInstanceOfExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleAllInstanceOfExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleAllInstanceOfExpression"
+
+
+ // $ANTLR start "ruleAllInstanceOfExpression"
+ // InternalRBAModel.g:7320:1: ruleAllInstanceOfExpression returns [EObject current=null] : ( ( ( ( () 'ALL_AREAS' ) | ( () 'ALL_VIEWCONTENTS' ) | ( () 'ALL_ZONES' ) | ( () 'ALL_SOUNDCONTENTS' ) ) )=> ( ( () otherlv_1= 'ALL_AREAS' ) | ( () otherlv_3= 'ALL_VIEWCONTENTS' ) | ( () otherlv_5= 'ALL_ZONES' ) | ( () otherlv_7= 'ALL_SOUNDCONTENTS' ) ) ) ;
+ public final EObject ruleAllInstanceOfExpression() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7326:2: ( ( ( ( ( () 'ALL_AREAS' ) | ( () 'ALL_VIEWCONTENTS' ) | ( () 'ALL_ZONES' ) | ( () 'ALL_SOUNDCONTENTS' ) ) )=> ( ( () otherlv_1= 'ALL_AREAS' ) | ( () otherlv_3= 'ALL_VIEWCONTENTS' ) | ( () otherlv_5= 'ALL_ZONES' ) | ( () otherlv_7= 'ALL_SOUNDCONTENTS' ) ) ) )
+ // InternalRBAModel.g:7327:2: ( ( ( ( () 'ALL_AREAS' ) | ( () 'ALL_VIEWCONTENTS' ) | ( () 'ALL_ZONES' ) | ( () 'ALL_SOUNDCONTENTS' ) ) )=> ( ( () otherlv_1= 'ALL_AREAS' ) | ( () otherlv_3= 'ALL_VIEWCONTENTS' ) | ( () otherlv_5= 'ALL_ZONES' ) | ( () otherlv_7= 'ALL_SOUNDCONTENTS' ) ) )
+ {
+ // InternalRBAModel.g:7327:2: ( ( ( ( () 'ALL_AREAS' ) | ( () 'ALL_VIEWCONTENTS' ) | ( () 'ALL_ZONES' ) | ( () 'ALL_SOUNDCONTENTS' ) ) )=> ( ( () otherlv_1= 'ALL_AREAS' ) | ( () otherlv_3= 'ALL_VIEWCONTENTS' ) | ( () otherlv_5= 'ALL_ZONES' ) | ( () otherlv_7= 'ALL_SOUNDCONTENTS' ) ) )
+ // InternalRBAModel.g:7328:3: ( ( ( () 'ALL_AREAS' ) | ( () 'ALL_VIEWCONTENTS' ) | ( () 'ALL_ZONES' ) | ( () 'ALL_SOUNDCONTENTS' ) ) )=> ( ( () otherlv_1= 'ALL_AREAS' ) | ( () otherlv_3= 'ALL_VIEWCONTENTS' ) | ( () otherlv_5= 'ALL_ZONES' ) | ( () otherlv_7= 'ALL_SOUNDCONTENTS' ) )
+ {
+ // InternalRBAModel.g:7354:3: ( ( () otherlv_1= 'ALL_AREAS' ) | ( () otherlv_3= 'ALL_VIEWCONTENTS' ) | ( () otherlv_5= 'ALL_ZONES' ) | ( () otherlv_7= 'ALL_SOUNDCONTENTS' ) )
+ int alt84=4;
+ switch ( input.LA(1) ) {
+ case 120:
+ {
+ alt84=1;
+ }
+ break;
+ case 121:
+ {
+ alt84=2;
+ }
+ break;
+ case 122:
+ {
+ alt84=3;
+ }
+ break;
+ case 123:
+ {
+ alt84=4;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 84, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt84) {
+ case 1 :
+ // InternalRBAModel.g:7355:4: ( () otherlv_1= 'ALL_AREAS' )
+ {
+ // InternalRBAModel.g:7355:4: ( () otherlv_1= 'ALL_AREAS' )
+ // InternalRBAModel.g:7356:5: () otherlv_1= 'ALL_AREAS'
+ {
+ // InternalRBAModel.g:7356:5: ()
+ // InternalRBAModel.g:7357:6:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getAllInstanceOfExpressionAccess().getAllInstanceOfAreaAction_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,120,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getAllInstanceOfExpressionAccess().getALL_AREASKeyword_0_0_1());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:7369:4: ( () otherlv_3= 'ALL_VIEWCONTENTS' )
+ {
+ // InternalRBAModel.g:7369:4: ( () otherlv_3= 'ALL_VIEWCONTENTS' )
+ // InternalRBAModel.g:7370:5: () otherlv_3= 'ALL_VIEWCONTENTS'
+ {
+ // InternalRBAModel.g:7370:5: ()
+ // InternalRBAModel.g:7371:6:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getAllInstanceOfExpressionAccess().getAllInstanceOfViewContentAction_0_1_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_3=(Token)match(input,121,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getAllInstanceOfExpressionAccess().getALL_VIEWCONTENTSKeyword_0_1_1());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:7383:4: ( () otherlv_5= 'ALL_ZONES' )
+ {
+ // InternalRBAModel.g:7383:4: ( () otherlv_5= 'ALL_ZONES' )
+ // InternalRBAModel.g:7384:5: () otherlv_5= 'ALL_ZONES'
+ {
+ // InternalRBAModel.g:7384:5: ()
+ // InternalRBAModel.g:7385:6:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getAllInstanceOfExpressionAccess().getAllInstanceOfZoneAction_0_2_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_5=(Token)match(input,122,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getAllInstanceOfExpressionAccess().getALL_ZONESKeyword_0_2_1());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:7397:4: ( () otherlv_7= 'ALL_SOUNDCONTENTS' )
+ {
+ // InternalRBAModel.g:7397:4: ( () otherlv_7= 'ALL_SOUNDCONTENTS' )
+ // InternalRBAModel.g:7398:5: () otherlv_7= 'ALL_SOUNDCONTENTS'
+ {
+ // InternalRBAModel.g:7398:5: ()
+ // InternalRBAModel.g:7399:6:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getAllInstanceOfExpressionAccess().getAllInstanceOfSoundContentAction_0_3_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_7=(Token)match(input,123,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getAllInstanceOfExpressionAccess().getALL_SOUNDCONTENTSKeyword_0_3_1());
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleAllInstanceOfExpression"
+
+
+ // $ANTLR start "entryRuleNullExpression"
+ // InternalRBAModel.g:7415:1: entryRuleNullExpression returns [EObject current=null] : iv_ruleNullExpression= ruleNullExpression EOF ;
+ public final EObject entryRuleNullExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleNullExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:7415:55: (iv_ruleNullExpression= ruleNullExpression EOF )
+ // InternalRBAModel.g:7416:2: iv_ruleNullExpression= ruleNullExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getNullExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleNullExpression=ruleNullExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleNullExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleNullExpression"
+
+
+ // $ANTLR start "ruleNullExpression"
+ // InternalRBAModel.g:7422:1: ruleNullExpression returns [EObject current=null] : ( ( ( () 'NULL' ) )=> ( () otherlv_1= 'NULL' ) ) ;
+ public final EObject ruleNullExpression() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7428:2: ( ( ( ( () 'NULL' ) )=> ( () otherlv_1= 'NULL' ) ) )
+ // InternalRBAModel.g:7429:2: ( ( ( () 'NULL' ) )=> ( () otherlv_1= 'NULL' ) )
+ {
+ // InternalRBAModel.g:7429:2: ( ( ( () 'NULL' ) )=> ( () otherlv_1= 'NULL' ) )
+ // InternalRBAModel.g:7430:3: ( ( () 'NULL' ) )=> ( () otherlv_1= 'NULL' )
+ {
+ // InternalRBAModel.g:7436:3: ( () otherlv_1= 'NULL' )
+ // InternalRBAModel.g:7437:4: () otherlv_1= 'NULL'
+ {
+ // InternalRBAModel.g:7437:4: ()
+ // InternalRBAModel.g:7438:5:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getNullExpressionAccess().getNullExpressionAction_0_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,124,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getNullExpressionAccess().getNULLKeyword_0_1());
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleNullExpression"
+
+
+ // $ANTLR start "entryRulePreviousModifier"
+ // InternalRBAModel.g:7453:1: entryRulePreviousModifier returns [EObject current=null] : iv_rulePreviousModifier= rulePreviousModifier EOF ;
+ public final EObject entryRulePreviousModifier() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_rulePreviousModifier = null;
+
+
+ try {
+ // InternalRBAModel.g:7453:57: (iv_rulePreviousModifier= rulePreviousModifier EOF )
+ // InternalRBAModel.g:7454:2: iv_rulePreviousModifier= rulePreviousModifier EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPreviousModifierRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_rulePreviousModifier=rulePreviousModifier();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePreviousModifier;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRulePreviousModifier"
+
+
+ // $ANTLR start "rulePreviousModifier"
+ // InternalRBAModel.g:7460:1: rulePreviousModifier returns [EObject current=null] : ( () otherlv_1= '(pre)' ( (lv_objReference_2_0= ruleCMemberFeatureReference ) ) ) ;
+ public final EObject rulePreviousModifier() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ EObject lv_objReference_2_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7466:2: ( ( () otherlv_1= '(pre)' ( (lv_objReference_2_0= ruleCMemberFeatureReference ) ) ) )
+ // InternalRBAModel.g:7467:2: ( () otherlv_1= '(pre)' ( (lv_objReference_2_0= ruleCMemberFeatureReference ) ) )
+ {
+ // InternalRBAModel.g:7467:2: ( () otherlv_1= '(pre)' ( (lv_objReference_2_0= ruleCMemberFeatureReference ) ) )
+ // InternalRBAModel.g:7468:3: () otherlv_1= '(pre)' ( (lv_objReference_2_0= ruleCMemberFeatureReference ) )
+ {
+ // InternalRBAModel.g:7468:3: ()
+ // InternalRBAModel.g:7469:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getPreviousModifierAccess().getPreviousModifierAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,125,FOLLOW_60); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getPreviousModifierAccess().getPreKeyword_1());
+
+ }
+ // InternalRBAModel.g:7479:3: ( (lv_objReference_2_0= ruleCMemberFeatureReference ) )
+ // InternalRBAModel.g:7480:4: (lv_objReference_2_0= ruleCMemberFeatureReference )
+ {
+ // InternalRBAModel.g:7480:4: (lv_objReference_2_0= ruleCMemberFeatureReference )
+ // InternalRBAModel.g:7481:5: lv_objReference_2_0= ruleCMemberFeatureReference
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPreviousModifierAccess().getObjReferenceCMemberFeatureReferenceParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_objReference_2_0=ruleCMemberFeatureReference();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPreviousModifierRule());
+ }
+ set(
+ current,
+ "objReference",
+ lv_objReference_2_0,
+ "rba.tool.editor.RBAModel.CMemberFeatureReference");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "rulePreviousModifier"
+
+
+ // $ANTLR start "entryRuleHideLowerPriority"
+ // InternalRBAModel.g:7502:1: entryRuleHideLowerPriority returns [EObject current=null] : iv_ruleHideLowerPriority= ruleHideLowerPriority EOF ;
+ public final EObject entryRuleHideLowerPriority() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleHideLowerPriority = null;
+
+
+ try {
+ // InternalRBAModel.g:7502:58: (iv_ruleHideLowerPriority= ruleHideLowerPriority EOF )
+ // InternalRBAModel.g:7503:2: iv_ruleHideLowerPriority= ruleHideLowerPriority EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getHideLowerPriorityRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleHideLowerPriority=ruleHideLowerPriority();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleHideLowerPriority;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleHideLowerPriority"
+
+
+ // $ANTLR start "ruleHideLowerPriority"
+ // InternalRBAModel.g:7509:1: ruleHideLowerPriority returns [EObject current=null] : ( () otherlv_1= 'HideLowerPriority' otherlv_2= '(' ( (lv_operand_3_0= ruleCExpression ) ) otherlv_4= ',' ( (lv_operand_5_0= ruleCExpression ) ) otherlv_6= ')' ) ;
+ public final EObject ruleHideLowerPriority() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ EObject lv_operand_3_0 = null;
+
+ EObject lv_operand_5_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7515:2: ( ( () otherlv_1= 'HideLowerPriority' otherlv_2= '(' ( (lv_operand_3_0= ruleCExpression ) ) otherlv_4= ',' ( (lv_operand_5_0= ruleCExpression ) ) otherlv_6= ')' ) )
+ // InternalRBAModel.g:7516:2: ( () otherlv_1= 'HideLowerPriority' otherlv_2= '(' ( (lv_operand_3_0= ruleCExpression ) ) otherlv_4= ',' ( (lv_operand_5_0= ruleCExpression ) ) otherlv_6= ')' )
+ {
+ // InternalRBAModel.g:7516:2: ( () otherlv_1= 'HideLowerPriority' otherlv_2= '(' ( (lv_operand_3_0= ruleCExpression ) ) otherlv_4= ',' ( (lv_operand_5_0= ruleCExpression ) ) otherlv_6= ')' )
+ // InternalRBAModel.g:7517:3: () otherlv_1= 'HideLowerPriority' otherlv_2= '(' ( (lv_operand_3_0= ruleCExpression ) ) otherlv_4= ',' ( (lv_operand_5_0= ruleCExpression ) ) otherlv_6= ')'
+ {
+ // InternalRBAModel.g:7517:3: ()
+ // InternalRBAModel.g:7518:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getHideLowerPriorityAccess().getHideLowerPriorityAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,126,FOLLOW_20); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getHideLowerPriorityAccess().getHideLowerPriorityKeyword_1());
+
+ }
+ otherlv_2=(Token)match(input,34,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getHideLowerPriorityAccess().getLeftParenthesisKeyword_2());
+
+ }
+ // InternalRBAModel.g:7532:3: ( (lv_operand_3_0= ruleCExpression ) )
+ // InternalRBAModel.g:7533:4: (lv_operand_3_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7533:4: (lv_operand_3_0= ruleCExpression )
+ // InternalRBAModel.g:7534:5: lv_operand_3_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getHideLowerPriorityAccess().getOperandCExpressionParserRuleCall_3_0());
+
+ }
+ pushFollow(FOLLOW_61);
+ lv_operand_3_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getHideLowerPriorityRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_4=(Token)match(input,27,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getHideLowerPriorityAccess().getCommaKeyword_4());
+
+ }
+ // InternalRBAModel.g:7555:3: ( (lv_operand_5_0= ruleCExpression ) )
+ // InternalRBAModel.g:7556:4: (lv_operand_5_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7556:4: (lv_operand_5_0= ruleCExpression )
+ // InternalRBAModel.g:7557:5: lv_operand_5_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getHideLowerPriorityAccess().getOperandCExpressionParserRuleCall_5_0());
+
+ }
+ pushFollow(FOLLOW_48);
+ lv_operand_5_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getHideLowerPriorityRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_5_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_6=(Token)match(input,35,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getHideLowerPriorityAccess().getRightParenthesisKeyword_6());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleHideLowerPriority"
+
+
+ // $ANTLR start "entryRuleMuteLowerPriority"
+ // InternalRBAModel.g:7582:1: entryRuleMuteLowerPriority returns [EObject current=null] : iv_ruleMuteLowerPriority= ruleMuteLowerPriority EOF ;
+ public final EObject entryRuleMuteLowerPriority() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleMuteLowerPriority = null;
+
+
+ try {
+ // InternalRBAModel.g:7582:58: (iv_ruleMuteLowerPriority= ruleMuteLowerPriority EOF )
+ // InternalRBAModel.g:7583:2: iv_ruleMuteLowerPriority= ruleMuteLowerPriority EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getMuteLowerPriorityRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleMuteLowerPriority=ruleMuteLowerPriority();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleMuteLowerPriority;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleMuteLowerPriority"
+
+
+ // $ANTLR start "ruleMuteLowerPriority"
+ // InternalRBAModel.g:7589:1: ruleMuteLowerPriority returns [EObject current=null] : ( () otherlv_1= 'MuteLowerPriority' otherlv_2= '(' ( (lv_operand_3_0= ruleCExpression ) ) otherlv_4= ',' ( (lv_operand_5_0= ruleCExpression ) ) otherlv_6= ')' ) ;
+ public final EObject ruleMuteLowerPriority() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ EObject lv_operand_3_0 = null;
+
+ EObject lv_operand_5_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7595:2: ( ( () otherlv_1= 'MuteLowerPriority' otherlv_2= '(' ( (lv_operand_3_0= ruleCExpression ) ) otherlv_4= ',' ( (lv_operand_5_0= ruleCExpression ) ) otherlv_6= ')' ) )
+ // InternalRBAModel.g:7596:2: ( () otherlv_1= 'MuteLowerPriority' otherlv_2= '(' ( (lv_operand_3_0= ruleCExpression ) ) otherlv_4= ',' ( (lv_operand_5_0= ruleCExpression ) ) otherlv_6= ')' )
+ {
+ // InternalRBAModel.g:7596:2: ( () otherlv_1= 'MuteLowerPriority' otherlv_2= '(' ( (lv_operand_3_0= ruleCExpression ) ) otherlv_4= ',' ( (lv_operand_5_0= ruleCExpression ) ) otherlv_6= ')' )
+ // InternalRBAModel.g:7597:3: () otherlv_1= 'MuteLowerPriority' otherlv_2= '(' ( (lv_operand_3_0= ruleCExpression ) ) otherlv_4= ',' ( (lv_operand_5_0= ruleCExpression ) ) otherlv_6= ')'
+ {
+ // InternalRBAModel.g:7597:3: ()
+ // InternalRBAModel.g:7598:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getMuteLowerPriorityAccess().getMuteLowerPriorityAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,127,FOLLOW_20); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getMuteLowerPriorityAccess().getMuteLowerPriorityKeyword_1());
+
+ }
+ otherlv_2=(Token)match(input,34,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getMuteLowerPriorityAccess().getLeftParenthesisKeyword_2());
+
+ }
+ // InternalRBAModel.g:7612:3: ( (lv_operand_3_0= ruleCExpression ) )
+ // InternalRBAModel.g:7613:4: (lv_operand_3_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7613:4: (lv_operand_3_0= ruleCExpression )
+ // InternalRBAModel.g:7614:5: lv_operand_3_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getMuteLowerPriorityAccess().getOperandCExpressionParserRuleCall_3_0());
+
+ }
+ pushFollow(FOLLOW_61);
+ lv_operand_3_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getMuteLowerPriorityRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_3_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_4=(Token)match(input,27,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getMuteLowerPriorityAccess().getCommaKeyword_4());
+
+ }
+ // InternalRBAModel.g:7635:3: ( (lv_operand_5_0= ruleCExpression ) )
+ // InternalRBAModel.g:7636:4: (lv_operand_5_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7636:4: (lv_operand_5_0= ruleCExpression )
+ // InternalRBAModel.g:7637:5: lv_operand_5_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getMuteLowerPriorityAccess().getOperandCExpressionParserRuleCall_5_0());
+
+ }
+ pushFollow(FOLLOW_48);
+ lv_operand_5_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getMuteLowerPriorityRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_5_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_6=(Token)match(input,35,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getMuteLowerPriorityAccess().getRightParenthesisKeyword_6());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleMuteLowerPriority"
+
+
+ // $ANTLR start "entryRuleSetOfOperator"
+ // InternalRBAModel.g:7662:1: entryRuleSetOfOperator returns [EObject current=null] : iv_ruleSetOfOperator= ruleSetOfOperator EOF ;
+ public final EObject entryRuleSetOfOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleSetOfOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:7662:54: (iv_ruleSetOfOperator= ruleSetOfOperator EOF )
+ // InternalRBAModel.g:7663:2: iv_ruleSetOfOperator= ruleSetOfOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getSetOfOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleSetOfOperator=ruleSetOfOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleSetOfOperator;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleSetOfOperator"
+
+
+ // $ANTLR start "ruleSetOfOperator"
+ // InternalRBAModel.g:7669:1: ruleSetOfOperator returns [EObject current=null] : ( () otherlv_1= '{' ( ( (lv_operand_2_0= ruleCExpression ) ) (otherlv_3= ',' ( (lv_operand_4_0= ruleCExpression ) ) )* )? otherlv_5= '}' ) ;
+ public final EObject ruleSetOfOperator() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ EObject lv_operand_2_0 = null;
+
+ EObject lv_operand_4_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7675:2: ( ( () otherlv_1= '{' ( ( (lv_operand_2_0= ruleCExpression ) ) (otherlv_3= ',' ( (lv_operand_4_0= ruleCExpression ) ) )* )? otherlv_5= '}' ) )
+ // InternalRBAModel.g:7676:2: ( () otherlv_1= '{' ( ( (lv_operand_2_0= ruleCExpression ) ) (otherlv_3= ',' ( (lv_operand_4_0= ruleCExpression ) ) )* )? otherlv_5= '}' )
+ {
+ // InternalRBAModel.g:7676:2: ( () otherlv_1= '{' ( ( (lv_operand_2_0= ruleCExpression ) ) (otherlv_3= ',' ( (lv_operand_4_0= ruleCExpression ) ) )* )? otherlv_5= '}' )
+ // InternalRBAModel.g:7677:3: () otherlv_1= '{' ( ( (lv_operand_2_0= ruleCExpression ) ) (otherlv_3= ',' ( (lv_operand_4_0= ruleCExpression ) ) )* )? otherlv_5= '}'
+ {
+ // InternalRBAModel.g:7677:3: ()
+ // InternalRBAModel.g:7678:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getSetOfOperatorAccess().getSetOfOperatorAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,26,FOLLOW_25); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getSetOfOperatorAccess().getLeftCurlyBracketKeyword_1());
+
+ }
+ // InternalRBAModel.g:7688:3: ( ( (lv_operand_2_0= ruleCExpression ) ) (otherlv_3= ',' ( (lv_operand_4_0= ruleCExpression ) ) )* )?
+ int alt86=2;
+ int LA86_0 = input.LA(1);
+
+ if ( (LA86_0==RULE_INT||LA86_0==RULE_ID||LA86_0==26||LA86_0==34||LA86_0==83||(LA86_0>=120 && LA86_0<=128)||(LA86_0>=131 && LA86_0<=132)||LA86_0==148||LA86_0==150) ) {
+ alt86=1;
+ }
+ switch (alt86) {
+ case 1 :
+ // InternalRBAModel.g:7689:4: ( (lv_operand_2_0= ruleCExpression ) ) (otherlv_3= ',' ( (lv_operand_4_0= ruleCExpression ) ) )*
+ {
+ // InternalRBAModel.g:7689:4: ( (lv_operand_2_0= ruleCExpression ) )
+ // InternalRBAModel.g:7690:5: (lv_operand_2_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7690:5: (lv_operand_2_0= ruleCExpression )
+ // InternalRBAModel.g:7691:6: lv_operand_2_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSetOfOperatorAccess().getOperandCExpressionParserRuleCall_2_0_0());
+
+ }
+ pushFollow(FOLLOW_13);
+ lv_operand_2_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSetOfOperatorRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_2_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:7708:4: (otherlv_3= ',' ( (lv_operand_4_0= ruleCExpression ) ) )*
+ loop85:
+ do {
+ int alt85=2;
+ int LA85_0 = input.LA(1);
+
+ if ( (LA85_0==27) ) {
+ alt85=1;
+ }
+
+
+ switch (alt85) {
+ case 1 :
+ // InternalRBAModel.g:7709:5: otherlv_3= ',' ( (lv_operand_4_0= ruleCExpression ) )
+ {
+ otherlv_3=(Token)match(input,27,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getSetOfOperatorAccess().getCommaKeyword_2_1_0());
+
+ }
+ // InternalRBAModel.g:7713:5: ( (lv_operand_4_0= ruleCExpression ) )
+ // InternalRBAModel.g:7714:6: (lv_operand_4_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7714:6: (lv_operand_4_0= ruleCExpression )
+ // InternalRBAModel.g:7715:7: lv_operand_4_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSetOfOperatorAccess().getOperandCExpressionParserRuleCall_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_13);
+ lv_operand_4_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSetOfOperatorRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_4_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop85;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_5=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getSetOfOperatorAccess().getRightCurlyBracketKeyword_3());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleSetOfOperator"
+
+
+ // $ANTLR start "entryRuleIfStatement"
+ // InternalRBAModel.g:7742:1: entryRuleIfStatement returns [EObject current=null] : iv_ruleIfStatement= ruleIfStatement EOF ;
+ public final EObject entryRuleIfStatement() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleIfStatement = null;
+
+
+ try {
+ // InternalRBAModel.g:7742:52: (iv_ruleIfStatement= ruleIfStatement EOF )
+ // InternalRBAModel.g:7743:2: iv_ruleIfStatement= ruleIfStatement EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getIfStatementRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleIfStatement=ruleIfStatement();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleIfStatement;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleIfStatement"
+
+
+ // $ANTLR start "ruleIfStatement"
+ // InternalRBAModel.g:7749:1: ruleIfStatement returns [EObject current=null] : ( () otherlv_1= 'IF' otherlv_2= '(' ( (lv_condition_3_0= ruleCExpression ) )? otherlv_4= ')' ( ( ( 'THEN' )=>otherlv_5= 'THEN' ) ( (lv_thenExpression_6_0= ruleCExpression ) ) )? ( ( ( 'ELSE' )=>otherlv_7= 'ELSE' ) ( (lv_elseExpression_8_0= ruleCExpression ) ) )? ) ;
+ public final EObject ruleIfStatement() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ EObject lv_condition_3_0 = null;
+
+ EObject lv_thenExpression_6_0 = null;
+
+ EObject lv_elseExpression_8_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7755:2: ( ( () otherlv_1= 'IF' otherlv_2= '(' ( (lv_condition_3_0= ruleCExpression ) )? otherlv_4= ')' ( ( ( 'THEN' )=>otherlv_5= 'THEN' ) ( (lv_thenExpression_6_0= ruleCExpression ) ) )? ( ( ( 'ELSE' )=>otherlv_7= 'ELSE' ) ( (lv_elseExpression_8_0= ruleCExpression ) ) )? ) )
+ // InternalRBAModel.g:7756:2: ( () otherlv_1= 'IF' otherlv_2= '(' ( (lv_condition_3_0= ruleCExpression ) )? otherlv_4= ')' ( ( ( 'THEN' )=>otherlv_5= 'THEN' ) ( (lv_thenExpression_6_0= ruleCExpression ) ) )? ( ( ( 'ELSE' )=>otherlv_7= 'ELSE' ) ( (lv_elseExpression_8_0= ruleCExpression ) ) )? )
+ {
+ // InternalRBAModel.g:7756:2: ( () otherlv_1= 'IF' otherlv_2= '(' ( (lv_condition_3_0= ruleCExpression ) )? otherlv_4= ')' ( ( ( 'THEN' )=>otherlv_5= 'THEN' ) ( (lv_thenExpression_6_0= ruleCExpression ) ) )? ( ( ( 'ELSE' )=>otherlv_7= 'ELSE' ) ( (lv_elseExpression_8_0= ruleCExpression ) ) )? )
+ // InternalRBAModel.g:7757:3: () otherlv_1= 'IF' otherlv_2= '(' ( (lv_condition_3_0= ruleCExpression ) )? otherlv_4= ')' ( ( ( 'THEN' )=>otherlv_5= 'THEN' ) ( (lv_thenExpression_6_0= ruleCExpression ) ) )? ( ( ( 'ELSE' )=>otherlv_7= 'ELSE' ) ( (lv_elseExpression_8_0= ruleCExpression ) ) )?
+ {
+ // InternalRBAModel.g:7757:3: ()
+ // InternalRBAModel.g:7758:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getIfStatementAccess().getIfStatementAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,128,FOLLOW_20); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getIfStatementAccess().getIFKeyword_1());
+
+ }
+ otherlv_2=(Token)match(input,34,FOLLOW_57); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getIfStatementAccess().getLeftParenthesisKeyword_2());
+
+ }
+ // InternalRBAModel.g:7772:3: ( (lv_condition_3_0= ruleCExpression ) )?
+ int alt87=2;
+ int LA87_0 = input.LA(1);
+
+ if ( (LA87_0==RULE_INT||LA87_0==RULE_ID||LA87_0==26||LA87_0==34||LA87_0==83||(LA87_0>=120 && LA87_0<=128)||(LA87_0>=131 && LA87_0<=132)||LA87_0==148||LA87_0==150) ) {
+ alt87=1;
+ }
+ switch (alt87) {
+ case 1 :
+ // InternalRBAModel.g:7773:4: (lv_condition_3_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7773:4: (lv_condition_3_0= ruleCExpression )
+ // InternalRBAModel.g:7774:5: lv_condition_3_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getIfStatementAccess().getConditionCExpressionParserRuleCall_3_0());
+
+ }
+ pushFollow(FOLLOW_48);
+ lv_condition_3_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getIfStatementRule());
+ }
+ set(
+ current,
+ "condition",
+ lv_condition_3_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ otherlv_4=(Token)match(input,35,FOLLOW_62); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getIfStatementAccess().getRightParenthesisKeyword_4());
+
+ }
+ // InternalRBAModel.g:7795:3: ( ( ( 'THEN' )=>otherlv_5= 'THEN' ) ( (lv_thenExpression_6_0= ruleCExpression ) ) )?
+ int alt88=2;
+ int LA88_0 = input.LA(1);
+
+ if ( (LA88_0==129) && (synpred17_InternalRBAModel())) {
+ alt88=1;
+ }
+ switch (alt88) {
+ case 1 :
+ // InternalRBAModel.g:7796:4: ( ( 'THEN' )=>otherlv_5= 'THEN' ) ( (lv_thenExpression_6_0= ruleCExpression ) )
+ {
+ // InternalRBAModel.g:7796:4: ( ( 'THEN' )=>otherlv_5= 'THEN' )
+ // InternalRBAModel.g:7797:5: ( 'THEN' )=>otherlv_5= 'THEN'
+ {
+ otherlv_5=(Token)match(input,129,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getIfStatementAccess().getTHENKeyword_5_0());
+
+ }
+
+ }
+
+ // InternalRBAModel.g:7803:4: ( (lv_thenExpression_6_0= ruleCExpression ) )
+ // InternalRBAModel.g:7804:5: (lv_thenExpression_6_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7804:5: (lv_thenExpression_6_0= ruleCExpression )
+ // InternalRBAModel.g:7805:6: lv_thenExpression_6_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getIfStatementAccess().getThenExpressionCExpressionParserRuleCall_5_1_0());
+
+ }
+ pushFollow(FOLLOW_63);
+ lv_thenExpression_6_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getIfStatementRule());
+ }
+ set(
+ current,
+ "thenExpression",
+ lv_thenExpression_6_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ // InternalRBAModel.g:7823:3: ( ( ( 'ELSE' )=>otherlv_7= 'ELSE' ) ( (lv_elseExpression_8_0= ruleCExpression ) ) )?
+ int alt89=2;
+ int LA89_0 = input.LA(1);
+
+ if ( (LA89_0==130) ) {
+ int LA89_1 = input.LA(2);
+
+ if ( (synpred18_InternalRBAModel()) ) {
+ alt89=1;
+ }
+ }
+ switch (alt89) {
+ case 1 :
+ // InternalRBAModel.g:7824:4: ( ( 'ELSE' )=>otherlv_7= 'ELSE' ) ( (lv_elseExpression_8_0= ruleCExpression ) )
+ {
+ // InternalRBAModel.g:7824:4: ( ( 'ELSE' )=>otherlv_7= 'ELSE' )
+ // InternalRBAModel.g:7825:5: ( 'ELSE' )=>otherlv_7= 'ELSE'
+ {
+ otherlv_7=(Token)match(input,130,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getIfStatementAccess().getELSEKeyword_6_0());
+
+ }
+
+ }
+
+ // InternalRBAModel.g:7831:4: ( (lv_elseExpression_8_0= ruleCExpression ) )
+ // InternalRBAModel.g:7832:5: (lv_elseExpression_8_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7832:5: (lv_elseExpression_8_0= ruleCExpression )
+ // InternalRBAModel.g:7833:6: lv_elseExpression_8_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getIfStatementAccess().getElseExpressionCExpressionParserRuleCall_6_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_elseExpression_8_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getIfStatementRule());
+ }
+ set(
+ current,
+ "elseExpression",
+ lv_elseExpression_8_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleIfStatement"
+
+
+ // $ANTLR start "entryRuleForAllOperator"
+ // InternalRBAModel.g:7855:1: entryRuleForAllOperator returns [EObject current=null] : iv_ruleForAllOperator= ruleForAllOperator EOF ;
+ public final EObject entryRuleForAllOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleForAllOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:7855:55: (iv_ruleForAllOperator= ruleForAllOperator EOF )
+ // InternalRBAModel.g:7856:2: iv_ruleForAllOperator= ruleForAllOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getForAllOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleForAllOperator=ruleForAllOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleForAllOperator;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleForAllOperator"
+
+
+ // $ANTLR start "ruleForAllOperator"
+ // InternalRBAModel.g:7862:1: ruleForAllOperator returns [EObject current=null] : ( () otherlv_1= 'For-All' ( (lv_operand_2_0= ruleCExpression ) ) ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) ) ) ;
+ public final EObject ruleForAllOperator() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ EObject lv_operand_2_0 = null;
+
+ EObject lv_lambda_3_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7868:2: ( ( () otherlv_1= 'For-All' ( (lv_operand_2_0= ruleCExpression ) ) ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) ) ) )
+ // InternalRBAModel.g:7869:2: ( () otherlv_1= 'For-All' ( (lv_operand_2_0= ruleCExpression ) ) ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) ) )
+ {
+ // InternalRBAModel.g:7869:2: ( () otherlv_1= 'For-All' ( (lv_operand_2_0= ruleCExpression ) ) ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) ) )
+ // InternalRBAModel.g:7870:3: () otherlv_1= 'For-All' ( (lv_operand_2_0= ruleCExpression ) ) ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) )
+ {
+ // InternalRBAModel.g:7870:3: ()
+ // InternalRBAModel.g:7871:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getForAllOperatorAccess().getForAllOperatorAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,131,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getForAllOperatorAccess().getForAllKeyword_1());
+
+ }
+ // InternalRBAModel.g:7881:3: ( (lv_operand_2_0= ruleCExpression ) )
+ // InternalRBAModel.g:7882:4: (lv_operand_2_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7882:4: (lv_operand_2_0= ruleCExpression )
+ // InternalRBAModel.g:7883:5: lv_operand_2_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getForAllOperatorAccess().getOperandCExpressionParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_operand_2_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getForAllOperatorRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_2_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:7900:3: ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) )
+ // InternalRBAModel.g:7901:4: ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression )
+ {
+ // InternalRBAModel.g:7907:4: (lv_lambda_3_0= ruleLambdaExpression )
+ // InternalRBAModel.g:7908:5: lv_lambda_3_0= ruleLambdaExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getForAllOperatorAccess().getLambdaLambdaExpressionParserRuleCall_3_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_lambda_3_0=ruleLambdaExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getForAllOperatorRule());
+ }
+ set(
+ current,
+ "lambda",
+ lv_lambda_3_0,
+ "rba.tool.editor.RBAModel.LambdaExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleForAllOperator"
+
+
+ // $ANTLR start "entryRuleExistsOperator"
+ // InternalRBAModel.g:7929:1: entryRuleExistsOperator returns [EObject current=null] : iv_ruleExistsOperator= ruleExistsOperator EOF ;
+ public final EObject entryRuleExistsOperator() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleExistsOperator = null;
+
+
+ try {
+ // InternalRBAModel.g:7929:55: (iv_ruleExistsOperator= ruleExistsOperator EOF )
+ // InternalRBAModel.g:7930:2: iv_ruleExistsOperator= ruleExistsOperator EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getExistsOperatorRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleExistsOperator=ruleExistsOperator();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleExistsOperator;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleExistsOperator"
+
+
+ // $ANTLR start "ruleExistsOperator"
+ // InternalRBAModel.g:7936:1: ruleExistsOperator returns [EObject current=null] : ( () otherlv_1= 'Exists' ( (lv_operand_2_0= ruleCExpression ) ) ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) ) ) ;
+ public final EObject ruleExistsOperator() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ EObject lv_operand_2_0 = null;
+
+ EObject lv_lambda_3_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:7942:2: ( ( () otherlv_1= 'Exists' ( (lv_operand_2_0= ruleCExpression ) ) ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) ) ) )
+ // InternalRBAModel.g:7943:2: ( () otherlv_1= 'Exists' ( (lv_operand_2_0= ruleCExpression ) ) ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) ) )
+ {
+ // InternalRBAModel.g:7943:2: ( () otherlv_1= 'Exists' ( (lv_operand_2_0= ruleCExpression ) ) ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) ) )
+ // InternalRBAModel.g:7944:3: () otherlv_1= 'Exists' ( (lv_operand_2_0= ruleCExpression ) ) ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) )
+ {
+ // InternalRBAModel.g:7944:3: ()
+ // InternalRBAModel.g:7945:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getExistsOperatorAccess().getExistsOperatorAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,132,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getExistsOperatorAccess().getExistsKeyword_1());
+
+ }
+ // InternalRBAModel.g:7955:3: ( (lv_operand_2_0= ruleCExpression ) )
+ // InternalRBAModel.g:7956:4: (lv_operand_2_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:7956:4: (lv_operand_2_0= ruleCExpression )
+ // InternalRBAModel.g:7957:5: lv_operand_2_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getExistsOperatorAccess().getOperandCExpressionParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_operand_2_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExistsOperatorRule());
+ }
+ add(
+ current,
+ "operand",
+ lv_operand_2_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:7974:3: ( ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression ) )
+ // InternalRBAModel.g:7975:4: ( ( () '{' ) )=> (lv_lambda_3_0= ruleLambdaExpression )
+ {
+ // InternalRBAModel.g:7981:4: (lv_lambda_3_0= ruleLambdaExpression )
+ // InternalRBAModel.g:7982:5: lv_lambda_3_0= ruleLambdaExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getExistsOperatorAccess().getLambdaLambdaExpressionParserRuleCall_3_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_lambda_3_0=ruleLambdaExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getExistsOperatorRule());
+ }
+ set(
+ current,
+ "lambda",
+ lv_lambda_3_0,
+ "rba.tool.editor.RBAModel.LambdaExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleExistsOperator"
+
+
+ // $ANTLR start "entryRuleLambdaExpression"
+ // InternalRBAModel.g:8003:1: entryRuleLambdaExpression returns [EObject current=null] : iv_ruleLambdaExpression= ruleLambdaExpression EOF ;
+ public final EObject entryRuleLambdaExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleLambdaExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:8003:57: (iv_ruleLambdaExpression= ruleLambdaExpression EOF )
+ // InternalRBAModel.g:8004:2: iv_ruleLambdaExpression= ruleLambdaExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getLambdaExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleLambdaExpression=ruleLambdaExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleLambdaExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleLambdaExpression"
+
+
+ // $ANTLR start "ruleLambdaExpression"
+ // InternalRBAModel.g:8010:1: ruleLambdaExpression returns [EObject current=null] : ( ( ( ( () '{' ) )=> ( () otherlv_1= '{' ) ) ( ( (lv_x_2_0= ruleVariable ) )? otherlv_3= '|' )? ( (lv_letStatements_4_0= ruleLetStatement ) )* ( (lv_bodyText_5_0= ruleCExpression ) ) otherlv_6= '}' ) ;
+ public final EObject ruleLambdaExpression() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_6=null;
+ EObject lv_x_2_0 = null;
+
+ EObject lv_letStatements_4_0 = null;
+
+ EObject lv_bodyText_5_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:8016:2: ( ( ( ( ( () '{' ) )=> ( () otherlv_1= '{' ) ) ( ( (lv_x_2_0= ruleVariable ) )? otherlv_3= '|' )? ( (lv_letStatements_4_0= ruleLetStatement ) )* ( (lv_bodyText_5_0= ruleCExpression ) ) otherlv_6= '}' ) )
+ // InternalRBAModel.g:8017:2: ( ( ( ( () '{' ) )=> ( () otherlv_1= '{' ) ) ( ( (lv_x_2_0= ruleVariable ) )? otherlv_3= '|' )? ( (lv_letStatements_4_0= ruleLetStatement ) )* ( (lv_bodyText_5_0= ruleCExpression ) ) otherlv_6= '}' )
+ {
+ // InternalRBAModel.g:8017:2: ( ( ( ( () '{' ) )=> ( () otherlv_1= '{' ) ) ( ( (lv_x_2_0= ruleVariable ) )? otherlv_3= '|' )? ( (lv_letStatements_4_0= ruleLetStatement ) )* ( (lv_bodyText_5_0= ruleCExpression ) ) otherlv_6= '}' )
+ // InternalRBAModel.g:8018:3: ( ( ( () '{' ) )=> ( () otherlv_1= '{' ) ) ( ( (lv_x_2_0= ruleVariable ) )? otherlv_3= '|' )? ( (lv_letStatements_4_0= ruleLetStatement ) )* ( (lv_bodyText_5_0= ruleCExpression ) ) otherlv_6= '}'
+ {
+ // InternalRBAModel.g:8018:3: ( ( ( () '{' ) )=> ( () otherlv_1= '{' ) )
+ // InternalRBAModel.g:8019:4: ( ( () '{' ) )=> ( () otherlv_1= '{' )
+ {
+ // InternalRBAModel.g:8025:4: ( () otherlv_1= '{' )
+ // InternalRBAModel.g:8026:5: () otherlv_1= '{'
+ {
+ // InternalRBAModel.g:8026:5: ()
+ // InternalRBAModel.g:8027:6:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getLambdaExpressionAccess().getLambdaExpressionAction_0_0_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,26,FOLLOW_64); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getLambdaExpressionAccess().getLeftCurlyBracketKeyword_0_0_1());
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:8039:3: ( ( (lv_x_2_0= ruleVariable ) )? otherlv_3= '|' )?
+ int alt91=2;
+ alt91 = dfa91.predict(input);
+ switch (alt91) {
+ case 1 :
+ // InternalRBAModel.g:8040:4: ( (lv_x_2_0= ruleVariable ) )? otherlv_3= '|'
+ {
+ // InternalRBAModel.g:8040:4: ( (lv_x_2_0= ruleVariable ) )?
+ int alt90=2;
+ int LA90_0 = input.LA(1);
+
+ if ( (LA90_0==RULE_ID) ) {
+ alt90=1;
+ }
+ switch (alt90) {
+ case 1 :
+ // InternalRBAModel.g:8041:5: (lv_x_2_0= ruleVariable )
+ {
+ // InternalRBAModel.g:8041:5: (lv_x_2_0= ruleVariable )
+ // InternalRBAModel.g:8042:6: lv_x_2_0= ruleVariable
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getLambdaExpressionAccess().getXVariableParserRuleCall_1_0_0());
+
+ }
+ pushFollow(FOLLOW_65);
+ lv_x_2_0=ruleVariable();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getLambdaExpressionRule());
+ }
+ set(
+ current,
+ "x",
+ lv_x_2_0,
+ "rba.tool.editor.RBAModel.Variable");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ otherlv_3=(Token)match(input,133,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getLambdaExpressionAccess().getVerticalLineKeyword_1_1());
+
+ }
+
+ }
+ break;
+
+ }
+
+ // InternalRBAModel.g:8064:3: ( (lv_letStatements_4_0= ruleLetStatement ) )*
+ loop92:
+ do {
+ int alt92=2;
+ int LA92_0 = input.LA(1);
+
+ if ( (LA92_0==134) ) {
+ alt92=1;
+ }
+
+
+ switch (alt92) {
+ case 1 :
+ // InternalRBAModel.g:8065:4: (lv_letStatements_4_0= ruleLetStatement )
+ {
+ // InternalRBAModel.g:8065:4: (lv_letStatements_4_0= ruleLetStatement )
+ // InternalRBAModel.g:8066:5: lv_letStatements_4_0= ruleLetStatement
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getLambdaExpressionAccess().getLetStatementsLetStatementParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_52);
+ lv_letStatements_4_0=ruleLetStatement();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getLambdaExpressionRule());
+ }
+ add(
+ current,
+ "letStatements",
+ lv_letStatements_4_0,
+ "rba.tool.editor.RBAModel.LetStatement");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop92;
+ }
+ } while (true);
+
+ // InternalRBAModel.g:8083:3: ( (lv_bodyText_5_0= ruleCExpression ) )
+ // InternalRBAModel.g:8084:4: (lv_bodyText_5_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:8084:4: (lv_bodyText_5_0= ruleCExpression )
+ // InternalRBAModel.g:8085:5: lv_bodyText_5_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getLambdaExpressionAccess().getBodyTextCExpressionParserRuleCall_3_0());
+
+ }
+ pushFollow(FOLLOW_44);
+ lv_bodyText_5_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getLambdaExpressionRule());
+ }
+ set(
+ current,
+ "bodyText",
+ lv_bodyText_5_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_6=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getLambdaExpressionAccess().getRightCurlyBracketKeyword_4());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleLambdaExpression"
+
+
+ // $ANTLR start "entryRuleVariable"
+ // InternalRBAModel.g:8110:1: entryRuleVariable returns [EObject current=null] : iv_ruleVariable= ruleVariable EOF ;
+ public final EObject entryRuleVariable() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleVariable = null;
+
+
+ try {
+ // InternalRBAModel.g:8110:49: (iv_ruleVariable= ruleVariable EOF )
+ // InternalRBAModel.g:8111:2: iv_ruleVariable= ruleVariable EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getVariableRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleVariable=ruleVariable();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleVariable;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleVariable"
+
+
+ // $ANTLR start "ruleVariable"
+ // InternalRBAModel.g:8117:1: ruleVariable returns [EObject current=null] : ( () ( (lv_name_1_0= ruleQualifiedName ) ) ) ;
+ public final EObject ruleVariable() throws RecognitionException {
+ EObject current = null;
+
+ AntlrDatatypeRuleToken lv_name_1_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:8123:2: ( ( () ( (lv_name_1_0= ruleQualifiedName ) ) ) )
+ // InternalRBAModel.g:8124:2: ( () ( (lv_name_1_0= ruleQualifiedName ) ) )
+ {
+ // InternalRBAModel.g:8124:2: ( () ( (lv_name_1_0= ruleQualifiedName ) ) )
+ // InternalRBAModel.g:8125:3: () ( (lv_name_1_0= ruleQualifiedName ) )
+ {
+ // InternalRBAModel.g:8125:3: ()
+ // InternalRBAModel.g:8126:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getVariableAccess().getVariableAction_0(),
+ current);
+
+ }
+
+ }
+
+ // InternalRBAModel.g:8132:3: ( (lv_name_1_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:8133:4: (lv_name_1_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8133:4: (lv_name_1_0= ruleQualifiedName )
+ // InternalRBAModel.g:8134:5: lv_name_1_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVariableAccess().getNameQualifiedNameParserRuleCall_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_name_1_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getVariableRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_1_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVariable"
+
+
+ // $ANTLR start "entryRuleCMemberFeatureReference"
+ // InternalRBAModel.g:8155:1: entryRuleCMemberFeatureReference returns [EObject current=null] : iv_ruleCMemberFeatureReference= ruleCMemberFeatureReference EOF ;
+ public final EObject entryRuleCMemberFeatureReference() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleCMemberFeatureReference = null;
+
+
+ try {
+ // InternalRBAModel.g:8155:64: (iv_ruleCMemberFeatureReference= ruleCMemberFeatureReference EOF )
+ // InternalRBAModel.g:8156:2: iv_ruleCMemberFeatureReference= ruleCMemberFeatureReference EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getCMemberFeatureReferenceRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleCMemberFeatureReference=ruleCMemberFeatureReference();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleCMemberFeatureReference;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleCMemberFeatureReference"
+
+
+ // $ANTLR start "ruleCMemberFeatureReference"
+ // InternalRBAModel.g:8162:1: ruleCMemberFeatureReference returns [EObject current=null] : ( () ( ( ruleIdOrThis ) ) ( () otherlv_3= '.' ( ( ruleValidID ) ) )* ) ;
+ public final EObject ruleCMemberFeatureReference() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_3=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:8168:2: ( ( () ( ( ruleIdOrThis ) ) ( () otherlv_3= '.' ( ( ruleValidID ) ) )* ) )
+ // InternalRBAModel.g:8169:2: ( () ( ( ruleIdOrThis ) ) ( () otherlv_3= '.' ( ( ruleValidID ) ) )* )
+ {
+ // InternalRBAModel.g:8169:2: ( () ( ( ruleIdOrThis ) ) ( () otherlv_3= '.' ( ( ruleValidID ) ) )* )
+ // InternalRBAModel.g:8170:3: () ( ( ruleIdOrThis ) ) ( () otherlv_3= '.' ( ( ruleValidID ) ) )*
+ {
+ // InternalRBAModel.g:8170:3: ()
+ // InternalRBAModel.g:8171:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getCMemberFeatureReferenceAccess().getObjectReferenceAction_0(),
+ current);
+
+ }
+
+ }
+
+ // InternalRBAModel.g:8177:3: ( ( ruleIdOrThis ) )
+ // InternalRBAModel.g:8178:4: ( ruleIdOrThis )
+ {
+ // InternalRBAModel.g:8178:4: ( ruleIdOrThis )
+ // InternalRBAModel.g:8179:5: ruleIdOrThis
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getCMemberFeatureReferenceRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCMemberFeatureReferenceAccess().getRefObjectRuleObjectCrossReference_1_0());
+
+ }
+ pushFollow(FOLLOW_50);
+ ruleIdOrThis();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:8193:3: ( () otherlv_3= '.' ( ( ruleValidID ) ) )*
+ loop93:
+ do {
+ int alt93=2;
+ int LA93_0 = input.LA(1);
+
+ if ( (LA93_0==71) ) {
+ int LA93_1 = input.LA(2);
+
+ if ( (LA93_1==RULE_ID) ) {
+ alt93=1;
+ }
+
+
+ }
+
+
+ switch (alt93) {
+ case 1 :
+ // InternalRBAModel.g:8194:4: () otherlv_3= '.' ( ( ruleValidID ) )
+ {
+ // InternalRBAModel.g:8194:4: ()
+ // InternalRBAModel.g:8195:5:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElementAndAdd(
+ grammarAccess.getCMemberFeatureReferenceAccess().getMemberFeatureReferenceOperandAction_2_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_3=(Token)match(input,71,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getCMemberFeatureReferenceAccess().getFullStopKeyword_2_1());
+
+ }
+ // InternalRBAModel.g:8205:4: ( ( ruleValidID ) )
+ // InternalRBAModel.g:8206:5: ( ruleValidID )
+ {
+ // InternalRBAModel.g:8206:5: ( ruleValidID )
+ // InternalRBAModel.g:8207:6: ruleValidID
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getCMemberFeatureReferenceRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getCMemberFeatureReferenceAccess().getRefObjectRuleObjectCrossReference_2_2_0());
+
+ }
+ pushFollow(FOLLOW_50);
+ ruleValidID();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop93;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleCMemberFeatureReference"
+
+
+ // $ANTLR start "entryRuleLetStatement"
+ // InternalRBAModel.g:8226:1: entryRuleLetStatement returns [EObject current=null] : iv_ruleLetStatement= ruleLetStatement EOF ;
+ public final EObject entryRuleLetStatement() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleLetStatement = null;
+
+
+ try {
+ // InternalRBAModel.g:8226:53: (iv_ruleLetStatement= ruleLetStatement EOF )
+ // InternalRBAModel.g:8227:2: iv_ruleLetStatement= ruleLetStatement EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getLetStatementRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleLetStatement=ruleLetStatement();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleLetStatement;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleLetStatement"
+
+
+ // $ANTLR start "ruleLetStatement"
+ // InternalRBAModel.g:8233:1: ruleLetStatement returns [EObject current=null] : ( () otherlv_1= 'let' ( ( ( ruleVariable ) )=> (lv_variable_2_0= ruleVariable ) ) (otherlv_3= '=' ( (lv_body_4_0= ruleCExpression ) ) )? ) ;
+ public final EObject ruleLetStatement() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ EObject lv_variable_2_0 = null;
+
+ EObject lv_body_4_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:8239:2: ( ( () otherlv_1= 'let' ( ( ( ruleVariable ) )=> (lv_variable_2_0= ruleVariable ) ) (otherlv_3= '=' ( (lv_body_4_0= ruleCExpression ) ) )? ) )
+ // InternalRBAModel.g:8240:2: ( () otherlv_1= 'let' ( ( ( ruleVariable ) )=> (lv_variable_2_0= ruleVariable ) ) (otherlv_3= '=' ( (lv_body_4_0= ruleCExpression ) ) )? )
+ {
+ // InternalRBAModel.g:8240:2: ( () otherlv_1= 'let' ( ( ( ruleVariable ) )=> (lv_variable_2_0= ruleVariable ) ) (otherlv_3= '=' ( (lv_body_4_0= ruleCExpression ) ) )? )
+ // InternalRBAModel.g:8241:3: () otherlv_1= 'let' ( ( ( ruleVariable ) )=> (lv_variable_2_0= ruleVariable ) ) (otherlv_3= '=' ( (lv_body_4_0= ruleCExpression ) ) )?
+ {
+ // InternalRBAModel.g:8241:3: ()
+ // InternalRBAModel.g:8242:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getLetStatementAccess().getLetStatementAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,134,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getLetStatementAccess().getLetKeyword_1());
+
+ }
+ // InternalRBAModel.g:8252:3: ( ( ( ruleVariable ) )=> (lv_variable_2_0= ruleVariable ) )
+ // InternalRBAModel.g:8253:4: ( ( ruleVariable ) )=> (lv_variable_2_0= ruleVariable )
+ {
+ // InternalRBAModel.g:8257:4: (lv_variable_2_0= ruleVariable )
+ // InternalRBAModel.g:8258:5: lv_variable_2_0= ruleVariable
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getLetStatementAccess().getVariableVariableParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_66);
+ lv_variable_2_0=ruleVariable();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getLetStatementRule());
+ }
+ set(
+ current,
+ "variable",
+ lv_variable_2_0,
+ "rba.tool.editor.RBAModel.Variable");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:8275:3: (otherlv_3= '=' ( (lv_body_4_0= ruleCExpression ) ) )?
+ int alt94=2;
+ int LA94_0 = input.LA(1);
+
+ if ( (LA94_0==69) ) {
+ alt94=1;
+ }
+ switch (alt94) {
+ case 1 :
+ // InternalRBAModel.g:8276:4: otherlv_3= '=' ( (lv_body_4_0= ruleCExpression ) )
+ {
+ otherlv_3=(Token)match(input,69,FOLLOW_52); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getLetStatementAccess().getEqualsSignKeyword_3_0());
+
+ }
+ // InternalRBAModel.g:8280:4: ( (lv_body_4_0= ruleCExpression ) )
+ // InternalRBAModel.g:8281:5: (lv_body_4_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:8281:5: (lv_body_4_0= ruleCExpression )
+ // InternalRBAModel.g:8282:6: lv_body_4_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getLetStatementAccess().getBodyCExpressionParserRuleCall_3_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_body_4_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getLetStatementRule());
+ }
+ set(
+ current,
+ "body",
+ lv_body_4_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleLetStatement"
+
+
+ // $ANTLR start "entryRuleComplexExpression"
+ // InternalRBAModel.g:8304:1: entryRuleComplexExpression returns [EObject current=null] : iv_ruleComplexExpression= ruleComplexExpression EOF ;
+ public final EObject entryRuleComplexExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleComplexExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:8304:58: (iv_ruleComplexExpression= ruleComplexExpression EOF )
+ // InternalRBAModel.g:8305:2: iv_ruleComplexExpression= ruleComplexExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getComplexExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleComplexExpression=ruleComplexExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleComplexExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleComplexExpression"
+
+
+ // $ANTLR start "ruleComplexExpression"
+ // InternalRBAModel.g:8311:1: ruleComplexExpression returns [EObject current=null] : ( () ( (lv_letStatements_1_0= ruleLetStatement ) )* ( (lv_otherExpression_2_0= ruleCExpression ) ) ) ;
+ public final EObject ruleComplexExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject lv_letStatements_1_0 = null;
+
+ EObject lv_otherExpression_2_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:8317:2: ( ( () ( (lv_letStatements_1_0= ruleLetStatement ) )* ( (lv_otherExpression_2_0= ruleCExpression ) ) ) )
+ // InternalRBAModel.g:8318:2: ( () ( (lv_letStatements_1_0= ruleLetStatement ) )* ( (lv_otherExpression_2_0= ruleCExpression ) ) )
+ {
+ // InternalRBAModel.g:8318:2: ( () ( (lv_letStatements_1_0= ruleLetStatement ) )* ( (lv_otherExpression_2_0= ruleCExpression ) ) )
+ // InternalRBAModel.g:8319:3: () ( (lv_letStatements_1_0= ruleLetStatement ) )* ( (lv_otherExpression_2_0= ruleCExpression ) )
+ {
+ // InternalRBAModel.g:8319:3: ()
+ // InternalRBAModel.g:8320:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getComplexExpressionAccess().getComplexExpressionAction_0(),
+ current);
+
+ }
+
+ }
+
+ // InternalRBAModel.g:8326:3: ( (lv_letStatements_1_0= ruleLetStatement ) )*
+ loop95:
+ do {
+ int alt95=2;
+ int LA95_0 = input.LA(1);
+
+ if ( (LA95_0==134) ) {
+ alt95=1;
+ }
+
+
+ switch (alt95) {
+ case 1 :
+ // InternalRBAModel.g:8327:4: (lv_letStatements_1_0= ruleLetStatement )
+ {
+ // InternalRBAModel.g:8327:4: (lv_letStatements_1_0= ruleLetStatement )
+ // InternalRBAModel.g:8328:5: lv_letStatements_1_0= ruleLetStatement
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getComplexExpressionAccess().getLetStatementsLetStatementParserRuleCall_1_0());
+
+ }
+ pushFollow(FOLLOW_52);
+ lv_letStatements_1_0=ruleLetStatement();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getComplexExpressionRule());
+ }
+ add(
+ current,
+ "letStatements",
+ lv_letStatements_1_0,
+ "rba.tool.editor.RBAModel.LetStatement");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop95;
+ }
+ } while (true);
+
+ // InternalRBAModel.g:8345:3: ( (lv_otherExpression_2_0= ruleCExpression ) )
+ // InternalRBAModel.g:8346:4: (lv_otherExpression_2_0= ruleCExpression )
+ {
+ // InternalRBAModel.g:8346:4: (lv_otherExpression_2_0= ruleCExpression )
+ // InternalRBAModel.g:8347:5: lv_otherExpression_2_0= ruleCExpression
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getComplexExpressionAccess().getOtherExpressionCExpressionParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_otherExpression_2_0=ruleCExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getComplexExpressionRule());
+ }
+ set(
+ current,
+ "otherExpression",
+ lv_otherExpression_2_0,
+ "rba.tool.editor.RBAModel.CExpression");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleComplexExpression"
+
+
+ // $ANTLR start "entryRuleLoserTypeExpression"
+ // InternalRBAModel.g:8368:1: entryRuleLoserTypeExpression returns [EObject current=null] : iv_ruleLoserTypeExpression= ruleLoserTypeExpression EOF ;
+ public final EObject entryRuleLoserTypeExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleLoserTypeExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:8368:60: (iv_ruleLoserTypeExpression= ruleLoserTypeExpression EOF )
+ // InternalRBAModel.g:8369:2: iv_ruleLoserTypeExpression= ruleLoserTypeExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getLoserTypeExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleLoserTypeExpression=ruleLoserTypeExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleLoserTypeExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleLoserTypeExpression"
+
+
+ // $ANTLR start "ruleLoserTypeExpression"
+ // InternalRBAModel.g:8375:1: ruleLoserTypeExpression returns [EObject current=null] : ( () ( (lv_value_1_0= ruleLoserType ) ) ) ;
+ public final EObject ruleLoserTypeExpression() throws RecognitionException {
+ EObject current = null;
+
+ Enumerator lv_value_1_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:8381:2: ( ( () ( (lv_value_1_0= ruleLoserType ) ) ) )
+ // InternalRBAModel.g:8382:2: ( () ( (lv_value_1_0= ruleLoserType ) ) )
+ {
+ // InternalRBAModel.g:8382:2: ( () ( (lv_value_1_0= ruleLoserType ) ) )
+ // InternalRBAModel.g:8383:3: () ( (lv_value_1_0= ruleLoserType ) )
+ {
+ // InternalRBAModel.g:8383:3: ()
+ // InternalRBAModel.g:8384:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getLoserTypeExpressionAccess().getLoserTypeExpressionAction_0(),
+ current);
+
+ }
+
+ }
+
+ // InternalRBAModel.g:8390:3: ( (lv_value_1_0= ruleLoserType ) )
+ // InternalRBAModel.g:8391:4: (lv_value_1_0= ruleLoserType )
+ {
+ // InternalRBAModel.g:8391:4: (lv_value_1_0= ruleLoserType )
+ // InternalRBAModel.g:8392:5: lv_value_1_0= ruleLoserType
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getLoserTypeExpressionAccess().getValueLoserTypeEnumRuleCall_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_value_1_0=ruleLoserType();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getLoserTypeExpressionRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_1_0,
+ "rba.tool.editor.RBAModel.LoserType");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleLoserTypeExpression"
+
+
+ // $ANTLR start "entryRuleArbitrationPolicyExpression"
+ // InternalRBAModel.g:8413:1: entryRuleArbitrationPolicyExpression returns [EObject current=null] : iv_ruleArbitrationPolicyExpression= ruleArbitrationPolicyExpression EOF ;
+ public final EObject entryRuleArbitrationPolicyExpression() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleArbitrationPolicyExpression = null;
+
+
+ try {
+ // InternalRBAModel.g:8413:68: (iv_ruleArbitrationPolicyExpression= ruleArbitrationPolicyExpression EOF )
+ // InternalRBAModel.g:8414:2: iv_ruleArbitrationPolicyExpression= ruleArbitrationPolicyExpression EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getArbitrationPolicyExpressionRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleArbitrationPolicyExpression=ruleArbitrationPolicyExpression();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleArbitrationPolicyExpression;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleArbitrationPolicyExpression"
+
+
+ // $ANTLR start "ruleArbitrationPolicyExpression"
+ // InternalRBAModel.g:8420:1: ruleArbitrationPolicyExpression returns [EObject current=null] : ( () ( (lv_value_1_0= ruleArbitrationPolicy ) ) ) ;
+ public final EObject ruleArbitrationPolicyExpression() throws RecognitionException {
+ EObject current = null;
+
+ Enumerator lv_value_1_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:8426:2: ( ( () ( (lv_value_1_0= ruleArbitrationPolicy ) ) ) )
+ // InternalRBAModel.g:8427:2: ( () ( (lv_value_1_0= ruleArbitrationPolicy ) ) )
+ {
+ // InternalRBAModel.g:8427:2: ( () ( (lv_value_1_0= ruleArbitrationPolicy ) ) )
+ // InternalRBAModel.g:8428:3: () ( (lv_value_1_0= ruleArbitrationPolicy ) )
+ {
+ // InternalRBAModel.g:8428:3: ()
+ // InternalRBAModel.g:8429:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getArbitrationPolicyExpressionAccess().getArbitrationPolicyExpressionAction_0(),
+ current);
+
+ }
+
+ }
+
+ // InternalRBAModel.g:8435:3: ( (lv_value_1_0= ruleArbitrationPolicy ) )
+ // InternalRBAModel.g:8436:4: (lv_value_1_0= ruleArbitrationPolicy )
+ {
+ // InternalRBAModel.g:8436:4: (lv_value_1_0= ruleArbitrationPolicy )
+ // InternalRBAModel.g:8437:5: lv_value_1_0= ruleArbitrationPolicy
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getArbitrationPolicyExpressionAccess().getValueArbitrationPolicyEnumRuleCall_1_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ lv_value_1_0=ruleArbitrationPolicy();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getArbitrationPolicyExpressionRule());
+ }
+ set(
+ current,
+ "value",
+ lv_value_1_0,
+ "rba.tool.editor.RBAModel.ArbitrationPolicy");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleArbitrationPolicyExpression"
+
+
+ // $ANTLR start "entryRuleViewContentSet"
+ // InternalRBAModel.g:8458:1: entryRuleViewContentSet returns [EObject current=null] : iv_ruleViewContentSet= ruleViewContentSet EOF ;
+ public final EObject entryRuleViewContentSet() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleViewContentSet = null;
+
+
+ try {
+ // InternalRBAModel.g:8458:55: (iv_ruleViewContentSet= ruleViewContentSet EOF )
+ // InternalRBAModel.g:8459:2: iv_ruleViewContentSet= ruleViewContentSet EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getViewContentSetRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleViewContentSet=ruleViewContentSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleViewContentSet;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleViewContentSet"
+
+
+ // $ANTLR start "ruleViewContentSet"
+ // InternalRBAModel.g:8465:1: ruleViewContentSet returns [EObject current=null] : ( () otherlv_1= 'ViewContentSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) ) otherlv_19= '}' ) ;
+ public final EObject ruleViewContentSet() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_12=null;
+ Token otherlv_13=null;
+ Token otherlv_14=null;
+ Token otherlv_16=null;
+ Token otherlv_18=null;
+ Token otherlv_19=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:8471:2: ( ( () otherlv_1= 'ViewContentSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) ) otherlv_19= '}' ) )
+ // InternalRBAModel.g:8472:2: ( () otherlv_1= 'ViewContentSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) ) otherlv_19= '}' )
+ {
+ // InternalRBAModel.g:8472:2: ( () otherlv_1= 'ViewContentSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) ) otherlv_19= '}' )
+ // InternalRBAModel.g:8473:3: () otherlv_1= 'ViewContentSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) ) otherlv_19= '}'
+ {
+ // InternalRBAModel.g:8473:3: ()
+ // InternalRBAModel.g:8474:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getViewContentSetAccess().getViewContentSetAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,135,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getViewContentSetAccess().getViewContentSetKeyword_1());
+
+ }
+ // InternalRBAModel.g:8484:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:8485:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8485:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:8486:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentSetRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_67); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getViewContentSetAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:8507:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:8508:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:8508:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) )
+ // InternalRBAModel.g:8509:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:8512:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* )
+ // InternalRBAModel.g:8513:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )*
+ {
+ // InternalRBAModel.g:8513:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )*
+ loop100:
+ do {
+ int alt100=4;
+ int LA100_0 = input.LA(1);
+
+ if ( LA100_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 0) ) {
+ alt100=1;
+ }
+ else if ( LA100_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 1) ) {
+ alt100=2;
+ }
+ else if ( LA100_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 2) ) {
+ alt100=3;
+ }
+
+
+ switch (alt100) {
+ case 1 :
+ // InternalRBAModel.g:8514:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:8514:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:8515:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContentSet", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:8515:111: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:8516:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:8519:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:8519:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContentSet", "true");
+ }
+ // InternalRBAModel.g:8519:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:8519:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getViewContentSetAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:8523:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:8524:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:8524:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:8525:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_67);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getViewContentSetRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:8548:4: ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) )
+ {
+ // InternalRBAModel.g:8548:4: ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) )
+ // InternalRBAModel.g:8549:5: {...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContentSet", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:8549:111: ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) )
+ // InternalRBAModel.g:8550:6: ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:8553:9: ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) )
+ // InternalRBAModel.g:8553:10: {...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContentSet", "true");
+ }
+ // InternalRBAModel.g:8553:19: (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' )
+ // InternalRBAModel.g:8553:20: otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']'
+ {
+ otherlv_7=(Token)match(input,55,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getViewContentSetAccess().getTargetKeyword_4_1_0());
+
+ }
+ otherlv_8=(Token)match(input,45,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getViewContentSetAccess().getLeftSquareBracketKeyword_4_1_1());
+
+ }
+ // InternalRBAModel.g:8561:9: ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )?
+ int alt97=2;
+ int LA97_0 = input.LA(1);
+
+ if ( (LA97_0==RULE_ID) ) {
+ alt97=1;
+ }
+ switch (alt97) {
+ case 1 :
+ // InternalRBAModel.g:8562:10: ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )*
+ {
+ // InternalRBAModel.g:8562:10: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:8563:11: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8563:11: ( ruleQualifiedName )
+ // InternalRBAModel.g:8564:12: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getViewContentSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getTargetAbstractContentCrossReference_4_1_2_0_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:8578:10: (otherlv_10= ',' ( ( ruleQualifiedName ) ) )*
+ loop96:
+ do {
+ int alt96=2;
+ int LA96_0 = input.LA(1);
+
+ if ( (LA96_0==27) ) {
+ alt96=1;
+ }
+
+
+ switch (alt96) {
+ case 1 :
+ // InternalRBAModel.g:8579:11: otherlv_10= ',' ( ( ruleQualifiedName ) )
+ {
+ otherlv_10=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getViewContentSetAccess().getCommaKeyword_4_1_2_1_0());
+
+ }
+ // InternalRBAModel.g:8583:11: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:8584:12: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8584:12: ( ruleQualifiedName )
+ // InternalRBAModel.g:8585:13: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getViewContentSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getTargetAbstractContentCrossReference_4_1_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop96;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_12=(Token)match(input,46,FOLLOW_67); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_12, grammarAccess.getViewContentSetAccess().getRightSquareBracketKeyword_4_1_3());
+
+ }
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:8611:4: ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) )
+ {
+ // InternalRBAModel.g:8611:4: ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) )
+ // InternalRBAModel.g:8612:5: {...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContentSet", "getUnorderedGroupHelper().canSelect(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 2)");
+ }
+ // InternalRBAModel.g:8612:111: ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) )
+ // InternalRBAModel.g:8613:6: ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4(), 2);
+ // InternalRBAModel.g:8616:9: ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) )
+ // InternalRBAModel.g:8616:10: {...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleViewContentSet", "true");
+ }
+ // InternalRBAModel.g:8616:19: (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' )
+ // InternalRBAModel.g:8616:20: otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']'
+ {
+ otherlv_13=(Token)match(input,44,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_13, grammarAccess.getViewContentSetAccess().getAllocatableKeyword_4_2_0());
+
+ }
+ otherlv_14=(Token)match(input,45,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_14, grammarAccess.getViewContentSetAccess().getLeftSquareBracketKeyword_4_2_1());
+
+ }
+ // InternalRBAModel.g:8624:9: ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )?
+ int alt99=2;
+ int LA99_0 = input.LA(1);
+
+ if ( (LA99_0==RULE_ID) ) {
+ alt99=1;
+ }
+ switch (alt99) {
+ case 1 :
+ // InternalRBAModel.g:8625:10: ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )*
+ {
+ // InternalRBAModel.g:8625:10: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:8626:11: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8626:11: ( ruleQualifiedName )
+ // InternalRBAModel.g:8627:12: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getViewContentSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_0_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:8641:10: (otherlv_16= ',' ( ( ruleQualifiedName ) ) )*
+ loop98:
+ do {
+ int alt98=2;
+ int LA98_0 = input.LA(1);
+
+ if ( (LA98_0==27) ) {
+ alt98=1;
+ }
+
+
+ switch (alt98) {
+ case 1 :
+ // InternalRBAModel.g:8642:11: otherlv_16= ',' ( ( ruleQualifiedName ) )
+ {
+ otherlv_16=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_16, grammarAccess.getViewContentSetAccess().getCommaKeyword_4_2_2_1_0());
+
+ }
+ // InternalRBAModel.g:8646:11: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:8647:12: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8647:12: ( ruleQualifiedName )
+ // InternalRBAModel.g:8648:13: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getViewContentSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getViewContentSetAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop98;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_18=(Token)match(input,46,FOLLOW_67); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_18, grammarAccess.getViewContentSetAccess().getRightSquareBracketKeyword_4_2_3());
+
+ }
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop100;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getViewContentSetAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_19=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_19, grammarAccess.getViewContentSetAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleViewContentSet"
+
+
+ // $ANTLR start "entryRuleSoundContentSet"
+ // InternalRBAModel.g:8689:1: entryRuleSoundContentSet returns [EObject current=null] : iv_ruleSoundContentSet= ruleSoundContentSet EOF ;
+ public final EObject entryRuleSoundContentSet() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleSoundContentSet = null;
+
+
+ try {
+ // InternalRBAModel.g:8689:56: (iv_ruleSoundContentSet= ruleSoundContentSet EOF )
+ // InternalRBAModel.g:8690:2: iv_ruleSoundContentSet= ruleSoundContentSet EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getSoundContentSetRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleSoundContentSet=ruleSoundContentSet();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleSoundContentSet;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleSoundContentSet"
+
+
+ // $ANTLR start "ruleSoundContentSet"
+ // InternalRBAModel.g:8696:1: ruleSoundContentSet returns [EObject current=null] : ( () otherlv_1= 'SoundContentSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) ) otherlv_19= '}' ) ;
+ public final EObject ruleSoundContentSet() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_12=null;
+ Token otherlv_13=null;
+ Token otherlv_14=null;
+ Token otherlv_16=null;
+ Token otherlv_18=null;
+ Token otherlv_19=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:8702:2: ( ( () otherlv_1= 'SoundContentSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) ) otherlv_19= '}' ) )
+ // InternalRBAModel.g:8703:2: ( () otherlv_1= 'SoundContentSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) ) otherlv_19= '}' )
+ {
+ // InternalRBAModel.g:8703:2: ( () otherlv_1= 'SoundContentSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) ) otherlv_19= '}' )
+ // InternalRBAModel.g:8704:3: () otherlv_1= 'SoundContentSet' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) ) otherlv_19= '}'
+ {
+ // InternalRBAModel.g:8704:3: ()
+ // InternalRBAModel.g:8705:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getSoundContentSetAccess().getSoundContentSetAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,136,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getSoundContentSetAccess().getSoundContentSetKeyword_1());
+
+ }
+ // InternalRBAModel.g:8715:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:8716:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8716:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:8717:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSoundContentSetRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_67); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getSoundContentSetAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:8738:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:8739:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:8739:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* ) )
+ // InternalRBAModel.g:8740:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:8743:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )* )
+ // InternalRBAModel.g:8744:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )*
+ {
+ // InternalRBAModel.g:8744:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) ) | ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) ) )*
+ loop105:
+ do {
+ int alt105=4;
+ int LA105_0 = input.LA(1);
+
+ if ( LA105_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 0) ) {
+ alt105=1;
+ }
+ else if ( LA105_0 == 55 && getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 1) ) {
+ alt105=2;
+ }
+ else if ( LA105_0 == 44 && getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 2) ) {
+ alt105=3;
+ }
+
+
+ switch (alt105) {
+ case 1 :
+ // InternalRBAModel.g:8745:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:8745:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:8746:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContentSet", "getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:8746:112: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:8747:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:8750:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:8750:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContentSet", "true");
+ }
+ // InternalRBAModel.g:8750:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:8750:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getSoundContentSetAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:8754:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:8755:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:8755:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:8756:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_67);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSoundContentSetRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:8779:4: ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) )
+ {
+ // InternalRBAModel.g:8779:4: ({...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) ) )
+ // InternalRBAModel.g:8780:5: {...}? => ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContentSet", "getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:8780:112: ( ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) ) )
+ // InternalRBAModel.g:8781:6: ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:8784:9: ({...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' ) )
+ // InternalRBAModel.g:8784:10: {...}? => (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContentSet", "true");
+ }
+ // InternalRBAModel.g:8784:19: (otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']' )
+ // InternalRBAModel.g:8784:20: otherlv_7= 'target:' otherlv_8= '[' ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_12= ']'
+ {
+ otherlv_7=(Token)match(input,55,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getSoundContentSetAccess().getTargetKeyword_4_1_0());
+
+ }
+ otherlv_8=(Token)match(input,45,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getSoundContentSetAccess().getLeftSquareBracketKeyword_4_1_1());
+
+ }
+ // InternalRBAModel.g:8792:9: ( ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )* )?
+ int alt102=2;
+ int LA102_0 = input.LA(1);
+
+ if ( (LA102_0==RULE_ID) ) {
+ alt102=1;
+ }
+ switch (alt102) {
+ case 1 :
+ // InternalRBAModel.g:8793:10: ( ( ruleQualifiedName ) ) (otherlv_10= ',' ( ( ruleQualifiedName ) ) )*
+ {
+ // InternalRBAModel.g:8793:10: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:8794:11: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8794:11: ( ruleQualifiedName )
+ // InternalRBAModel.g:8795:12: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSoundContentSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getTargetAbstractContentCrossReference_4_1_2_0_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:8809:10: (otherlv_10= ',' ( ( ruleQualifiedName ) ) )*
+ loop101:
+ do {
+ int alt101=2;
+ int LA101_0 = input.LA(1);
+
+ if ( (LA101_0==27) ) {
+ alt101=1;
+ }
+
+
+ switch (alt101) {
+ case 1 :
+ // InternalRBAModel.g:8810:11: otherlv_10= ',' ( ( ruleQualifiedName ) )
+ {
+ otherlv_10=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getSoundContentSetAccess().getCommaKeyword_4_1_2_1_0());
+
+ }
+ // InternalRBAModel.g:8814:11: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:8815:12: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8815:12: ( ruleQualifiedName )
+ // InternalRBAModel.g:8816:13: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSoundContentSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getTargetAbstractContentCrossReference_4_1_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop101;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_12=(Token)match(input,46,FOLLOW_67); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_12, grammarAccess.getSoundContentSetAccess().getRightSquareBracketKeyword_4_1_3());
+
+ }
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:8842:4: ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) )
+ {
+ // InternalRBAModel.g:8842:4: ({...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) ) )
+ // InternalRBAModel.g:8843:5: {...}? => ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContentSet", "getUnorderedGroupHelper().canSelect(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 2)");
+ }
+ // InternalRBAModel.g:8843:112: ( ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) ) )
+ // InternalRBAModel.g:8844:6: ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4(), 2);
+ // InternalRBAModel.g:8847:9: ({...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' ) )
+ // InternalRBAModel.g:8847:10: {...}? => (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleSoundContentSet", "true");
+ }
+ // InternalRBAModel.g:8847:19: (otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']' )
+ // InternalRBAModel.g:8847:20: otherlv_13= 'allocatable:' otherlv_14= '[' ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_18= ']'
+ {
+ otherlv_13=(Token)match(input,44,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_13, grammarAccess.getSoundContentSetAccess().getAllocatableKeyword_4_2_0());
+
+ }
+ otherlv_14=(Token)match(input,45,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_14, grammarAccess.getSoundContentSetAccess().getLeftSquareBracketKeyword_4_2_1());
+
+ }
+ // InternalRBAModel.g:8855:9: ( ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )* )?
+ int alt104=2;
+ int LA104_0 = input.LA(1);
+
+ if ( (LA104_0==RULE_ID) ) {
+ alt104=1;
+ }
+ switch (alt104) {
+ case 1 :
+ // InternalRBAModel.g:8856:10: ( ( ruleQualifiedName ) ) (otherlv_16= ',' ( ( ruleQualifiedName ) ) )*
+ {
+ // InternalRBAModel.g:8856:10: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:8857:11: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8857:11: ( ruleQualifiedName )
+ // InternalRBAModel.g:8858:12: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSoundContentSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_0_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:8872:10: (otherlv_16= ',' ( ( ruleQualifiedName ) ) )*
+ loop103:
+ do {
+ int alt103=2;
+ int LA103_0 = input.LA(1);
+
+ if ( (LA103_0==27) ) {
+ alt103=1;
+ }
+
+
+ switch (alt103) {
+ case 1 :
+ // InternalRBAModel.g:8873:11: otherlv_16= ',' ( ( ruleQualifiedName ) )
+ {
+ otherlv_16=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_16, grammarAccess.getSoundContentSetAccess().getCommaKeyword_4_2_2_1_0());
+
+ }
+ // InternalRBAModel.g:8877:11: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:8878:12: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8878:12: ( ruleQualifiedName )
+ // InternalRBAModel.g:8879:13: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getSoundContentSetRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundContentSetAccess().getAllocatableAbstractAllocatableCrossReference_4_2_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop103;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_18=(Token)match(input,46,FOLLOW_67); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_18, grammarAccess.getSoundContentSetAccess().getRightSquareBracketKeyword_4_2_3());
+
+ }
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop105;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getSoundContentSetAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_19=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_19, grammarAccess.getSoundContentSetAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleSoundContentSet"
+
+
+ // $ANTLR start "entryRuleScene"
+ // InternalRBAModel.g:8920:1: entryRuleScene returns [EObject current=null] : iv_ruleScene= ruleScene EOF ;
+ public final EObject entryRuleScene() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleScene = null;
+
+
+ try {
+ // InternalRBAModel.g:8920:46: (iv_ruleScene= ruleScene EOF )
+ // InternalRBAModel.g:8921:2: iv_ruleScene= ruleScene EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getSceneRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleScene=ruleScene();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleScene;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleScene"
+
+
+ // $ANTLR start "ruleScene"
+ // InternalRBAModel.g:8927:1: ruleScene returns [EObject current=null] : ( () otherlv_1= 'Scene' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )* ) ) ) otherlv_10= '}' ) ;
+ public final EObject ruleScene() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_3=null;
+ Token otherlv_5=null;
+ Token otherlv_7=null;
+ Token otherlv_10=null;
+ AntlrDatatypeRuleToken lv_name_2_0 = null;
+
+ AntlrDatatypeRuleToken lv_description_6_0 = null;
+
+ AntlrDatatypeRuleToken lv_global_8_0 = null;
+
+ EObject lv_properties_9_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:8933:2: ( ( () otherlv_1= 'Scene' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )* ) ) ) otherlv_10= '}' ) )
+ // InternalRBAModel.g:8934:2: ( () otherlv_1= 'Scene' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )* ) ) ) otherlv_10= '}' )
+ {
+ // InternalRBAModel.g:8934:2: ( () otherlv_1= 'Scene' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )* ) ) ) otherlv_10= '}' )
+ // InternalRBAModel.g:8935:3: () otherlv_1= 'Scene' ( (lv_name_2_0= ruleQualifiedName ) ) otherlv_3= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )* ) ) ) otherlv_10= '}'
+ {
+ // InternalRBAModel.g:8935:3: ()
+ // InternalRBAModel.g:8936:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getSceneAccess().getSceneAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,137,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getSceneAccess().getSceneKeyword_1());
+
+ }
+ // InternalRBAModel.g:8946:3: ( (lv_name_2_0= ruleQualifiedName ) )
+ // InternalRBAModel.g:8947:4: (lv_name_2_0= ruleQualifiedName )
+ {
+ // InternalRBAModel.g:8947:4: (lv_name_2_0= ruleQualifiedName )
+ // InternalRBAModel.g:8948:5: lv_name_2_0= ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSceneAccess().getNameQualifiedNameParserRuleCall_2_0());
+
+ }
+ pushFollow(FOLLOW_15);
+ lv_name_2_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSceneRule());
+ }
+ set(
+ current,
+ "name",
+ lv_name_2_0,
+ "rba.tool.editor.RBAModel.QualifiedName");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ otherlv_3=(Token)match(input,26,FOLLOW_68); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_3, grammarAccess.getSceneAccess().getLeftCurlyBracketKeyword_3());
+
+ }
+ // InternalRBAModel.g:8969:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )* ) ) )
+ // InternalRBAModel.g:8970:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )* ) )
+ {
+ // InternalRBAModel.g:8970:4: ( ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )* ) )
+ // InternalRBAModel.g:8971:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getSceneAccess().getUnorderedGroup_4());
+ // InternalRBAModel.g:8974:5: ( ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )* )
+ // InternalRBAModel.g:8975:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )*
+ {
+ // InternalRBAModel.g:8975:6: ( ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) ) )*
+ loop107:
+ do {
+ int alt107=4;
+ int LA107_0 = input.LA(1);
+
+ if ( LA107_0 == 30 && getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 0) ) {
+ alt107=1;
+ }
+ else if ( LA107_0 == 138 && getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 1) ) {
+ alt107=2;
+ }
+ else if ( LA107_0 == 20 && getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 2) ) {
+ alt107=3;
+ }
+
+
+ switch (alt107) {
+ case 1 :
+ // InternalRBAModel.g:8976:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:8976:4: ({...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) ) )
+ // InternalRBAModel.g:8977:5: {...}? => ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleScene", "getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 0)");
+ }
+ // InternalRBAModel.g:8977:102: ( ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) ) )
+ // InternalRBAModel.g:8978:6: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 0);
+ // InternalRBAModel.g:8981:9: ({...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) ) )
+ // InternalRBAModel.g:8981:10: {...}? => (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleScene", "true");
+ }
+ // InternalRBAModel.g:8981:19: (otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) ) )
+ // InternalRBAModel.g:8981:20: otherlv_5= 'description:' ( (lv_description_6_0= ruleEString ) )
+ {
+ otherlv_5=(Token)match(input,30,FOLLOW_14); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_5, grammarAccess.getSceneAccess().getDescriptionKeyword_4_0_0());
+
+ }
+ // InternalRBAModel.g:8985:9: ( (lv_description_6_0= ruleEString ) )
+ // InternalRBAModel.g:8986:10: (lv_description_6_0= ruleEString )
+ {
+ // InternalRBAModel.g:8986:10: (lv_description_6_0= ruleEString )
+ // InternalRBAModel.g:8987:11: lv_description_6_0= ruleEString
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSceneAccess().getDescriptionEStringParserRuleCall_4_0_1_0());
+
+ }
+ pushFollow(FOLLOW_68);
+ lv_description_6_0=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSceneRule());
+ }
+ set(
+ current,
+ "description",
+ lv_description_6_0,
+ "rba.tool.editor.RBAModel.EString");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSceneAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:9010:4: ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:9010:4: ({...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) ) )
+ // InternalRBAModel.g:9011:5: {...}? => ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleScene", "getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 1)");
+ }
+ // InternalRBAModel.g:9011:102: ( ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) ) )
+ // InternalRBAModel.g:9012:6: ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 1);
+ // InternalRBAModel.g:9015:9: ({...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) ) )
+ // InternalRBAModel.g:9015:10: {...}? => (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleScene", "true");
+ }
+ // InternalRBAModel.g:9015:19: (otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) ) )
+ // InternalRBAModel.g:9015:20: otherlv_7= 'global:' ( (lv_global_8_0= ruleEBoolean ) )
+ {
+ otherlv_7=(Token)match(input,138,FOLLOW_26); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getSceneAccess().getGlobalKeyword_4_1_0());
+
+ }
+ // InternalRBAModel.g:9019:9: ( (lv_global_8_0= ruleEBoolean ) )
+ // InternalRBAModel.g:9020:10: (lv_global_8_0= ruleEBoolean )
+ {
+ // InternalRBAModel.g:9020:10: (lv_global_8_0= ruleEBoolean )
+ // InternalRBAModel.g:9021:11: lv_global_8_0= ruleEBoolean
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSceneAccess().getGlobalEBooleanParserRuleCall_4_1_1_0());
+
+ }
+ pushFollow(FOLLOW_68);
+ lv_global_8_0=ruleEBoolean();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSceneRule());
+ }
+ set(
+ current,
+ "global",
+ lv_global_8_0,
+ "rba.tool.editor.RBAModel.EBoolean");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSceneAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:9044:4: ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) )
+ {
+ // InternalRBAModel.g:9044:4: ({...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ ) )
+ // InternalRBAModel.g:9045:5: {...}? => ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleScene", "getUnorderedGroupHelper().canSelect(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 2)");
+ }
+ // InternalRBAModel.g:9045:102: ( ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+ )
+ // InternalRBAModel.g:9046:6: ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getSceneAccess().getUnorderedGroup_4(), 2);
+ // InternalRBAModel.g:9049:9: ({...}? => ( (lv_properties_9_0= ruleAbstractProperty ) ) )+
+ int cnt106=0;
+ loop106:
+ do {
+ int alt106=2;
+ int LA106_0 = input.LA(1);
+
+ if ( (LA106_0==20) ) {
+ int LA106_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt106=1;
+ }
+
+
+ }
+
+
+ switch (alt106) {
+ case 1 :
+ // InternalRBAModel.g:9049:10: {...}? => ( (lv_properties_9_0= ruleAbstractProperty ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleScene", "true");
+ }
+ // InternalRBAModel.g:9049:19: ( (lv_properties_9_0= ruleAbstractProperty ) )
+ // InternalRBAModel.g:9049:20: (lv_properties_9_0= ruleAbstractProperty )
+ {
+ // InternalRBAModel.g:9049:20: (lv_properties_9_0= ruleAbstractProperty )
+ // InternalRBAModel.g:9050:10: lv_properties_9_0= ruleAbstractProperty
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSceneAccess().getPropertiesAbstractPropertyParserRuleCall_4_2_0());
+
+ }
+ pushFollow(FOLLOW_68);
+ lv_properties_9_0=ruleAbstractProperty();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getSceneRule());
+ }
+ add(
+ current,
+ "properties",
+ lv_properties_9_0,
+ "rba.tool.editor.RBAModel.AbstractProperty");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt106 >= 1 ) break loop106;
+ if (state.backtracking>0) {state.failed=true; return current;}
+ EarlyExitException eee =
+ new EarlyExitException(106, input);
+ throw eee;
+ }
+ cnt106++;
+ } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getSceneAccess().getUnorderedGroup_4());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop107;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getSceneAccess().getUnorderedGroup_4());
+
+ }
+
+ otherlv_10=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getSceneAccess().getRightCurlyBracketKeyword_5());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleScene"
+
+
+ // $ANTLR start "entryRuleVerticalLayout"
+ // InternalRBAModel.g:9087:1: entryRuleVerticalLayout returns [EObject current=null] : iv_ruleVerticalLayout= ruleVerticalLayout EOF ;
+ public final EObject entryRuleVerticalLayout() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleVerticalLayout = null;
+
+
+ try {
+ // InternalRBAModel.g:9087:55: (iv_ruleVerticalLayout= ruleVerticalLayout EOF )
+ // InternalRBAModel.g:9088:2: iv_ruleVerticalLayout= ruleVerticalLayout EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getVerticalLayoutRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleVerticalLayout=ruleVerticalLayout();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleVerticalLayout;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleVerticalLayout"
+
+
+ // $ANTLR start "ruleVerticalLayout"
+ // InternalRBAModel.g:9094:1: ruleVerticalLayout returns [EObject current=null] : ( () otherlv_1= 'VerticalLayout' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) ) otherlv_12= '}' ) ;
+ public final EObject ruleVerticalLayout() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ Token otherlv_7=null;
+ Token otherlv_9=null;
+ Token otherlv_11=null;
+ Token otherlv_12=null;
+ Enumerator lv_basePoint_5_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9100:2: ( ( () otherlv_1= 'VerticalLayout' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) ) otherlv_12= '}' ) )
+ // InternalRBAModel.g:9101:2: ( () otherlv_1= 'VerticalLayout' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) ) otherlv_12= '}' )
+ {
+ // InternalRBAModel.g:9101:2: ( () otherlv_1= 'VerticalLayout' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) ) otherlv_12= '}' )
+ // InternalRBAModel.g:9102:3: () otherlv_1= 'VerticalLayout' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) ) otherlv_12= '}'
+ {
+ // InternalRBAModel.g:9102:3: ()
+ // InternalRBAModel.g:9103:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getVerticalLayoutAccess().getVerticalLayoutAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,139,FOLLOW_15); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getVerticalLayoutAccess().getVerticalLayoutKeyword_1());
+
+ }
+ otherlv_2=(Token)match(input,26,FOLLOW_69); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getVerticalLayoutAccess().getLeftCurlyBracketKeyword_2());
+
+ }
+ // InternalRBAModel.g:9117:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:9118:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:9118:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) )
+ // InternalRBAModel.g:9119:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3());
+ // InternalRBAModel.g:9122:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* )
+ // InternalRBAModel.g:9123:6: ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )*
+ {
+ // InternalRBAModel.g:9123:6: ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )*
+ loop110:
+ do {
+ int alt110=3;
+ int LA110_0 = input.LA(1);
+
+ if ( LA110_0 == 140 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 0) ) {
+ alt110=1;
+ }
+ else if ( LA110_0 == 141 && getUnorderedGroupHelper().canSelect(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 1) ) {
+ alt110=2;
+ }
+
+
+ switch (alt110) {
+ case 1 :
+ // InternalRBAModel.g:9124:4: ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:9124:4: ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) )
+ // InternalRBAModel.g:9125:5: {...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleVerticalLayout", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 0)");
+ }
+ // InternalRBAModel.g:9125:111: ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) )
+ // InternalRBAModel.g:9126:6: ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 0);
+ // InternalRBAModel.g:9129:9: ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) )
+ // InternalRBAModel.g:9129:10: {...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleVerticalLayout", "true");
+ }
+ // InternalRBAModel.g:9129:19: (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) )
+ // InternalRBAModel.g:9129:20: otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) )
+ {
+ otherlv_4=(Token)match(input,140,FOLLOW_70); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getVerticalLayoutAccess().getBasePointKeyword_3_0_0());
+
+ }
+ // InternalRBAModel.g:9133:9: ( (lv_basePoint_5_0= ruleBasePoint ) )
+ // InternalRBAModel.g:9134:10: (lv_basePoint_5_0= ruleBasePoint )
+ {
+ // InternalRBAModel.g:9134:10: (lv_basePoint_5_0= ruleBasePoint )
+ // InternalRBAModel.g:9135:11: lv_basePoint_5_0= ruleBasePoint
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVerticalLayoutAccess().getBasePointBasePointEnumRuleCall_3_0_1_0());
+
+ }
+ pushFollow(FOLLOW_69);
+ lv_basePoint_5_0=ruleBasePoint();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getVerticalLayoutRule());
+ }
+ set(
+ current,
+ "basePoint",
+ lv_basePoint_5_0,
+ "rba.tool.editor.RBAModel.BasePoint");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:9158:4: ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) )
+ {
+ // InternalRBAModel.g:9158:4: ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) )
+ // InternalRBAModel.g:9159:5: {...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleVerticalLayout", "getUnorderedGroupHelper().canSelect(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 1)");
+ }
+ // InternalRBAModel.g:9159:111: ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) )
+ // InternalRBAModel.g:9160:6: ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3(), 1);
+ // InternalRBAModel.g:9163:9: ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) )
+ // InternalRBAModel.g:9163:10: {...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleVerticalLayout", "true");
+ }
+ // InternalRBAModel.g:9163:19: (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' )
+ // InternalRBAModel.g:9163:20: otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']'
+ {
+ otherlv_6=(Token)match(input,141,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getVerticalLayoutAccess().getSubareaKeyword_3_1_0());
+
+ }
+ otherlv_7=(Token)match(input,45,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getVerticalLayoutAccess().getLeftSquareBracketKeyword_3_1_1());
+
+ }
+ // InternalRBAModel.g:9171:9: ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )?
+ int alt109=2;
+ int LA109_0 = input.LA(1);
+
+ if ( (LA109_0==RULE_ID) ) {
+ alt109=1;
+ }
+ switch (alt109) {
+ case 1 :
+ // InternalRBAModel.g:9172:10: ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )*
+ {
+ // InternalRBAModel.g:9172:10: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:9173:11: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:9173:11: ( ruleQualifiedName )
+ // InternalRBAModel.g:9174:12: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getVerticalLayoutRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVerticalLayoutAccess().getSubareaAreaCrossReference_3_1_2_0_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:9188:10: (otherlv_9= ',' ( ( ruleQualifiedName ) ) )*
+ loop108:
+ do {
+ int alt108=2;
+ int LA108_0 = input.LA(1);
+
+ if ( (LA108_0==27) ) {
+ alt108=1;
+ }
+
+
+ switch (alt108) {
+ case 1 :
+ // InternalRBAModel.g:9189:11: otherlv_9= ',' ( ( ruleQualifiedName ) )
+ {
+ otherlv_9=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_9, grammarAccess.getVerticalLayoutAccess().getCommaKeyword_3_1_2_1_0());
+
+ }
+ // InternalRBAModel.g:9193:11: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:9194:12: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:9194:12: ( ruleQualifiedName )
+ // InternalRBAModel.g:9195:13: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getVerticalLayoutRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getVerticalLayoutAccess().getSubareaAreaCrossReference_3_1_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop108;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_11=(Token)match(input,46,FOLLOW_69); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_11, grammarAccess.getVerticalLayoutAccess().getRightSquareBracketKeyword_3_1_3());
+
+ }
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop110;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getVerticalLayoutAccess().getUnorderedGroup_3());
+
+ }
+
+ otherlv_12=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_12, grammarAccess.getVerticalLayoutAccess().getRightCurlyBracketKeyword_4());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleVerticalLayout"
+
+
+ // $ANTLR start "entryRuleHorizontalLayout"
+ // InternalRBAModel.g:9236:1: entryRuleHorizontalLayout returns [EObject current=null] : iv_ruleHorizontalLayout= ruleHorizontalLayout EOF ;
+ public final EObject entryRuleHorizontalLayout() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleHorizontalLayout = null;
+
+
+ try {
+ // InternalRBAModel.g:9236:57: (iv_ruleHorizontalLayout= ruleHorizontalLayout EOF )
+ // InternalRBAModel.g:9237:2: iv_ruleHorizontalLayout= ruleHorizontalLayout EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getHorizontalLayoutRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleHorizontalLayout=ruleHorizontalLayout();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleHorizontalLayout;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleHorizontalLayout"
+
+
+ // $ANTLR start "ruleHorizontalLayout"
+ // InternalRBAModel.g:9243:1: ruleHorizontalLayout returns [EObject current=null] : ( () otherlv_1= 'HorizontalLayout' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) ) otherlv_12= '}' ) ;
+ public final EObject ruleHorizontalLayout() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ Token otherlv_7=null;
+ Token otherlv_9=null;
+ Token otherlv_11=null;
+ Token otherlv_12=null;
+ Enumerator lv_basePoint_5_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9249:2: ( ( () otherlv_1= 'HorizontalLayout' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) ) otherlv_12= '}' ) )
+ // InternalRBAModel.g:9250:2: ( () otherlv_1= 'HorizontalLayout' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) ) otherlv_12= '}' )
+ {
+ // InternalRBAModel.g:9250:2: ( () otherlv_1= 'HorizontalLayout' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) ) otherlv_12= '}' )
+ // InternalRBAModel.g:9251:3: () otherlv_1= 'HorizontalLayout' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) ) otherlv_12= '}'
+ {
+ // InternalRBAModel.g:9251:3: ()
+ // InternalRBAModel.g:9252:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getHorizontalLayoutAccess().getHorizontalLayoutAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,142,FOLLOW_15); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getHorizontalLayoutAccess().getHorizontalLayoutKeyword_1());
+
+ }
+ otherlv_2=(Token)match(input,26,FOLLOW_69); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getHorizontalLayoutAccess().getLeftCurlyBracketKeyword_2());
+
+ }
+ // InternalRBAModel.g:9266:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) ) )
+ // InternalRBAModel.g:9267:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) )
+ {
+ // InternalRBAModel.g:9267:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* ) )
+ // InternalRBAModel.g:9268:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3());
+ // InternalRBAModel.g:9271:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )* )
+ // InternalRBAModel.g:9272:6: ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )*
+ {
+ // InternalRBAModel.g:9272:6: ( ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) ) )*
+ loop113:
+ do {
+ int alt113=3;
+ int LA113_0 = input.LA(1);
+
+ if ( LA113_0 == 140 && getUnorderedGroupHelper().canSelect(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 0) ) {
+ alt113=1;
+ }
+ else if ( LA113_0 == 141 && getUnorderedGroupHelper().canSelect(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 1) ) {
+ alt113=2;
+ }
+
+
+ switch (alt113) {
+ case 1 :
+ // InternalRBAModel.g:9273:4: ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:9273:4: ({...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) ) )
+ // InternalRBAModel.g:9274:5: {...}? => ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleHorizontalLayout", "getUnorderedGroupHelper().canSelect(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 0)");
+ }
+ // InternalRBAModel.g:9274:113: ( ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) ) )
+ // InternalRBAModel.g:9275:6: ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 0);
+ // InternalRBAModel.g:9278:9: ({...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) ) )
+ // InternalRBAModel.g:9278:10: {...}? => (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleHorizontalLayout", "true");
+ }
+ // InternalRBAModel.g:9278:19: (otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) ) )
+ // InternalRBAModel.g:9278:20: otherlv_4= 'basePoint:' ( (lv_basePoint_5_0= ruleBasePoint ) )
+ {
+ otherlv_4=(Token)match(input,140,FOLLOW_70); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getHorizontalLayoutAccess().getBasePointKeyword_3_0_0());
+
+ }
+ // InternalRBAModel.g:9282:9: ( (lv_basePoint_5_0= ruleBasePoint ) )
+ // InternalRBAModel.g:9283:10: (lv_basePoint_5_0= ruleBasePoint )
+ {
+ // InternalRBAModel.g:9283:10: (lv_basePoint_5_0= ruleBasePoint )
+ // InternalRBAModel.g:9284:11: lv_basePoint_5_0= ruleBasePoint
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getHorizontalLayoutAccess().getBasePointBasePointEnumRuleCall_3_0_1_0());
+
+ }
+ pushFollow(FOLLOW_69);
+ lv_basePoint_5_0=ruleBasePoint();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getHorizontalLayoutRule());
+ }
+ set(
+ current,
+ "basePoint",
+ lv_basePoint_5_0,
+ "rba.tool.editor.RBAModel.BasePoint");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:9307:4: ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) )
+ {
+ // InternalRBAModel.g:9307:4: ({...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) ) )
+ // InternalRBAModel.g:9308:5: {...}? => ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleHorizontalLayout", "getUnorderedGroupHelper().canSelect(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 1)");
+ }
+ // InternalRBAModel.g:9308:113: ( ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) ) )
+ // InternalRBAModel.g:9309:6: ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3(), 1);
+ // InternalRBAModel.g:9312:9: ({...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' ) )
+ // InternalRBAModel.g:9312:10: {...}? => (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "ruleHorizontalLayout", "true");
+ }
+ // InternalRBAModel.g:9312:19: (otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']' )
+ // InternalRBAModel.g:9312:20: otherlv_6= 'subarea:' otherlv_7= '[' ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )? otherlv_11= ']'
+ {
+ otherlv_6=(Token)match(input,141,FOLLOW_29); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getHorizontalLayoutAccess().getSubareaKeyword_3_1_0());
+
+ }
+ otherlv_7=(Token)match(input,45,FOLLOW_30); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_7, grammarAccess.getHorizontalLayoutAccess().getLeftSquareBracketKeyword_3_1_1());
+
+ }
+ // InternalRBAModel.g:9320:9: ( ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )* )?
+ int alt112=2;
+ int LA112_0 = input.LA(1);
+
+ if ( (LA112_0==RULE_ID) ) {
+ alt112=1;
+ }
+ switch (alt112) {
+ case 1 :
+ // InternalRBAModel.g:9321:10: ( ( ruleQualifiedName ) ) (otherlv_9= ',' ( ( ruleQualifiedName ) ) )*
+ {
+ // InternalRBAModel.g:9321:10: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:9322:11: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:9322:11: ( ruleQualifiedName )
+ // InternalRBAModel.g:9323:12: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getHorizontalLayoutRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getHorizontalLayoutAccess().getSubareaAreaCrossReference_3_1_2_0_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+ // InternalRBAModel.g:9337:10: (otherlv_9= ',' ( ( ruleQualifiedName ) ) )*
+ loop111:
+ do {
+ int alt111=2;
+ int LA111_0 = input.LA(1);
+
+ if ( (LA111_0==27) ) {
+ alt111=1;
+ }
+
+
+ switch (alt111) {
+ case 1 :
+ // InternalRBAModel.g:9338:11: otherlv_9= ',' ( ( ruleQualifiedName ) )
+ {
+ otherlv_9=(Token)match(input,27,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_9, grammarAccess.getHorizontalLayoutAccess().getCommaKeyword_3_1_2_1_0());
+
+ }
+ // InternalRBAModel.g:9342:11: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:9343:12: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:9343:12: ( ruleQualifiedName )
+ // InternalRBAModel.g:9344:13: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getHorizontalLayoutRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getHorizontalLayoutAccess().getSubareaAreaCrossReference_3_1_2_1_1_0());
+
+ }
+ pushFollow(FOLLOW_31);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop111;
+ }
+ } while (true);
+
+
+ }
+ break;
+
+ }
+
+ otherlv_11=(Token)match(input,46,FOLLOW_69); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_11, grammarAccess.getHorizontalLayoutAccess().getRightSquareBracketKeyword_3_1_3());
+
+ }
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop113;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getHorizontalLayoutAccess().getUnorderedGroup_3());
+
+ }
+
+ otherlv_12=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_12, grammarAccess.getHorizontalLayoutAccess().getRightCurlyBracketKeyword_4());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleHorizontalLayout"
+
+
+ // $ANTLR start "entryRuleFixedPositionLayout"
+ // InternalRBAModel.g:9385:1: entryRuleFixedPositionLayout returns [EObject current=null] : iv_ruleFixedPositionLayout= ruleFixedPositionLayout EOF ;
+ public final EObject entryRuleFixedPositionLayout() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_ruleFixedPositionLayout = null;
+
+
+ try {
+ // InternalRBAModel.g:9385:60: (iv_ruleFixedPositionLayout= ruleFixedPositionLayout EOF )
+ // InternalRBAModel.g:9386:2: iv_ruleFixedPositionLayout= ruleFixedPositionLayout EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getFixedPositionLayoutRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleFixedPositionLayout=ruleFixedPositionLayout();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleFixedPositionLayout;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleFixedPositionLayout"
+
+
+ // $ANTLR start "ruleFixedPositionLayout"
+ // InternalRBAModel.g:9392:1: ruleFixedPositionLayout returns [EObject current=null] : ( () otherlv_1= 'FixedPositionLayout' otherlv_2= '{' ( (lv_subAreaPosition_3_0= rulePositionContainer ) )* otherlv_4= '}' ) ;
+ public final EObject ruleFixedPositionLayout() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ EObject lv_subAreaPosition_3_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9398:2: ( ( () otherlv_1= 'FixedPositionLayout' otherlv_2= '{' ( (lv_subAreaPosition_3_0= rulePositionContainer ) )* otherlv_4= '}' ) )
+ // InternalRBAModel.g:9399:2: ( () otherlv_1= 'FixedPositionLayout' otherlv_2= '{' ( (lv_subAreaPosition_3_0= rulePositionContainer ) )* otherlv_4= '}' )
+ {
+ // InternalRBAModel.g:9399:2: ( () otherlv_1= 'FixedPositionLayout' otherlv_2= '{' ( (lv_subAreaPosition_3_0= rulePositionContainer ) )* otherlv_4= '}' )
+ // InternalRBAModel.g:9400:3: () otherlv_1= 'FixedPositionLayout' otherlv_2= '{' ( (lv_subAreaPosition_3_0= rulePositionContainer ) )* otherlv_4= '}'
+ {
+ // InternalRBAModel.g:9400:3: ()
+ // InternalRBAModel.g:9401:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getFixedPositionLayoutAccess().getFixedPositionLayoutAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,143,FOLLOW_15); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getFixedPositionLayoutAccess().getFixedPositionLayoutKeyword_1());
+
+ }
+ otherlv_2=(Token)match(input,26,FOLLOW_71); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getFixedPositionLayoutAccess().getLeftCurlyBracketKeyword_2());
+
+ }
+ // InternalRBAModel.g:9415:3: ( (lv_subAreaPosition_3_0= rulePositionContainer ) )*
+ loop114:
+ do {
+ int alt114=2;
+ int LA114_0 = input.LA(1);
+
+ if ( (LA114_0==144) ) {
+ alt114=1;
+ }
+
+
+ switch (alt114) {
+ case 1 :
+ // InternalRBAModel.g:9416:4: (lv_subAreaPosition_3_0= rulePositionContainer )
+ {
+ // InternalRBAModel.g:9416:4: (lv_subAreaPosition_3_0= rulePositionContainer )
+ // InternalRBAModel.g:9417:5: lv_subAreaPosition_3_0= rulePositionContainer
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getFixedPositionLayoutAccess().getSubAreaPositionPositionContainerParserRuleCall_3_0());
+
+ }
+ pushFollow(FOLLOW_71);
+ lv_subAreaPosition_3_0=rulePositionContainer();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getFixedPositionLayoutRule());
+ }
+ add(
+ current,
+ "subAreaPosition",
+ lv_subAreaPosition_3_0,
+ "rba.tool.editor.RBAModel.PositionContainer");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop114;
+ }
+ } while (true);
+
+ otherlv_4=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getFixedPositionLayoutAccess().getRightCurlyBracketKeyword_4());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleFixedPositionLayout"
+
+
+ // $ANTLR start "entryRulePositionContainer"
+ // InternalRBAModel.g:9442:1: entryRulePositionContainer returns [EObject current=null] : iv_rulePositionContainer= rulePositionContainer EOF ;
+ public final EObject entryRulePositionContainer() throws RecognitionException {
+ EObject current = null;
+
+ EObject iv_rulePositionContainer = null;
+
+
+ try {
+ // InternalRBAModel.g:9442:58: (iv_rulePositionContainer= rulePositionContainer EOF )
+ // InternalRBAModel.g:9443:2: iv_rulePositionContainer= rulePositionContainer EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getPositionContainerRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_rulePositionContainer=rulePositionContainer();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_rulePositionContainer;
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRulePositionContainer"
+
+
+ // $ANTLR start "rulePositionContainer"
+ // InternalRBAModel.g:9449:1: rulePositionContainer returns [EObject current=null] : ( () otherlv_1= 'PositionContainer' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )* ) ) ) otherlv_13= '}' ) ;
+ public final EObject rulePositionContainer() throws RecognitionException {
+ EObject current = null;
+
+ Token otherlv_1=null;
+ Token otherlv_2=null;
+ Token otherlv_4=null;
+ Token otherlv_6=null;
+ Token otherlv_8=null;
+ Token otherlv_10=null;
+ Token otherlv_13=null;
+ AntlrDatatypeRuleToken lv_x_5_0 = null;
+
+ AntlrDatatypeRuleToken lv_y_7_0 = null;
+
+ Enumerator lv_basePoint_9_0 = null;
+
+ EObject lv_offset_12_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9455:2: ( ( () otherlv_1= 'PositionContainer' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )* ) ) ) otherlv_13= '}' ) )
+ // InternalRBAModel.g:9456:2: ( () otherlv_1= 'PositionContainer' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )* ) ) ) otherlv_13= '}' )
+ {
+ // InternalRBAModel.g:9456:2: ( () otherlv_1= 'PositionContainer' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )* ) ) ) otherlv_13= '}' )
+ // InternalRBAModel.g:9457:3: () otherlv_1= 'PositionContainer' otherlv_2= '{' ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )* ) ) ) otherlv_13= '}'
+ {
+ // InternalRBAModel.g:9457:3: ()
+ // InternalRBAModel.g:9458:4:
+ {
+ if ( state.backtracking==0 ) {
+
+ current = forceCreateModelElement(
+ grammarAccess.getPositionContainerAccess().getPositionContainerAction_0(),
+ current);
+
+ }
+
+ }
+
+ otherlv_1=(Token)match(input,144,FOLLOW_15); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_1, grammarAccess.getPositionContainerAccess().getPositionContainerKeyword_1());
+
+ }
+ otherlv_2=(Token)match(input,26,FOLLOW_72); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_2, grammarAccess.getPositionContainerAccess().getLeftCurlyBracketKeyword_2());
+
+ }
+ // InternalRBAModel.g:9472:3: ( ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )* ) ) )
+ // InternalRBAModel.g:9473:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )* ) )
+ {
+ // InternalRBAModel.g:9473:4: ( ( ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )* ) )
+ // InternalRBAModel.g:9474:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )* )
+ {
+ getUnorderedGroupHelper().enter(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+ // InternalRBAModel.g:9477:5: ( ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )* )
+ // InternalRBAModel.g:9478:6: ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )*
+ {
+ // InternalRBAModel.g:9478:6: ( ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) ) | ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) ) | ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) ) )*
+ loop116:
+ do {
+ int alt116=6;
+ int LA116_0 = input.LA(1);
+
+ if ( LA116_0 == 52 && getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 0) ) {
+ alt116=1;
+ }
+ else if ( LA116_0 == 53 && getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 1) ) {
+ alt116=2;
+ }
+ else if ( LA116_0 == 140 && getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 2) ) {
+ alt116=3;
+ }
+ else if ( LA116_0 == 145 && getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 3) ) {
+ alt116=4;
+ }
+ else if ( LA116_0 == 51 && getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 4) ) {
+ alt116=5;
+ }
+
+
+ switch (alt116) {
+ case 1 :
+ // InternalRBAModel.g:9479:4: ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:9479:4: ({...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) ) )
+ // InternalRBAModel.g:9480:5: {...}? => ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 0) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePositionContainer", "getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 0)");
+ }
+ // InternalRBAModel.g:9480:114: ( ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) ) )
+ // InternalRBAModel.g:9481:6: ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 0);
+ // InternalRBAModel.g:9484:9: ({...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) ) )
+ // InternalRBAModel.g:9484:10: {...}? => (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePositionContainer", "true");
+ }
+ // InternalRBAModel.g:9484:19: (otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) ) )
+ // InternalRBAModel.g:9484:20: otherlv_4= 'x:' ( (lv_x_5_0= ruleEInt ) )
+ {
+ otherlv_4=(Token)match(input,52,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_4, grammarAccess.getPositionContainerAccess().getXKeyword_3_0_0());
+
+ }
+ // InternalRBAModel.g:9488:9: ( (lv_x_5_0= ruleEInt ) )
+ // InternalRBAModel.g:9489:10: (lv_x_5_0= ruleEInt )
+ {
+ // InternalRBAModel.g:9489:10: (lv_x_5_0= ruleEInt )
+ // InternalRBAModel.g:9490:11: lv_x_5_0= ruleEInt
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPositionContainerAccess().getXEIntParserRuleCall_3_0_1_0());
+
+ }
+ pushFollow(FOLLOW_72);
+ lv_x_5_0=ruleEInt();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPositionContainerRule());
+ }
+ set(
+ current,
+ "x",
+ lv_x_5_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:9513:4: ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:9513:4: ({...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) ) )
+ // InternalRBAModel.g:9514:5: {...}? => ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 1) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePositionContainer", "getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 1)");
+ }
+ // InternalRBAModel.g:9514:114: ( ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) ) )
+ // InternalRBAModel.g:9515:6: ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 1);
+ // InternalRBAModel.g:9518:9: ({...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) ) )
+ // InternalRBAModel.g:9518:10: {...}? => (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePositionContainer", "true");
+ }
+ // InternalRBAModel.g:9518:19: (otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) ) )
+ // InternalRBAModel.g:9518:20: otherlv_6= 'y:' ( (lv_y_7_0= ruleEInt ) )
+ {
+ otherlv_6=(Token)match(input,53,FOLLOW_8); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_6, grammarAccess.getPositionContainerAccess().getYKeyword_3_1_0());
+
+ }
+ // InternalRBAModel.g:9522:9: ( (lv_y_7_0= ruleEInt ) )
+ // InternalRBAModel.g:9523:10: (lv_y_7_0= ruleEInt )
+ {
+ // InternalRBAModel.g:9523:10: (lv_y_7_0= ruleEInt )
+ // InternalRBAModel.g:9524:11: lv_y_7_0= ruleEInt
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPositionContainerAccess().getYEIntParserRuleCall_3_1_1_0());
+
+ }
+ pushFollow(FOLLOW_72);
+ lv_y_7_0=ruleEInt();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPositionContainerRule());
+ }
+ set(
+ current,
+ "y",
+ lv_y_7_0,
+ "rba.tool.editor.RBAModel.EInt");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:9547:4: ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:9547:4: ({...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) ) )
+ // InternalRBAModel.g:9548:5: {...}? => ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 2) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePositionContainer", "getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 2)");
+ }
+ // InternalRBAModel.g:9548:114: ( ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) ) )
+ // InternalRBAModel.g:9549:6: ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 2);
+ // InternalRBAModel.g:9552:9: ({...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) ) )
+ // InternalRBAModel.g:9552:10: {...}? => (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePositionContainer", "true");
+ }
+ // InternalRBAModel.g:9552:19: (otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) ) )
+ // InternalRBAModel.g:9552:20: otherlv_8= 'basePoint:' ( (lv_basePoint_9_0= ruleBasePoint ) )
+ {
+ otherlv_8=(Token)match(input,140,FOLLOW_70); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_8, grammarAccess.getPositionContainerAccess().getBasePointKeyword_3_2_0());
+
+ }
+ // InternalRBAModel.g:9556:9: ( (lv_basePoint_9_0= ruleBasePoint ) )
+ // InternalRBAModel.g:9557:10: (lv_basePoint_9_0= ruleBasePoint )
+ {
+ // InternalRBAModel.g:9557:10: (lv_basePoint_9_0= ruleBasePoint )
+ // InternalRBAModel.g:9558:11: lv_basePoint_9_0= ruleBasePoint
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPositionContainerAccess().getBasePointBasePointEnumRuleCall_3_2_1_0());
+
+ }
+ pushFollow(FOLLOW_72);
+ lv_basePoint_9_0=ruleBasePoint();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPositionContainerRule());
+ }
+ set(
+ current,
+ "basePoint",
+ lv_basePoint_9_0,
+ "rba.tool.editor.RBAModel.BasePoint");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:9581:4: ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) )
+ {
+ // InternalRBAModel.g:9581:4: ({...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) ) )
+ // InternalRBAModel.g:9582:5: {...}? => ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 3) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePositionContainer", "getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 3)");
+ }
+ // InternalRBAModel.g:9582:114: ( ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) ) )
+ // InternalRBAModel.g:9583:6: ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) )
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 3);
+ // InternalRBAModel.g:9586:9: ({...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) ) )
+ // InternalRBAModel.g:9586:10: {...}? => (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePositionContainer", "true");
+ }
+ // InternalRBAModel.g:9586:19: (otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) ) )
+ // InternalRBAModel.g:9586:20: otherlv_10= 'areaReference:' ( ( ruleQualifiedName ) )
+ {
+ otherlv_10=(Token)match(input,145,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_10, grammarAccess.getPositionContainerAccess().getAreaReferenceKeyword_3_3_0());
+
+ }
+ // InternalRBAModel.g:9590:9: ( ( ruleQualifiedName ) )
+ // InternalRBAModel.g:9591:10: ( ruleQualifiedName )
+ {
+ // InternalRBAModel.g:9591:10: ( ruleQualifiedName )
+ // InternalRBAModel.g:9592:11: ruleQualifiedName
+ {
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElement(grammarAccess.getPositionContainerRule());
+ }
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPositionContainerAccess().getAreaAreaCrossReference_3_3_1_0());
+
+ }
+ pushFollow(FOLLOW_72);
+ ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:9612:4: ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) )
+ {
+ // InternalRBAModel.g:9612:4: ({...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ ) )
+ // InternalRBAModel.g:9613:5: {...}? => ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ )
+ {
+ if ( ! getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 4) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePositionContainer", "getUnorderedGroupHelper().canSelect(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 4)");
+ }
+ // InternalRBAModel.g:9613:114: ( ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+ )
+ // InternalRBAModel.g:9614:6: ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+
+ {
+ getUnorderedGroupHelper().select(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3(), 4);
+ // InternalRBAModel.g:9617:9: ({...}? => ( (lv_offset_12_0= ruleOffset ) ) )+
+ int cnt115=0;
+ loop115:
+ do {
+ int alt115=2;
+ int LA115_0 = input.LA(1);
+
+ if ( (LA115_0==51) ) {
+ int LA115_2 = input.LA(2);
+
+ if ( ((true)) ) {
+ alt115=1;
+ }
+
+
+ }
+
+
+ switch (alt115) {
+ case 1 :
+ // InternalRBAModel.g:9617:10: {...}? => ( (lv_offset_12_0= ruleOffset ) )
+ {
+ if ( !((true)) ) {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ throw new FailedPredicateException(input, "rulePositionContainer", "true");
+ }
+ // InternalRBAModel.g:9617:19: ( (lv_offset_12_0= ruleOffset ) )
+ // InternalRBAModel.g:9617:20: (lv_offset_12_0= ruleOffset )
+ {
+ // InternalRBAModel.g:9617:20: (lv_offset_12_0= ruleOffset )
+ // InternalRBAModel.g:9618:10: lv_offset_12_0= ruleOffset
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getPositionContainerAccess().getOffsetOffsetParserRuleCall_3_4_0());
+
+ }
+ pushFollow(FOLLOW_72);
+ lv_offset_12_0=ruleOffset();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ if (current==null) {
+ current = createModelElementForParent(grammarAccess.getPositionContainerRule());
+ }
+ add(
+ current,
+ "offset",
+ lv_offset_12_0,
+ "rba.tool.editor.RBAModel.Offset");
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ if ( cnt115 >= 1 ) break loop115;
+ if (state.backtracking>0) {state.failed=true; return current;}
+ EarlyExitException eee =
+ new EarlyExitException(115, input);
+ throw eee;
+ }
+ cnt115++;
+ } while (true);
+
+ getUnorderedGroupHelper().returnFromSelection(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+
+ }
+
+
+ }
+
+
+ }
+ break;
+
+ default :
+ break loop116;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ getUnorderedGroupHelper().leave(grammarAccess.getPositionContainerAccess().getUnorderedGroup_3());
+
+ }
+
+ otherlv_13=(Token)match(input,28,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(otherlv_13, grammarAccess.getPositionContainerAccess().getRightCurlyBracketKeyword_4());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "rulePositionContainer"
+
+
+ // $ANTLR start "entryRuleEBoolean"
+ // InternalRBAModel.g:9655:1: entryRuleEBoolean returns [String current=null] : iv_ruleEBoolean= ruleEBoolean EOF ;
+ public final String entryRuleEBoolean() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleEBoolean = null;
+
+
+ try {
+ // InternalRBAModel.g:9655:48: (iv_ruleEBoolean= ruleEBoolean EOF )
+ // InternalRBAModel.g:9656:2: iv_ruleEBoolean= ruleEBoolean EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getEBooleanRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleEBoolean=ruleEBoolean();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleEBoolean.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleEBoolean"
+
+
+ // $ANTLR start "ruleEBoolean"
+ // InternalRBAModel.g:9662:1: ruleEBoolean returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= 'true' | kw= 'false' ) ;
+ public final AntlrDatatypeRuleToken ruleEBoolean() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9668:2: ( (kw= 'true' | kw= 'false' ) )
+ // InternalRBAModel.g:9669:2: (kw= 'true' | kw= 'false' )
+ {
+ // InternalRBAModel.g:9669:2: (kw= 'true' | kw= 'false' )
+ int alt117=2;
+ int LA117_0 = input.LA(1);
+
+ if ( (LA117_0==146) ) {
+ alt117=1;
+ }
+ else if ( (LA117_0==147) ) {
+ alt117=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 117, 0, input);
+
+ throw nvae;
+ }
+ switch (alt117) {
+ case 1 :
+ // InternalRBAModel.g:9670:3: kw= 'true'
+ {
+ kw=(Token)match(input,146,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getEBooleanAccess().getTrueKeyword_0());
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:9676:3: kw= 'false'
+ {
+ kw=(Token)match(input,147,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getEBooleanAccess().getFalseKeyword_1());
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleEBoolean"
+
+
+ // $ANTLR start "entryRuleEInt"
+ // InternalRBAModel.g:9685:1: entryRuleEInt returns [String current=null] : iv_ruleEInt= ruleEInt EOF ;
+ public final String entryRuleEInt() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleEInt = null;
+
+
+ try {
+ // InternalRBAModel.g:9685:44: (iv_ruleEInt= ruleEInt EOF )
+ // InternalRBAModel.g:9686:2: iv_ruleEInt= ruleEInt EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getEIntRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleEInt=ruleEInt();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleEInt.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleEInt"
+
+
+ // $ANTLR start "ruleEInt"
+ // InternalRBAModel.g:9692:1: ruleEInt returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : ( (kw= '-' )? this_INT_1= RULE_INT ) ;
+ public final AntlrDatatypeRuleToken ruleEInt() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+ Token this_INT_1=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9698:2: ( ( (kw= '-' )? this_INT_1= RULE_INT ) )
+ // InternalRBAModel.g:9699:2: ( (kw= '-' )? this_INT_1= RULE_INT )
+ {
+ // InternalRBAModel.g:9699:2: ( (kw= '-' )? this_INT_1= RULE_INT )
+ // InternalRBAModel.g:9700:3: (kw= '-' )? this_INT_1= RULE_INT
+ {
+ // InternalRBAModel.g:9700:3: (kw= '-' )?
+ int alt118=2;
+ int LA118_0 = input.LA(1);
+
+ if ( (LA118_0==148) ) {
+ alt118=1;
+ }
+ switch (alt118) {
+ case 1 :
+ // InternalRBAModel.g:9701:4: kw= '-'
+ {
+ kw=(Token)match(input,148,FOLLOW_73); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getEIntAccess().getHyphenMinusKeyword_0());
+
+ }
+
+ }
+ break;
+
+ }
+
+ this_INT_1=(Token)match(input,RULE_INT,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_INT_1);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(this_INT_1, grammarAccess.getEIntAccess().getINTTerminalRuleCall_1());
+
+ }
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleEInt"
+
+
+ // $ANTLR start "entryRuleEString"
+ // InternalRBAModel.g:9718:1: entryRuleEString returns [String current=null] : iv_ruleEString= ruleEString EOF ;
+ public final String entryRuleEString() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleEString = null;
+
+
+ try {
+ // InternalRBAModel.g:9718:47: (iv_ruleEString= ruleEString EOF )
+ // InternalRBAModel.g:9719:2: iv_ruleEString= ruleEString EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getEStringRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleEString=ruleEString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleEString.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleEString"
+
+
+ // $ANTLR start "ruleEString"
+ // InternalRBAModel.g:9725:1: ruleEString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_STRING_0= RULE_STRING ;
+ public final AntlrDatatypeRuleToken ruleEString() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token this_STRING_0=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9731:2: (this_STRING_0= RULE_STRING )
+ // InternalRBAModel.g:9732:2: this_STRING_0= RULE_STRING
+ {
+ this_STRING_0=(Token)match(input,RULE_STRING,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_STRING_0);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(this_STRING_0, grammarAccess.getEStringAccess().getSTRINGTerminalRuleCall());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleEString"
+
+
+ // $ANTLR start "entryRuleRichString"
+ // InternalRBAModel.g:9742:1: entryRuleRichString returns [String current=null] : iv_ruleRichString= ruleRichString EOF ;
+ public final String entryRuleRichString() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleRichString = null;
+
+
+ try {
+ // InternalRBAModel.g:9742:50: (iv_ruleRichString= ruleRichString EOF )
+ // InternalRBAModel.g:9743:2: iv_ruleRichString= ruleRichString EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getRichStringRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleRichString=ruleRichString();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleRichString.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleRichString"
+
+
+ // $ANTLR start "ruleRichString"
+ // InternalRBAModel.g:9749:1: ruleRichString returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_RICH_STRING_0= RULE_RICH_STRING ;
+ public final AntlrDatatypeRuleToken ruleRichString() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token this_RICH_STRING_0=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9755:2: (this_RICH_STRING_0= RULE_RICH_STRING )
+ // InternalRBAModel.g:9756:2: this_RICH_STRING_0= RULE_RICH_STRING
+ {
+ this_RICH_STRING_0=(Token)match(input,RULE_RICH_STRING,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_RICH_STRING_0);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(this_RICH_STRING_0, grammarAccess.getRichStringAccess().getRICH_STRINGTerminalRuleCall());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleRichString"
+
+
+ // $ANTLR start "entryRuleQualifiedNameWithWildcard"
+ // InternalRBAModel.g:9766:1: entryRuleQualifiedNameWithWildcard returns [String current=null] : iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF ;
+ public final String entryRuleQualifiedNameWithWildcard() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleQualifiedNameWithWildcard = null;
+
+
+ try {
+ // InternalRBAModel.g:9766:65: (iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF )
+ // InternalRBAModel.g:9767:2: iv_ruleQualifiedNameWithWildcard= ruleQualifiedNameWithWildcard EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getQualifiedNameWithWildcardRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleQualifiedNameWithWildcard=ruleQualifiedNameWithWildcard();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleQualifiedNameWithWildcard.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleQualifiedNameWithWildcard"
+
+
+ // $ANTLR start "ruleQualifiedNameWithWildcard"
+ // InternalRBAModel.g:9773:1: ruleQualifiedNameWithWildcard returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_QualifiedName_0= ruleQualifiedName (kw= '.*' )? ) ;
+ public final AntlrDatatypeRuleToken ruleQualifiedNameWithWildcard() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+ AntlrDatatypeRuleToken this_QualifiedName_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9779:2: ( (this_QualifiedName_0= ruleQualifiedName (kw= '.*' )? ) )
+ // InternalRBAModel.g:9780:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.*' )? )
+ {
+ // InternalRBAModel.g:9780:2: (this_QualifiedName_0= ruleQualifiedName (kw= '.*' )? )
+ // InternalRBAModel.g:9781:3: this_QualifiedName_0= ruleQualifiedName (kw= '.*' )?
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getQualifiedNameWithWildcardAccess().getQualifiedNameParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_74);
+ this_QualifiedName_0=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_QualifiedName_0);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+ // InternalRBAModel.g:9791:3: (kw= '.*' )?
+ int alt119=2;
+ int LA119_0 = input.LA(1);
+
+ if ( (LA119_0==149) ) {
+ alt119=1;
+ }
+ switch (alt119) {
+ case 1 :
+ // InternalRBAModel.g:9792:4: kw= '.*'
+ {
+ kw=(Token)match(input,149,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getQualifiedNameWithWildcardAccess().getFullStopAsteriskKeyword_1());
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleQualifiedNameWithWildcard"
+
+
+ // $ANTLR start "entryRuleQualifiedName"
+ // InternalRBAModel.g:9802:1: entryRuleQualifiedName returns [String current=null] : iv_ruleQualifiedName= ruleQualifiedName EOF ;
+ public final String entryRuleQualifiedName() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleQualifiedName = null;
+
+
+ try {
+ // InternalRBAModel.g:9802:53: (iv_ruleQualifiedName= ruleQualifiedName EOF )
+ // InternalRBAModel.g:9803:2: iv_ruleQualifiedName= ruleQualifiedName EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getQualifiedNameRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleQualifiedName=ruleQualifiedName();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleQualifiedName.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleQualifiedName"
+
+
+ // $ANTLR start "ruleQualifiedName"
+ // InternalRBAModel.g:9809:1: ruleQualifiedName returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) ;
+ public final AntlrDatatypeRuleToken ruleQualifiedName() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token this_ID_0=null;
+ Token kw=null;
+ Token this_ID_2=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9815:2: ( (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* ) )
+ // InternalRBAModel.g:9816:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ {
+ // InternalRBAModel.g:9816:2: (this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )* )
+ // InternalRBAModel.g:9817:3: this_ID_0= RULE_ID (kw= '.' this_ID_2= RULE_ID )*
+ {
+ this_ID_0=(Token)match(input,RULE_ID,FOLLOW_50); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_ID_0);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(this_ID_0, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_0());
+
+ }
+ // InternalRBAModel.g:9824:3: (kw= '.' this_ID_2= RULE_ID )*
+ loop120:
+ do {
+ int alt120=2;
+ int LA120_0 = input.LA(1);
+
+ if ( (LA120_0==71) ) {
+ alt120=1;
+ }
+
+
+ switch (alt120) {
+ case 1 :
+ // InternalRBAModel.g:9825:4: kw= '.' this_ID_2= RULE_ID
+ {
+ kw=(Token)match(input,71,FOLLOW_3); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getQualifiedNameAccess().getFullStopKeyword_1_0());
+
+ }
+ this_ID_2=(Token)match(input,RULE_ID,FOLLOW_50); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_ID_2);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(this_ID_2, grammarAccess.getQualifiedNameAccess().getIDTerminalRuleCall_1_1());
+
+ }
+
+ }
+ break;
+
+ default :
+ break loop120;
+ }
+ } while (true);
+
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleQualifiedName"
+
+
+ // $ANTLR start "entryRuleIdOrThis"
+ // InternalRBAModel.g:9842:1: entryRuleIdOrThis returns [String current=null] : iv_ruleIdOrThis= ruleIdOrThis EOF ;
+ public final String entryRuleIdOrThis() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleIdOrThis = null;
+
+
+ try {
+ // InternalRBAModel.g:9842:48: (iv_ruleIdOrThis= ruleIdOrThis EOF )
+ // InternalRBAModel.g:9843:2: iv_ruleIdOrThis= ruleIdOrThis EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getIdOrThisRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleIdOrThis=ruleIdOrThis();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleIdOrThis.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleIdOrThis"
+
+
+ // $ANTLR start "ruleIdOrThis"
+ // InternalRBAModel.g:9849:1: ruleIdOrThis returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_ValidID_0= ruleValidID | kw= 'this' ) ;
+ public final AntlrDatatypeRuleToken ruleIdOrThis() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token kw=null;
+ AntlrDatatypeRuleToken this_ValidID_0 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9855:2: ( (this_ValidID_0= ruleValidID | kw= 'this' ) )
+ // InternalRBAModel.g:9856:2: (this_ValidID_0= ruleValidID | kw= 'this' )
+ {
+ // InternalRBAModel.g:9856:2: (this_ValidID_0= ruleValidID | kw= 'this' )
+ int alt121=2;
+ int LA121_0 = input.LA(1);
+
+ if ( (LA121_0==RULE_ID) ) {
+ alt121=1;
+ }
+ else if ( (LA121_0==150) ) {
+ alt121=2;
+ }
+ else {
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 121, 0, input);
+
+ throw nvae;
+ }
+ switch (alt121) {
+ case 1 :
+ // InternalRBAModel.g:9857:3: this_ValidID_0= ruleValidID
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getIdOrThisAccess().getValidIDParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_ValidID_0=ruleValidID();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_ValidID_0);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:9868:3: kw= 'this'
+ {
+ kw=(Token)match(input,150,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(kw);
+ newLeafNode(kw, grammarAccess.getIdOrThisAccess().getThisKeyword_1());
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleIdOrThis"
+
+
+ // $ANTLR start "entryRuleValidID"
+ // InternalRBAModel.g:9877:1: entryRuleValidID returns [String current=null] : iv_ruleValidID= ruleValidID EOF ;
+ public final String entryRuleValidID() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleValidID = null;
+
+
+ try {
+ // InternalRBAModel.g:9877:47: (iv_ruleValidID= ruleValidID EOF )
+ // InternalRBAModel.g:9878:2: iv_ruleValidID= ruleValidID EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getValidIDRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleValidID=ruleValidID();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleValidID.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleValidID"
+
+
+ // $ANTLR start "ruleValidID"
+ // InternalRBAModel.g:9884:1: ruleValidID returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : this_ID_0= RULE_ID ;
+ public final AntlrDatatypeRuleToken ruleValidID() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ Token this_ID_0=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9890:2: (this_ID_0= RULE_ID )
+ // InternalRBAModel.g:9891:2: this_ID_0= RULE_ID
+ {
+ this_ID_0=(Token)match(input,RULE_ID,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_ID_0);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ newLeafNode(this_ID_0, grammarAccess.getValidIDAccess().getIDTerminalRuleCall());
+
+ }
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleValidID"
+
+
+ // $ANTLR start "entryRuleContentOperatorsCommon"
+ // InternalRBAModel.g:9901:1: entryRuleContentOperatorsCommon returns [String current=null] : iv_ruleContentOperatorsCommon= ruleContentOperatorsCommon EOF ;
+ public final String entryRuleContentOperatorsCommon() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleContentOperatorsCommon = null;
+
+
+ try {
+ // InternalRBAModel.g:9901:62: (iv_ruleContentOperatorsCommon= ruleContentOperatorsCommon EOF )
+ // InternalRBAModel.g:9902:2: iv_ruleContentOperatorsCommon= ruleContentOperatorsCommon EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getContentOperatorsCommonRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleContentOperatorsCommon=ruleContentOperatorsCommon();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleContentOperatorsCommon.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleContentOperatorsCommon"
+
+
+ // $ANTLR start "ruleContentOperatorsCommon"
+ // InternalRBAModel.g:9908:1: ruleContentOperatorsCommon returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_OpIsActive_0= ruleOpIsActive | this_OpGetAllocatables_1= ruleOpGetAllocatables | this_OpIsVisible_2= ruleOpIsVisible | this_OpHasComeEarlierThan_3= ruleOpHasComeEarlierThan | this_OpHasComeLaterThan_4= ruleOpHasComeLaterThan | this_OpStateValue_5= ruleOpStateValue | this_OpIsAllocatedTo_6= ruleOpIsAllocatedTo | this_OpIsDisplayedOn_7= ruleOpIsDisplayedOn ) ;
+ public final AntlrDatatypeRuleToken ruleContentOperatorsCommon() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ AntlrDatatypeRuleToken this_OpIsActive_0 = null;
+
+ AntlrDatatypeRuleToken this_OpGetAllocatables_1 = null;
+
+ AntlrDatatypeRuleToken this_OpIsVisible_2 = null;
+
+ AntlrDatatypeRuleToken this_OpHasComeEarlierThan_3 = null;
+
+ AntlrDatatypeRuleToken this_OpHasComeLaterThan_4 = null;
+
+ AntlrDatatypeRuleToken this_OpStateValue_5 = null;
+
+ AntlrDatatypeRuleToken this_OpIsAllocatedTo_6 = null;
+
+ AntlrDatatypeRuleToken this_OpIsDisplayedOn_7 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:9914:2: ( (this_OpIsActive_0= ruleOpIsActive | this_OpGetAllocatables_1= ruleOpGetAllocatables | this_OpIsVisible_2= ruleOpIsVisible | this_OpHasComeEarlierThan_3= ruleOpHasComeEarlierThan | this_OpHasComeLaterThan_4= ruleOpHasComeLaterThan | this_OpStateValue_5= ruleOpStateValue | this_OpIsAllocatedTo_6= ruleOpIsAllocatedTo | this_OpIsDisplayedOn_7= ruleOpIsDisplayedOn ) )
+ // InternalRBAModel.g:9915:2: (this_OpIsActive_0= ruleOpIsActive | this_OpGetAllocatables_1= ruleOpGetAllocatables | this_OpIsVisible_2= ruleOpIsVisible | this_OpHasComeEarlierThan_3= ruleOpHasComeEarlierThan | this_OpHasComeLaterThan_4= ruleOpHasComeLaterThan | this_OpStateValue_5= ruleOpStateValue | this_OpIsAllocatedTo_6= ruleOpIsAllocatedTo | this_OpIsDisplayedOn_7= ruleOpIsDisplayedOn )
+ {
+ // InternalRBAModel.g:9915:2: (this_OpIsActive_0= ruleOpIsActive | this_OpGetAllocatables_1= ruleOpGetAllocatables | this_OpIsVisible_2= ruleOpIsVisible | this_OpHasComeEarlierThan_3= ruleOpHasComeEarlierThan | this_OpHasComeLaterThan_4= ruleOpHasComeLaterThan | this_OpStateValue_5= ruleOpStateValue | this_OpIsAllocatedTo_6= ruleOpIsAllocatedTo | this_OpIsDisplayedOn_7= ruleOpIsDisplayedOn )
+ int alt122=8;
+ switch ( input.LA(1) ) {
+ case 88:
+ {
+ alt122=1;
+ }
+ break;
+ case 89:
+ {
+ alt122=2;
+ }
+ break;
+ case 94:
+ {
+ alt122=3;
+ }
+ break;
+ case 100:
+ {
+ alt122=4;
+ }
+ break;
+ case 101:
+ {
+ alt122=5;
+ }
+ break;
+ case 102:
+ {
+ alt122=6;
+ }
+ break;
+ case 103:
+ {
+ alt122=7;
+ }
+ break;
+ case 106:
+ {
+ alt122=8;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 122, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt122) {
+ case 1 :
+ // InternalRBAModel.g:9916:3: this_OpIsActive_0= ruleOpIsActive
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpIsActiveParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpIsActive_0=ruleOpIsActive();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpIsActive_0);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:9927:3: this_OpGetAllocatables_1= ruleOpGetAllocatables
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpGetAllocatablesParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpGetAllocatables_1=ruleOpGetAllocatables();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpGetAllocatables_1);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:9938:3: this_OpIsVisible_2= ruleOpIsVisible
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpIsVisibleParserRuleCall_2());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpIsVisible_2=ruleOpIsVisible();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpIsVisible_2);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:9949:3: this_OpHasComeEarlierThan_3= ruleOpHasComeEarlierThan
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpHasComeEarlierThanParserRuleCall_3());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpHasComeEarlierThan_3=ruleOpHasComeEarlierThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpHasComeEarlierThan_3);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:9960:3: this_OpHasComeLaterThan_4= ruleOpHasComeLaterThan
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpHasComeLaterThanParserRuleCall_4());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpHasComeLaterThan_4=ruleOpHasComeLaterThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpHasComeLaterThan_4);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 6 :
+ // InternalRBAModel.g:9971:3: this_OpStateValue_5= ruleOpStateValue
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpStateValueParserRuleCall_5());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpStateValue_5=ruleOpStateValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpStateValue_5);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 7 :
+ // InternalRBAModel.g:9982:3: this_OpIsAllocatedTo_6= ruleOpIsAllocatedTo
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpIsAllocatedToParserRuleCall_6());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpIsAllocatedTo_6=ruleOpIsAllocatedTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpIsAllocatedTo_6);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 8 :
+ // InternalRBAModel.g:9993:3: this_OpIsDisplayedOn_7= ruleOpIsDisplayedOn
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getContentOperatorsCommonAccess().getOpIsDisplayedOnParserRuleCall_7());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpIsDisplayedOn_7=ruleOpIsDisplayedOn();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpIsDisplayedOn_7);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleContentOperatorsCommon"
+
+
+ // $ANTLR start "entryRuleSoundOperatorsCommon"
+ // InternalRBAModel.g:10007:1: entryRuleSoundOperatorsCommon returns [String current=null] : iv_ruleSoundOperatorsCommon= ruleSoundOperatorsCommon EOF ;
+ public final String entryRuleSoundOperatorsCommon() throws RecognitionException {
+ String current = null;
+
+ AntlrDatatypeRuleToken iv_ruleSoundOperatorsCommon = null;
+
+
+ try {
+ // InternalRBAModel.g:10007:60: (iv_ruleSoundOperatorsCommon= ruleSoundOperatorsCommon EOF )
+ // InternalRBAModel.g:10008:2: iv_ruleSoundOperatorsCommon= ruleSoundOperatorsCommon EOF
+ {
+ if ( state.backtracking==0 ) {
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonRule());
+ }
+ pushFollow(FOLLOW_1);
+ iv_ruleSoundOperatorsCommon=ruleSoundOperatorsCommon();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+ current =iv_ruleSoundOperatorsCommon.getText();
+ }
+ match(input,EOF,FOLLOW_2); if (state.failed) return current;
+
+ }
+
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "entryRuleSoundOperatorsCommon"
+
+
+ // $ANTLR start "ruleSoundOperatorsCommon"
+ // InternalRBAModel.g:10014:1: ruleSoundOperatorsCommon returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (this_OpIsActive_0= ruleOpIsActive | this_OpGetAllocatables_1= ruleOpGetAllocatables | this_OpIsSounding_2= ruleOpIsSounding | this_OpHasComeEarlierThan_3= ruleOpHasComeEarlierThan | this_OpHasComeLaterThan_4= ruleOpHasComeLaterThan | this_OpStateValue_5= ruleOpStateValue | this_OpIsAllocatedTo_6= ruleOpIsAllocatedTo | this_OpIsOutputtedOn_7= ruleOpIsOutputtedOn ) ;
+ public final AntlrDatatypeRuleToken ruleSoundOperatorsCommon() throws RecognitionException {
+ AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
+
+ AntlrDatatypeRuleToken this_OpIsActive_0 = null;
+
+ AntlrDatatypeRuleToken this_OpGetAllocatables_1 = null;
+
+ AntlrDatatypeRuleToken this_OpIsSounding_2 = null;
+
+ AntlrDatatypeRuleToken this_OpHasComeEarlierThan_3 = null;
+
+ AntlrDatatypeRuleToken this_OpHasComeLaterThan_4 = null;
+
+ AntlrDatatypeRuleToken this_OpStateValue_5 = null;
+
+ AntlrDatatypeRuleToken this_OpIsAllocatedTo_6 = null;
+
+ AntlrDatatypeRuleToken this_OpIsOutputtedOn_7 = null;
+
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:10020:2: ( (this_OpIsActive_0= ruleOpIsActive | this_OpGetAllocatables_1= ruleOpGetAllocatables | this_OpIsSounding_2= ruleOpIsSounding | this_OpHasComeEarlierThan_3= ruleOpHasComeEarlierThan | this_OpHasComeLaterThan_4= ruleOpHasComeLaterThan | this_OpStateValue_5= ruleOpStateValue | this_OpIsAllocatedTo_6= ruleOpIsAllocatedTo | this_OpIsOutputtedOn_7= ruleOpIsOutputtedOn ) )
+ // InternalRBAModel.g:10021:2: (this_OpIsActive_0= ruleOpIsActive | this_OpGetAllocatables_1= ruleOpGetAllocatables | this_OpIsSounding_2= ruleOpIsSounding | this_OpHasComeEarlierThan_3= ruleOpHasComeEarlierThan | this_OpHasComeLaterThan_4= ruleOpHasComeLaterThan | this_OpStateValue_5= ruleOpStateValue | this_OpIsAllocatedTo_6= ruleOpIsAllocatedTo | this_OpIsOutputtedOn_7= ruleOpIsOutputtedOn )
+ {
+ // InternalRBAModel.g:10021:2: (this_OpIsActive_0= ruleOpIsActive | this_OpGetAllocatables_1= ruleOpGetAllocatables | this_OpIsSounding_2= ruleOpIsSounding | this_OpHasComeEarlierThan_3= ruleOpHasComeEarlierThan | this_OpHasComeLaterThan_4= ruleOpHasComeLaterThan | this_OpStateValue_5= ruleOpStateValue | this_OpIsAllocatedTo_6= ruleOpIsAllocatedTo | this_OpIsOutputtedOn_7= ruleOpIsOutputtedOn )
+ int alt123=8;
+ switch ( input.LA(1) ) {
+ case 88:
+ {
+ alt123=1;
+ }
+ break;
+ case 89:
+ {
+ alt123=2;
+ }
+ break;
+ case 98:
+ {
+ alt123=3;
+ }
+ break;
+ case 100:
+ {
+ alt123=4;
+ }
+ break;
+ case 101:
+ {
+ alt123=5;
+ }
+ break;
+ case 102:
+ {
+ alt123=6;
+ }
+ break;
+ case 103:
+ {
+ alt123=7;
+ }
+ break;
+ case 109:
+ {
+ alt123=8;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 123, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt123) {
+ case 1 :
+ // InternalRBAModel.g:10022:3: this_OpIsActive_0= ruleOpIsActive
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpIsActiveParserRuleCall_0());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpIsActive_0=ruleOpIsActive();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpIsActive_0);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:10033:3: this_OpGetAllocatables_1= ruleOpGetAllocatables
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpGetAllocatablesParserRuleCall_1());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpGetAllocatables_1=ruleOpGetAllocatables();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpGetAllocatables_1);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:10044:3: this_OpIsSounding_2= ruleOpIsSounding
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpIsSoundingParserRuleCall_2());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpIsSounding_2=ruleOpIsSounding();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpIsSounding_2);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:10055:3: this_OpHasComeEarlierThan_3= ruleOpHasComeEarlierThan
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpHasComeEarlierThanParserRuleCall_3());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpHasComeEarlierThan_3=ruleOpHasComeEarlierThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpHasComeEarlierThan_3);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:10066:3: this_OpHasComeLaterThan_4= ruleOpHasComeLaterThan
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpHasComeLaterThanParserRuleCall_4());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpHasComeLaterThan_4=ruleOpHasComeLaterThan();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpHasComeLaterThan_4);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 6 :
+ // InternalRBAModel.g:10077:3: this_OpStateValue_5= ruleOpStateValue
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpStateValueParserRuleCall_5());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpStateValue_5=ruleOpStateValue();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpStateValue_5);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 7 :
+ // InternalRBAModel.g:10088:3: this_OpIsAllocatedTo_6= ruleOpIsAllocatedTo
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpIsAllocatedToParserRuleCall_6());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpIsAllocatedTo_6=ruleOpIsAllocatedTo();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpIsAllocatedTo_6);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+ case 8 :
+ // InternalRBAModel.g:10099:3: this_OpIsOutputtedOn_7= ruleOpIsOutputtedOn
+ {
+ if ( state.backtracking==0 ) {
+
+ newCompositeNode(grammarAccess.getSoundOperatorsCommonAccess().getOpIsOutputtedOnParserRuleCall_7());
+
+ }
+ pushFollow(FOLLOW_2);
+ this_OpIsOutputtedOn_7=ruleOpIsOutputtedOn();
+
+ state._fsp--;
+ if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current.merge(this_OpIsOutputtedOn_7);
+
+ }
+ if ( state.backtracking==0 ) {
+
+ afterParserOrEnumRuleCall();
+
+ }
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleSoundOperatorsCommon"
+
+
+ // $ANTLR start "ruleArbitrationPolicy"
+ // InternalRBAModel.g:10113:1: ruleArbitrationPolicy returns [Enumerator current=null] : ( (enumLiteral_0= 'DEFAULT' ) | (enumLiteral_1= 'FIRST_COME_FIRST' ) | (enumLiteral_2= 'LAST_COME_FIRST' ) | (enumLiteral_3= 'PRIORITY_FIRST_COME_FIRST' ) | (enumLiteral_4= 'PRIORITY_LAST_COME_FIRST' ) ) ;
+ public final Enumerator ruleArbitrationPolicy() throws RecognitionException {
+ Enumerator current = null;
+
+ Token enumLiteral_0=null;
+ Token enumLiteral_1=null;
+ Token enumLiteral_2=null;
+ Token enumLiteral_3=null;
+ Token enumLiteral_4=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:10119:2: ( ( (enumLiteral_0= 'DEFAULT' ) | (enumLiteral_1= 'FIRST_COME_FIRST' ) | (enumLiteral_2= 'LAST_COME_FIRST' ) | (enumLiteral_3= 'PRIORITY_FIRST_COME_FIRST' ) | (enumLiteral_4= 'PRIORITY_LAST_COME_FIRST' ) ) )
+ // InternalRBAModel.g:10120:2: ( (enumLiteral_0= 'DEFAULT' ) | (enumLiteral_1= 'FIRST_COME_FIRST' ) | (enumLiteral_2= 'LAST_COME_FIRST' ) | (enumLiteral_3= 'PRIORITY_FIRST_COME_FIRST' ) | (enumLiteral_4= 'PRIORITY_LAST_COME_FIRST' ) )
+ {
+ // InternalRBAModel.g:10120:2: ( (enumLiteral_0= 'DEFAULT' ) | (enumLiteral_1= 'FIRST_COME_FIRST' ) | (enumLiteral_2= 'LAST_COME_FIRST' ) | (enumLiteral_3= 'PRIORITY_FIRST_COME_FIRST' ) | (enumLiteral_4= 'PRIORITY_LAST_COME_FIRST' ) )
+ int alt124=5;
+ switch ( input.LA(1) ) {
+ case 151:
+ {
+ alt124=1;
+ }
+ break;
+ case 152:
+ {
+ alt124=2;
+ }
+ break;
+ case 153:
+ {
+ alt124=3;
+ }
+ break;
+ case 154:
+ {
+ alt124=4;
+ }
+ break;
+ case 155:
+ {
+ alt124=5;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 124, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt124) {
+ case 1 :
+ // InternalRBAModel.g:10121:3: (enumLiteral_0= 'DEFAULT' )
+ {
+ // InternalRBAModel.g:10121:3: (enumLiteral_0= 'DEFAULT' )
+ // InternalRBAModel.g:10122:4: enumLiteral_0= 'DEFAULT'
+ {
+ enumLiteral_0=(Token)match(input,151,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getArbitrationPolicyAccess().getDEFAULTEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getArbitrationPolicyAccess().getDEFAULTEnumLiteralDeclaration_0());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:10129:3: (enumLiteral_1= 'FIRST_COME_FIRST' )
+ {
+ // InternalRBAModel.g:10129:3: (enumLiteral_1= 'FIRST_COME_FIRST' )
+ // InternalRBAModel.g:10130:4: enumLiteral_1= 'FIRST_COME_FIRST'
+ {
+ enumLiteral_1=(Token)match(input,152,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getArbitrationPolicyAccess().getFIRST_COME_FIRSTEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getArbitrationPolicyAccess().getFIRST_COME_FIRSTEnumLiteralDeclaration_1());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:10137:3: (enumLiteral_2= 'LAST_COME_FIRST' )
+ {
+ // InternalRBAModel.g:10137:3: (enumLiteral_2= 'LAST_COME_FIRST' )
+ // InternalRBAModel.g:10138:4: enumLiteral_2= 'LAST_COME_FIRST'
+ {
+ enumLiteral_2=(Token)match(input,153,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getArbitrationPolicyAccess().getLAST_COME_FIRSTEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getArbitrationPolicyAccess().getLAST_COME_FIRSTEnumLiteralDeclaration_2());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:10145:3: (enumLiteral_3= 'PRIORITY_FIRST_COME_FIRST' )
+ {
+ // InternalRBAModel.g:10145:3: (enumLiteral_3= 'PRIORITY_FIRST_COME_FIRST' )
+ // InternalRBAModel.g:10146:4: enumLiteral_3= 'PRIORITY_FIRST_COME_FIRST'
+ {
+ enumLiteral_3=(Token)match(input,154,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getArbitrationPolicyAccess().getPRIORITY_FIRST_COME_FIRSTEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getArbitrationPolicyAccess().getPRIORITY_FIRST_COME_FIRSTEnumLiteralDeclaration_3());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:10153:3: (enumLiteral_4= 'PRIORITY_LAST_COME_FIRST' )
+ {
+ // InternalRBAModel.g:10153:3: (enumLiteral_4= 'PRIORITY_LAST_COME_FIRST' )
+ // InternalRBAModel.g:10154:4: enumLiteral_4= 'PRIORITY_LAST_COME_FIRST'
+ {
+ enumLiteral_4=(Token)match(input,155,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getArbitrationPolicyAccess().getPRIORITY_LAST_COME_FIRSTEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getArbitrationPolicyAccess().getPRIORITY_LAST_COME_FIRSTEnumLiteralDeclaration_4());
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleArbitrationPolicy"
+
+
+ // $ANTLR start "ruleBasePoint"
+ // InternalRBAModel.g:10164:1: ruleBasePoint returns [Enumerator current=null] : ( (enumLiteral_0= 'LEFT_TOP' ) | (enumLiteral_1= 'LEFT_MIDDLE' ) | (enumLiteral_2= 'LEFT_BOTTOM' ) | (enumLiteral_3= 'RIGHT_TOP' ) | (enumLiteral_4= 'RIGHT_MIDDLE' ) | (enumLiteral_5= 'RIGHT_BOTTOM' ) | (enumLiteral_6= 'CENTER_TOP' ) | (enumLiteral_7= 'CENTER_MIDDLE' ) | (enumLiteral_8= 'CENTER_BOTTOM' ) ) ;
+ public final Enumerator ruleBasePoint() throws RecognitionException {
+ Enumerator current = null;
+
+ Token enumLiteral_0=null;
+ Token enumLiteral_1=null;
+ Token enumLiteral_2=null;
+ Token enumLiteral_3=null;
+ Token enumLiteral_4=null;
+ Token enumLiteral_5=null;
+ Token enumLiteral_6=null;
+ Token enumLiteral_7=null;
+ Token enumLiteral_8=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:10170:2: ( ( (enumLiteral_0= 'LEFT_TOP' ) | (enumLiteral_1= 'LEFT_MIDDLE' ) | (enumLiteral_2= 'LEFT_BOTTOM' ) | (enumLiteral_3= 'RIGHT_TOP' ) | (enumLiteral_4= 'RIGHT_MIDDLE' ) | (enumLiteral_5= 'RIGHT_BOTTOM' ) | (enumLiteral_6= 'CENTER_TOP' ) | (enumLiteral_7= 'CENTER_MIDDLE' ) | (enumLiteral_8= 'CENTER_BOTTOM' ) ) )
+ // InternalRBAModel.g:10171:2: ( (enumLiteral_0= 'LEFT_TOP' ) | (enumLiteral_1= 'LEFT_MIDDLE' ) | (enumLiteral_2= 'LEFT_BOTTOM' ) | (enumLiteral_3= 'RIGHT_TOP' ) | (enumLiteral_4= 'RIGHT_MIDDLE' ) | (enumLiteral_5= 'RIGHT_BOTTOM' ) | (enumLiteral_6= 'CENTER_TOP' ) | (enumLiteral_7= 'CENTER_MIDDLE' ) | (enumLiteral_8= 'CENTER_BOTTOM' ) )
+ {
+ // InternalRBAModel.g:10171:2: ( (enumLiteral_0= 'LEFT_TOP' ) | (enumLiteral_1= 'LEFT_MIDDLE' ) | (enumLiteral_2= 'LEFT_BOTTOM' ) | (enumLiteral_3= 'RIGHT_TOP' ) | (enumLiteral_4= 'RIGHT_MIDDLE' ) | (enumLiteral_5= 'RIGHT_BOTTOM' ) | (enumLiteral_6= 'CENTER_TOP' ) | (enumLiteral_7= 'CENTER_MIDDLE' ) | (enumLiteral_8= 'CENTER_BOTTOM' ) )
+ int alt125=9;
+ switch ( input.LA(1) ) {
+ case 156:
+ {
+ alt125=1;
+ }
+ break;
+ case 157:
+ {
+ alt125=2;
+ }
+ break;
+ case 158:
+ {
+ alt125=3;
+ }
+ break;
+ case 159:
+ {
+ alt125=4;
+ }
+ break;
+ case 160:
+ {
+ alt125=5;
+ }
+ break;
+ case 161:
+ {
+ alt125=6;
+ }
+ break;
+ case 162:
+ {
+ alt125=7;
+ }
+ break;
+ case 163:
+ {
+ alt125=8;
+ }
+ break;
+ case 164:
+ {
+ alt125=9;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 125, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt125) {
+ case 1 :
+ // InternalRBAModel.g:10172:3: (enumLiteral_0= 'LEFT_TOP' )
+ {
+ // InternalRBAModel.g:10172:3: (enumLiteral_0= 'LEFT_TOP' )
+ // InternalRBAModel.g:10173:4: enumLiteral_0= 'LEFT_TOP'
+ {
+ enumLiteral_0=(Token)match(input,156,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getBasePointAccess().getLEFT_TOPEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getBasePointAccess().getLEFT_TOPEnumLiteralDeclaration_0());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:10180:3: (enumLiteral_1= 'LEFT_MIDDLE' )
+ {
+ // InternalRBAModel.g:10180:3: (enumLiteral_1= 'LEFT_MIDDLE' )
+ // InternalRBAModel.g:10181:4: enumLiteral_1= 'LEFT_MIDDLE'
+ {
+ enumLiteral_1=(Token)match(input,157,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getBasePointAccess().getLEFT_MIDDLEEnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getBasePointAccess().getLEFT_MIDDLEEnumLiteralDeclaration_1());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:10188:3: (enumLiteral_2= 'LEFT_BOTTOM' )
+ {
+ // InternalRBAModel.g:10188:3: (enumLiteral_2= 'LEFT_BOTTOM' )
+ // InternalRBAModel.g:10189:4: enumLiteral_2= 'LEFT_BOTTOM'
+ {
+ enumLiteral_2=(Token)match(input,158,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getBasePointAccess().getLEFT_BOTTOMEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getBasePointAccess().getLEFT_BOTTOMEnumLiteralDeclaration_2());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:10196:3: (enumLiteral_3= 'RIGHT_TOP' )
+ {
+ // InternalRBAModel.g:10196:3: (enumLiteral_3= 'RIGHT_TOP' )
+ // InternalRBAModel.g:10197:4: enumLiteral_3= 'RIGHT_TOP'
+ {
+ enumLiteral_3=(Token)match(input,159,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getBasePointAccess().getRIGHT_TOPEnumLiteralDeclaration_3().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_3, grammarAccess.getBasePointAccess().getRIGHT_TOPEnumLiteralDeclaration_3());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 5 :
+ // InternalRBAModel.g:10204:3: (enumLiteral_4= 'RIGHT_MIDDLE' )
+ {
+ // InternalRBAModel.g:10204:3: (enumLiteral_4= 'RIGHT_MIDDLE' )
+ // InternalRBAModel.g:10205:4: enumLiteral_4= 'RIGHT_MIDDLE'
+ {
+ enumLiteral_4=(Token)match(input,160,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getBasePointAccess().getRIGHT_MIDDLEEnumLiteralDeclaration_4().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_4, grammarAccess.getBasePointAccess().getRIGHT_MIDDLEEnumLiteralDeclaration_4());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 6 :
+ // InternalRBAModel.g:10212:3: (enumLiteral_5= 'RIGHT_BOTTOM' )
+ {
+ // InternalRBAModel.g:10212:3: (enumLiteral_5= 'RIGHT_BOTTOM' )
+ // InternalRBAModel.g:10213:4: enumLiteral_5= 'RIGHT_BOTTOM'
+ {
+ enumLiteral_5=(Token)match(input,161,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getBasePointAccess().getRIGHT_BOTTOMEnumLiteralDeclaration_5().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_5, grammarAccess.getBasePointAccess().getRIGHT_BOTTOMEnumLiteralDeclaration_5());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 7 :
+ // InternalRBAModel.g:10220:3: (enumLiteral_6= 'CENTER_TOP' )
+ {
+ // InternalRBAModel.g:10220:3: (enumLiteral_6= 'CENTER_TOP' )
+ // InternalRBAModel.g:10221:4: enumLiteral_6= 'CENTER_TOP'
+ {
+ enumLiteral_6=(Token)match(input,162,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getBasePointAccess().getCENTER_TOPEnumLiteralDeclaration_6().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_6, grammarAccess.getBasePointAccess().getCENTER_TOPEnumLiteralDeclaration_6());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 8 :
+ // InternalRBAModel.g:10228:3: (enumLiteral_7= 'CENTER_MIDDLE' )
+ {
+ // InternalRBAModel.g:10228:3: (enumLiteral_7= 'CENTER_MIDDLE' )
+ // InternalRBAModel.g:10229:4: enumLiteral_7= 'CENTER_MIDDLE'
+ {
+ enumLiteral_7=(Token)match(input,163,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getBasePointAccess().getCENTER_MIDDLEEnumLiteralDeclaration_7().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_7, grammarAccess.getBasePointAccess().getCENTER_MIDDLEEnumLiteralDeclaration_7());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 9 :
+ // InternalRBAModel.g:10236:3: (enumLiteral_8= 'CENTER_BOTTOM' )
+ {
+ // InternalRBAModel.g:10236:3: (enumLiteral_8= 'CENTER_BOTTOM' )
+ // InternalRBAModel.g:10237:4: enumLiteral_8= 'CENTER_BOTTOM'
+ {
+ enumLiteral_8=(Token)match(input,164,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getBasePointAccess().getCENTER_BOTTOMEnumLiteralDeclaration_8().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_8, grammarAccess.getBasePointAccess().getCENTER_BOTTOMEnumLiteralDeclaration_8());
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleBasePoint"
+
+
+ // $ANTLR start "ruleLoserType"
+ // InternalRBAModel.g:10247:1: ruleLoserType returns [Enumerator current=null] : ( (enumLiteral_0= 'NEVER_GIVEUP' ) | (enumLiteral_1= 'GOOD_LOSER' ) | (enumLiteral_2= 'DO_NOT_GIVEUP_UNTIL_WIN' ) ) ;
+ public final Enumerator ruleLoserType() throws RecognitionException {
+ Enumerator current = null;
+
+ Token enumLiteral_0=null;
+ Token enumLiteral_1=null;
+ Token enumLiteral_2=null;
+
+
+ enterRule();
+
+ try {
+ // InternalRBAModel.g:10253:2: ( ( (enumLiteral_0= 'NEVER_GIVEUP' ) | (enumLiteral_1= 'GOOD_LOSER' ) | (enumLiteral_2= 'DO_NOT_GIVEUP_UNTIL_WIN' ) ) )
+ // InternalRBAModel.g:10254:2: ( (enumLiteral_0= 'NEVER_GIVEUP' ) | (enumLiteral_1= 'GOOD_LOSER' ) | (enumLiteral_2= 'DO_NOT_GIVEUP_UNTIL_WIN' ) )
+ {
+ // InternalRBAModel.g:10254:2: ( (enumLiteral_0= 'NEVER_GIVEUP' ) | (enumLiteral_1= 'GOOD_LOSER' ) | (enumLiteral_2= 'DO_NOT_GIVEUP_UNTIL_WIN' ) )
+ int alt126=3;
+ switch ( input.LA(1) ) {
+ case 165:
+ {
+ alt126=1;
+ }
+ break;
+ case 166:
+ {
+ alt126=2;
+ }
+ break;
+ case 167:
+ {
+ alt126=3;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return current;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 126, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt126) {
+ case 1 :
+ // InternalRBAModel.g:10255:3: (enumLiteral_0= 'NEVER_GIVEUP' )
+ {
+ // InternalRBAModel.g:10255:3: (enumLiteral_0= 'NEVER_GIVEUP' )
+ // InternalRBAModel.g:10256:4: enumLiteral_0= 'NEVER_GIVEUP'
+ {
+ enumLiteral_0=(Token)match(input,165,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getLoserTypeAccess().getNEVER_GIVEUPEnumLiteralDeclaration_0().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_0, grammarAccess.getLoserTypeAccess().getNEVER_GIVEUPEnumLiteralDeclaration_0());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:10263:3: (enumLiteral_1= 'GOOD_LOSER' )
+ {
+ // InternalRBAModel.g:10263:3: (enumLiteral_1= 'GOOD_LOSER' )
+ // InternalRBAModel.g:10264:4: enumLiteral_1= 'GOOD_LOSER'
+ {
+ enumLiteral_1=(Token)match(input,166,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getLoserTypeAccess().getGOOD_LOSEREnumLiteralDeclaration_1().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_1, grammarAccess.getLoserTypeAccess().getGOOD_LOSEREnumLiteralDeclaration_1());
+
+ }
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:10271:3: (enumLiteral_2= 'DO_NOT_GIVEUP_UNTIL_WIN' )
+ {
+ // InternalRBAModel.g:10271:3: (enumLiteral_2= 'DO_NOT_GIVEUP_UNTIL_WIN' )
+ // InternalRBAModel.g:10272:4: enumLiteral_2= 'DO_NOT_GIVEUP_UNTIL_WIN'
+ {
+ enumLiteral_2=(Token)match(input,167,FOLLOW_2); if (state.failed) return current;
+ if ( state.backtracking==0 ) {
+
+ current = grammarAccess.getLoserTypeAccess().getDO_NOT_GIVEUP_UNTIL_WINEnumLiteralDeclaration_2().getEnumLiteral().getInstance();
+ newLeafNode(enumLiteral_2, grammarAccess.getLoserTypeAccess().getDO_NOT_GIVEUP_UNTIL_WINEnumLiteralDeclaration_2());
+
+ }
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+
+ if ( state.backtracking==0 ) {
+
+ leaveRule();
+
+ }
+ }
+
+ catch (RecognitionException re) {
+ recover(input,re);
+ appendSkippedTokens();
+ }
+ finally {
+ }
+ return current;
+ }
+ // $ANTLR end "ruleLoserType"
+
+ // $ANTLR start synpred2_InternalRBAModel
+ public final void synpred2_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:3954:5: ( ( () ruleOpPlus ) )
+ // InternalRBAModel.g:3954:6: ( () ruleOpPlus )
+ {
+ // InternalRBAModel.g:3954:6: ( () ruleOpPlus )
+ // InternalRBAModel.g:3955:6: () ruleOpPlus
+ {
+ // InternalRBAModel.g:3955:6: ()
+ // InternalRBAModel.g:3956:6:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpPlus();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred2_InternalRBAModel
+
+ // $ANTLR start synpred3_InternalRBAModel
+ public final void synpred3_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:4048:5: ( ( () ruleOpAnd ) )
+ // InternalRBAModel.g:4048:6: ( () ruleOpAnd )
+ {
+ // InternalRBAModel.g:4048:6: ( () ruleOpAnd )
+ // InternalRBAModel.g:4049:6: () ruleOpAnd
+ {
+ // InternalRBAModel.g:4049:6: ()
+ // InternalRBAModel.g:4050:6:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpAnd();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred3_InternalRBAModel
+
+ // $ANTLR start synpred4_InternalRBAModel
+ public final void synpred4_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:4807:5: ( ( () ruleOpImplies ) )
+ // InternalRBAModel.g:4807:6: ( () ruleOpImplies )
+ {
+ // InternalRBAModel.g:4807:6: ( () ruleOpImplies )
+ // InternalRBAModel.g:4808:6: () ruleOpImplies
+ {
+ // InternalRBAModel.g:4808:6: ()
+ // InternalRBAModel.g:4809:6:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpImplies();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred4_InternalRBAModel
+
+ // $ANTLR start synpred5_InternalRBAModel
+ public final void synpred5_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:4901:5: ( ( () ruleOpOr ) )
+ // InternalRBAModel.g:4901:6: ( () ruleOpOr )
+ {
+ // InternalRBAModel.g:4901:6: ( () ruleOpOr )
+ // InternalRBAModel.g:4902:6: () ruleOpOr
+ {
+ // InternalRBAModel.g:4902:6: ()
+ // InternalRBAModel.g:4903:6:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpOr();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred5_InternalRBAModel
+
+ // $ANTLR start synpred6_InternalRBAModel
+ public final void synpred6_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:4995:5: ( ( () ruleOpAnd ) )
+ // InternalRBAModel.g:4995:6: ( () ruleOpAnd )
+ {
+ // InternalRBAModel.g:4995:6: ( () ruleOpAnd )
+ // InternalRBAModel.g:4996:6: () ruleOpAnd
+ {
+ // InternalRBAModel.g:4996:6: ()
+ // InternalRBAModel.g:4997:6:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpAnd();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred6_InternalRBAModel
+
+ // $ANTLR start synpred7_InternalRBAModel
+ public final void synpred7_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:5089:5: ( ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) ) )
+ // InternalRBAModel.g:5089:6: ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) )
+ {
+ // InternalRBAModel.g:5089:6: ( ( () ruleOpObjectCompare ) | ( () ruleOpObjectNotCompare ) | ( () ruleOpEquality ) )
+ int alt128=3;
+ switch ( input.LA(1) ) {
+ case 79:
+ {
+ alt128=1;
+ }
+ break;
+ case 80:
+ {
+ alt128=2;
+ }
+ break;
+ case 69:
+ {
+ alt128=3;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return ;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 128, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt128) {
+ case 1 :
+ // InternalRBAModel.g:5090:6: ( () ruleOpObjectCompare )
+ {
+ // InternalRBAModel.g:5090:6: ( () ruleOpObjectCompare )
+ // InternalRBAModel.g:5091:7: () ruleOpObjectCompare
+ {
+ // InternalRBAModel.g:5091:7: ()
+ // InternalRBAModel.g:5092:7:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpObjectCompare();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:5096:6: ( () ruleOpObjectNotCompare )
+ {
+ // InternalRBAModel.g:5096:6: ( () ruleOpObjectNotCompare )
+ // InternalRBAModel.g:5097:7: () ruleOpObjectNotCompare
+ {
+ // InternalRBAModel.g:5097:7: ()
+ // InternalRBAModel.g:5098:7:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpObjectNotCompare();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:5102:6: ( () ruleOpEquality )
+ {
+ // InternalRBAModel.g:5102:6: ( () ruleOpEquality )
+ // InternalRBAModel.g:5103:7: () ruleOpEquality
+ {
+ // InternalRBAModel.g:5103:7: ()
+ // InternalRBAModel.g:5104:7:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpEquality();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred7_InternalRBAModel
+
+ // $ANTLR start synpred8_InternalRBAModel
+ public final void synpred8_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:5277:5: ( ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) ) )
+ // InternalRBAModel.g:5277:6: ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) )
+ {
+ // InternalRBAModel.g:5277:6: ( ( () ruleOpIsGreaterThanEqual ) | ( () ruleOpIsLowerThanEqual ) | ( () ruleOpIsGreaterThan ) | ( () ruleOpIsLowerThan ) )
+ int alt129=4;
+ switch ( input.LA(1) ) {
+ case 81:
+ {
+ alt129=1;
+ }
+ break;
+ case 82:
+ {
+ alt129=2;
+ }
+ break;
+ case 33:
+ {
+ alt129=3;
+ }
+ break;
+ case 32:
+ {
+ alt129=4;
+ }
+ break;
+ default:
+ if (state.backtracking>0) {state.failed=true; return ;}
+ NoViableAltException nvae =
+ new NoViableAltException("", 129, 0, input);
+
+ throw nvae;
+ }
+
+ switch (alt129) {
+ case 1 :
+ // InternalRBAModel.g:5278:6: ( () ruleOpIsGreaterThanEqual )
+ {
+ // InternalRBAModel.g:5278:6: ( () ruleOpIsGreaterThanEqual )
+ // InternalRBAModel.g:5279:7: () ruleOpIsGreaterThanEqual
+ {
+ // InternalRBAModel.g:5279:7: ()
+ // InternalRBAModel.g:5280:7:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpIsGreaterThanEqual();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ break;
+ case 2 :
+ // InternalRBAModel.g:5284:6: ( () ruleOpIsLowerThanEqual )
+ {
+ // InternalRBAModel.g:5284:6: ( () ruleOpIsLowerThanEqual )
+ // InternalRBAModel.g:5285:7: () ruleOpIsLowerThanEqual
+ {
+ // InternalRBAModel.g:5285:7: ()
+ // InternalRBAModel.g:5286:7:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpIsLowerThanEqual();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ break;
+ case 3 :
+ // InternalRBAModel.g:5290:6: ( () ruleOpIsGreaterThan )
+ {
+ // InternalRBAModel.g:5290:6: ( () ruleOpIsGreaterThan )
+ // InternalRBAModel.g:5291:7: () ruleOpIsGreaterThan
+ {
+ // InternalRBAModel.g:5291:7: ()
+ // InternalRBAModel.g:5292:7:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpIsGreaterThan();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ break;
+ case 4 :
+ // InternalRBAModel.g:5296:6: ( () ruleOpIsLowerThan )
+ {
+ // InternalRBAModel.g:5296:6: ( () ruleOpIsLowerThan )
+ // InternalRBAModel.g:5297:7: () ruleOpIsLowerThan
+ {
+ // InternalRBAModel.g:5297:7: ()
+ // InternalRBAModel.g:5298:7:
+ {
+ }
+
+ pushFollow(FOLLOW_2);
+ ruleOpIsLowerThan();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ break;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred8_InternalRBAModel
+
+ // $ANTLR start synpred9_InternalRBAModel
+ public final void synpred9_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:5595:5: ( '.' )
+ // InternalRBAModel.g:5595:6: '.'
+ {
+ match(input,71,FOLLOW_2); if (state.failed) return ;
+
+ }
+ }
+ // $ANTLR end synpred9_InternalRBAModel
+
+ // $ANTLR start synpred11_InternalRBAModel
+ public final void synpred11_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:6210:7: ( ( '(' ( ( ruleEString ) )? ')' ) )
+ // InternalRBAModel.g:6210:8: ( '(' ( ( ruleEString ) )? ')' )
+ {
+ // InternalRBAModel.g:6210:8: ( '(' ( ( ruleEString ) )? ')' )
+ // InternalRBAModel.g:6211:8: '(' ( ( ruleEString ) )? ')'
+ {
+ match(input,34,FOLLOW_59); if (state.failed) return ;
+ // InternalRBAModel.g:6212:8: ( ( ruleEString ) )?
+ int alt131=2;
+ int LA131_0 = input.LA(1);
+
+ if ( (LA131_0==RULE_STRING) ) {
+ alt131=1;
+ }
+ switch (alt131) {
+ case 1 :
+ // InternalRBAModel.g:6213:9: ( ruleEString )
+ {
+ // InternalRBAModel.g:6213:9: ( ruleEString )
+ // InternalRBAModel.g:6214:10: ruleEString
+ {
+ pushFollow(FOLLOW_48);
+ ruleEString();
+
+ state._fsp--;
+ if (state.failed) return ;
+
+ }
+
+
+ }
+ break;
+
+ }
+
+ match(input,35,FOLLOW_2); if (state.failed) return ;
+
+ }
+
+
+ }
+ }
+ // $ANTLR end synpred11_InternalRBAModel
+
+ // $ANTLR start synpred17_InternalRBAModel
+ public final void synpred17_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:7797:5: ( 'THEN' )
+ // InternalRBAModel.g:7797:6: 'THEN'
+ {
+ match(input,129,FOLLOW_2); if (state.failed) return ;
+
+ }
+ }
+ // $ANTLR end synpred17_InternalRBAModel
+
+ // $ANTLR start synpred18_InternalRBAModel
+ public final void synpred18_InternalRBAModel_fragment() throws RecognitionException {
+ // InternalRBAModel.g:7825:5: ( 'ELSE' )
+ // InternalRBAModel.g:7825:6: 'ELSE'
+ {
+ match(input,130,FOLLOW_2); if (state.failed) return ;
+
+ }
+ }
+ // $ANTLR end synpred18_InternalRBAModel
+
+ // Delegated rules
+
+ public final boolean synpred3_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred3_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred8_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred8_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred9_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred9_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred2_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred2_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred7_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred7_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred4_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred4_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred11_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred11_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred5_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred5_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred6_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred6_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred18_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred18_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+ public final boolean synpred17_InternalRBAModel() {
+ state.backtracking++;
+ int start = input.mark();
+ try {
+ synpred17_InternalRBAModel_fragment(); // can never throw exception
+ } catch (RecognitionException re) {
+ System.err.println("impossible: "+re);
+ }
+ boolean success = !state.failed;
+ input.rewind(start);
+ state.backtracking--;
+ state.failed=false;
+ return success;
+ }
+
+
+ protected DFA21 dfa21 = new DFA21(this);
+ protected DFA83 dfa83 = new DFA83(this);
+ protected DFA91 dfa91 = new DFA91(this);
+ static final String dfa_1s = "\21\uffff";
+ static final String dfa_2s = "\1\34\1\uffff\16\0\1\uffff";
+ static final String dfa_3s = "\1\u0089\1\uffff\16\0\1\uffff";
+ static final String dfa_4s = "\1\uffff\1\2\16\uffff\1\1";
+ static final String dfa_5s = "\2\uffff\1\10\1\6\1\0\1\1\1\3\1\7\1\2\1\15\1\11\1\4\1\12\1\5\1\13\1\14\1\uffff}>";
+ static final String[] dfa_6s = {
+ "\1\1\1\2\1\1\1\3\4\uffff\1\11\1\12\1\5\1\4\1\15\1\16\5\uffff\1\17\6\uffff\1\13\1\uffff\1\14\116\uffff\1\6\1\7\1\10",
+ "",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ "\1\uffff",
+ ""
+ };
+
+ static final short[] dfa_1 = DFA.unpackEncodedString(dfa_1s);
+ static final char[] dfa_2 = DFA.unpackEncodedStringToUnsignedChars(dfa_2s);
+ static final char[] dfa_3 = DFA.unpackEncodedStringToUnsignedChars(dfa_3s);
+ static final short[] dfa_4 = DFA.unpackEncodedString(dfa_4s);
+ static final short[] dfa_5 = DFA.unpackEncodedString(dfa_5s);
+ static final short[][] dfa_6 = unpackEncodedStringArray(dfa_6s);
+
+ class DFA21 extends DFA {
+
+ public DFA21(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 21;
+ this.eot = dfa_1;
+ this.eof = dfa_1;
+ this.min = dfa_2;
+ this.max = dfa_3;
+ this.accept = dfa_4;
+ this.special = dfa_5;
+ this.transition = dfa_6;
+ }
+ public String getDescription() {
+ return "()+ loopback of 1043:9: ({...}? => ( (lv_packagableelement_7_0= rulePackagableElement ) ) )+";
+ }
+ public int specialStateTransition(int s, IntStream _input) throws NoViableAltException {
+ TokenStream input = (TokenStream)_input;
+ int _s = s;
+ switch ( s ) {
+ case 0 :
+ int LA21_4 = input.LA(1);
+
+
+ int index21_4 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_4);
+ if ( s>=0 ) return s;
+ break;
+ case 1 :
+ int LA21_5 = input.LA(1);
+
+
+ int index21_5 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_5);
+ if ( s>=0 ) return s;
+ break;
+ case 2 :
+ int LA21_8 = input.LA(1);
+
+
+ int index21_8 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_8);
+ if ( s>=0 ) return s;
+ break;
+ case 3 :
+ int LA21_6 = input.LA(1);
+
+
+ int index21_6 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_6);
+ if ( s>=0 ) return s;
+ break;
+ case 4 :
+ int LA21_11 = input.LA(1);
+
+
+ int index21_11 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_11);
+ if ( s>=0 ) return s;
+ break;
+ case 5 :
+ int LA21_13 = input.LA(1);
+
+
+ int index21_13 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_13);
+ if ( s>=0 ) return s;
+ break;
+ case 6 :
+ int LA21_3 = input.LA(1);
+
+
+ int index21_3 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_3);
+ if ( s>=0 ) return s;
+ break;
+ case 7 :
+ int LA21_7 = input.LA(1);
+
+
+ int index21_7 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_7);
+ if ( s>=0 ) return s;
+ break;
+ case 8 :
+ int LA21_2 = input.LA(1);
+
+
+ int index21_2 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_2);
+ if ( s>=0 ) return s;
+ break;
+ case 9 :
+ int LA21_10 = input.LA(1);
+
+
+ int index21_10 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_10);
+ if ( s>=0 ) return s;
+ break;
+ case 10 :
+ int LA21_12 = input.LA(1);
+
+
+ int index21_12 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_12);
+ if ( s>=0 ) return s;
+ break;
+ case 11 :
+ int LA21_14 = input.LA(1);
+
+
+ int index21_14 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_14);
+ if ( s>=0 ) return s;
+ break;
+ case 12 :
+ int LA21_15 = input.LA(1);
+
+
+ int index21_15 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_15);
+ if ( s>=0 ) return s;
+ break;
+ case 13 :
+ int LA21_9 = input.LA(1);
+
+
+ int index21_9 = input.index();
+ input.rewind();
+ s = -1;
+ if ( ((true)) ) {s = 16;}
+
+ else if ( (true) ) {s = 1;}
+
+
+ input.seek(index21_9);
+ if ( s>=0 ) return s;
+ break;
+ }
+ if (state.backtracking>0) {state.failed=true; return -1;}
+ NoViableAltException nvae =
+ new NoViableAltException(getDescription(), 21, _s, input);
+ error(nvae);
+ throw nvae;
+ }
+ }
+ static final String dfa_7s = "\15\uffff";
+ static final String dfa_8s = "\1\4\14\uffff";
+ static final String dfa_9s = "\1\u0096\14\uffff";
+ static final String dfa_10s = "\1\uffff\1\1\1\2\1\3\1\4\1\5\1\6\1\7\1\10\1\11\1\12\1\13\1\14";
+ static final String dfa_11s = "\15\uffff}>";
+ static final String[] dfa_12s = {
+ "\1\5\2\uffff\1\1\22\uffff\1\10\7\uffff\1\14\125\uffff\4\3\1\4\1\2\1\7\1\6\1\11\2\uffff\1\12\1\13\17\uffff\1\5\1\uffff\1\1",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ "",
+ ""
+ };
+
+ static final short[] dfa_7 = DFA.unpackEncodedString(dfa_7s);
+ static final char[] dfa_8 = DFA.unpackEncodedStringToUnsignedChars(dfa_8s);
+ static final char[] dfa_9 = DFA.unpackEncodedStringToUnsignedChars(dfa_9s);
+ static final short[] dfa_10 = DFA.unpackEncodedString(dfa_10s);
+ static final short[] dfa_11 = DFA.unpackEncodedString(dfa_11s);
+ static final short[][] dfa_12 = unpackEncodedStringArray(dfa_12s);
+
+ class DFA83 extends DFA {
+
+ public DFA83(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 83;
+ this.eot = dfa_7;
+ this.eof = dfa_7;
+ this.min = dfa_8;
+ this.max = dfa_9;
+ this.accept = dfa_10;
+ this.special = dfa_11;
+ this.transition = dfa_12;
+ }
+ public String getDescription() {
+ return "7191:2: (this_CMemberFeatureReference_0= ruleCMemberFeatureReference | this_PreviousModifier_1= rulePreviousModifier | this_AllInstanceOfExpression_2= ruleAllInstanceOfExpression | this_NullExpression_3= ruleNullExpression | this_IntegerValue_4= ruleIntegerValue | this_MuteLowerPriority_5= ruleMuteLowerPriority | this_HideLowerPriority_6= ruleHideLowerPriority | this_SetOfOperator_7= ruleSetOfOperator | this_IfStatement_8= ruleIfStatement | this_ForAllOperator_9= ruleForAllOperator | this_ExistsOperator_10= ruleExistsOperator | (otherlv_11= '(' this_CExpression_12= ruleCExpression otherlv_13= ')' ) )";
+ }
+ }
+ static final String dfa_13s = "\6\uffff";
+ static final String dfa_14s = "\1\4\1\34\2\uffff\1\7\1\34";
+ static final String dfa_15s = "\1\u0096\1\u0085\2\uffff\1\167\1\u0085";
+ static final String dfa_16s = "\2\uffff\1\1\1\2\2\uffff";
+ static final String dfa_17s = "\6\uffff}>";
+ static final String[] dfa_18s = {
+ "\1\3\2\uffff\1\1\22\uffff\1\3\7\uffff\1\3\60\uffff\1\3\44\uffff\11\3\2\uffff\2\3\1\2\1\3\15\uffff\1\3\1\uffff\1\3",
+ "\1\3\3\uffff\2\3\43\uffff\1\3\1\uffff\1\4\4\uffff\7\3\62\uffff\1\2",
+ "",
+ "",
+ "\1\5\114\uffff\44\3",
+ "\1\3\3\uffff\2\3\43\uffff\1\3\1\uffff\1\4\4\uffff\7\3\62\uffff\1\2"
+ };
+
+ static final short[] dfa_13 = DFA.unpackEncodedString(dfa_13s);
+ static final char[] dfa_14 = DFA.unpackEncodedStringToUnsignedChars(dfa_14s);
+ static final char[] dfa_15 = DFA.unpackEncodedStringToUnsignedChars(dfa_15s);
+ static final short[] dfa_16 = DFA.unpackEncodedString(dfa_16s);
+ static final short[] dfa_17 = DFA.unpackEncodedString(dfa_17s);
+ static final short[][] dfa_18 = unpackEncodedStringArray(dfa_18s);
+
+ class DFA91 extends DFA {
+
+ public DFA91(BaseRecognizer recognizer) {
+ this.recognizer = recognizer;
+ this.decisionNumber = 91;
+ this.eot = dfa_13;
+ this.eof = dfa_13;
+ this.min = dfa_14;
+ this.max = dfa_15;
+ this.accept = dfa_16;
+ this.special = dfa_17;
+ this.transition = dfa_18;
+ }
+ public String getDescription() {
+ return "8039:3: ( ( (lv_x_2_0= ruleVariable ) )? otherlv_3= '|' )?";
+ }
+ }
+
+
+ public static final BitSet FOLLOW_1 = new BitSet(new long[]{0x0000000000000000L});
+ public static final BitSet FOLLOW_2 = new BitSet(new long[]{0x0000000000000002L});
+ public static final BitSet FOLLOW_3 = new BitSet(new long[]{0x0000000000000080L});
+ public static final BitSet FOLLOW_4 = new BitSet(new long[]{0x0000000020080002L,0x0000000000000004L});
+ public static final BitSet FOLLOW_5 = new BitSet(new long[]{0x0000000020080002L});
+ public static final BitSet FOLLOW_6 = new BitSet(new long[]{0x0000000020000002L});
+ public static final BitSet FOLLOW_7 = new BitSet(new long[]{0x0000000000200002L});
+ public static final BitSet FOLLOW_8 = new BitSet(new long[]{0x0000000000000010L,0x0000000000000000L,0x0000000000100000L});
+ public static final BitSet FOLLOW_9 = new BitSet(new long[]{0x0000000000800000L});
+ public static final BitSet FOLLOW_10 = new BitSet(new long[]{0x0000000004000002L});
+ public static final BitSet FOLLOW_11 = new BitSet(new long[]{0x0000000002000000L});
+ public static final BitSet FOLLOW_12 = new BitSet(new long[]{0x0000000010000020L});
+ public static final BitSet FOLLOW_13 = new BitSet(new long[]{0x0000000018000000L});
+ public static final BitSet FOLLOW_14 = new BitSet(new long[]{0x0000000000000020L});
+ public static final BitSet FOLLOW_15 = new BitSet(new long[]{0x0000000004000000L});
+ public static final BitSet FOLLOW_16 = new BitSet(new long[]{0x014083F0F0000000L,0x0000000000000000L,0x0000000000000380L});
+ public static final BitSet FOLLOW_17 = new BitSet(new long[]{0x0000000100000000L});
+ public static final BitSet FOLLOW_18 = new BitSet(new long[]{0x000000F000000000L});
+ public static final BitSet FOLLOW_19 = new BitSet(new long[]{0x0000000200000000L});
+ public static final BitSet FOLLOW_20 = new BitSet(new long[]{0x0000000400000000L});
+ public static final BitSet FOLLOW_21 = new BitSet(new long[]{0x0000000800000080L});
+ public static final BitSet FOLLOW_22 = new BitSet(new long[]{0x0000000808000000L});
+ public static final BitSet FOLLOW_23 = new BitSet(new long[]{0x0000000000000042L});
+ public static final BitSet FOLLOW_24 = new BitSet(new long[]{0x034483F0F0000000L,0x0000000000000000L,0x0000000000000380L});
+ public static final BitSet FOLLOW_25 = new BitSet(new long[]{0x0000040454000090L,0xFF00000000080000L,0x0000000000500059L});
+ public static final BitSet FOLLOW_26 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x00000000000C0000L});
+ public static final BitSet FOLLOW_27 = new BitSet(new long[]{0x01449BF0F1400000L,0x0000000000000001L,0x0000000000000380L});
+ public static final BitSet FOLLOW_28 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x000000E000000000L});
+ public static final BitSet FOLLOW_29 = new BitSet(new long[]{0x0000200000000000L});
+ public static final BitSet FOLLOW_30 = new BitSet(new long[]{0x0000400000000080L});
+ public static final BitSet FOLLOW_31 = new BitSet(new long[]{0x0000400008000000L});
+ public static final BitSet FOLLOW_32 = new BitSet(new long[]{0x0003000050000000L});
+ public static final BitSet FOLLOW_33 = new BitSet(new long[]{0x0034000050000000L});
+ public static final BitSet FOLLOW_34 = new BitSet(new long[]{0x0080000050000000L});
+ public static final BitSet FOLLOW_35 = new BitSet(new long[]{0x0400000050000000L});
+ public static final BitSet FOLLOW_36 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x000000000000C800L});
+ public static final BitSet FOLLOW_37 = new BitSet(new long[]{0x79449BF0F1400000L,0x0000000000000001L,0x0000000000000380L});
+ public static final BitSet FOLLOW_38 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x000000000F800000L});
+ public static final BitSet FOLLOW_39 = new BitSet(new long[]{0x0000000700800010L,0x0000000000000F60L,0x0000000000100000L});
+ public static final BitSet FOLLOW_40 = new BitSet(new long[]{0xB9449BF0F1400000L,0x0000000000000001L,0x0000000000000380L});
+ public static final BitSet FOLLOW_41 = new BitSet(new long[]{0x2000000050000000L,0x0000000000000002L});
+ public static final BitSet FOLLOW_42 = new BitSet(new long[]{0x0000000004000080L});
+ public static final BitSet FOLLOW_43 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000008L});
+ public static final BitSet FOLLOW_44 = new BitSet(new long[]{0x0000000010000000L});
+ public static final BitSet FOLLOW_45 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000010L});
+ public static final BitSet FOLLOW_46 = new BitSet(new long[]{0x0000000000000002L,0x0000000000004000L});
+ public static final BitSet FOLLOW_47 = new BitSet(new long[]{0x0000000400000010L,0x0000000000000F40L,0x0000000000100000L});
+ public static final BitSet FOLLOW_48 = new BitSet(new long[]{0x0000000800000000L});
+ public static final BitSet FOLLOW_49 = new BitSet(new long[]{0x0000000000000082L});
+ public static final BitSet FOLLOW_50 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000080L});
+ public static final BitSet FOLLOW_51 = new BitSet(new long[]{0x0000000000000002L,0x0000000000001000L});
+ public static final BitSet FOLLOW_52 = new BitSet(new long[]{0x0000040444000090L,0xFF00000000080000L,0x0000000000500059L});
+ public static final BitSet FOLLOW_53 = new BitSet(new long[]{0x0000000000000002L,0x0000000000002000L});
+ public static final BitSet FOLLOW_54 = new BitSet(new long[]{0x0000000000000002L,0x0000000000018020L});
+ public static final BitSet FOLLOW_55 = new BitSet(new long[]{0x0000000300000002L,0x0000000000060000L});
+ public static final BitSet FOLLOW_56 = new BitSet(new long[]{0x0000000000000000L,0x00FFFFFFFFF00000L});
+ public static final BitSet FOLLOW_57 = new BitSet(new long[]{0x0000040C44000090L,0xFF00000000080000L,0x0000000000500059L});
+ public static final BitSet FOLLOW_58 = new BitSet(new long[]{0x0000000400000002L,0x0000000000000080L});
+ public static final BitSet FOLLOW_59 = new BitSet(new long[]{0x0000000800000020L});
+ public static final BitSet FOLLOW_60 = new BitSet(new long[]{0x0000000000000080L,0x0000000000000000L,0x0000000000400000L});
+ public static final BitSet FOLLOW_61 = new BitSet(new long[]{0x0000000008000000L});
+ public static final BitSet FOLLOW_62 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000000006L});
+ public static final BitSet FOLLOW_63 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000000004L});
+ public static final BitSet FOLLOW_64 = new BitSet(new long[]{0x0000040444000090L,0xFF00000000080000L,0x0000000000500079L});
+ public static final BitSet FOLLOW_65 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000000000000020L});
+ public static final BitSet FOLLOW_66 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000020L});
+ public static final BitSet FOLLOW_67 = new BitSet(new long[]{0x0080100050000000L});
+ public static final BitSet FOLLOW_68 = new BitSet(new long[]{0x0000000050100000L,0x0000000000000000L,0x0000000000000400L});
+ public static final BitSet FOLLOW_69 = new BitSet(new long[]{0x0000000010000000L,0x0000000000000000L,0x0000000000003000L});
+ public static final BitSet FOLLOW_70 = new BitSet(new long[]{0x0000000000000000L,0x0000000000000000L,0x0000001FF0000000L});
+ public static final BitSet FOLLOW_71 = new BitSet(new long[]{0x0000000010000000L,0x0000000000000000L,0x0000000000010000L});
+ public static final BitSet FOLLOW_72 = new BitSet(new long[]{0x0038000010000000L,0x0000000000000000L,0x0000000000021000L});
+ public static final BitSet FOLLOW_73 = new BitSet(new long[]{0x0000000000000010L});
+ public static final BitSet FOLLOW_74 = new BitSet(new long[]{0x0000000000000002L,0x0000000000000000L,0x0000000000200000L});
+
+}