blob: 07e11670e9a90100b7ce2fe3a96b567c17b4b4ac [file] [log] [blame]
/**
* Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf), Loetz GmbH&Co.KG (Heidelberg)
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Florian Pirchner - Initial implementation
*/
package org.eclipse.osbp.ecview.uisemantics.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.xtext.parser.antlr.AbstractInternalAntlrParser;
import org.eclipse.xtext.parser.antlr.XtextTokenStream;
import org.eclipse.xtext.parser.antlr.XtextTokenStream.HiddenTokens;
import org.eclipse.xtext.parser.antlr.AntlrDatatypeRuleToken;
import org.eclipse.osbp.ecview.uisemantics.services.UISemanticsGrammarGrammarAccess;
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 InternalUISemanticsGrammarParser extends AbstractInternalAntlrParser {
public static final String[] tokenNames = new String[] {
"<invalid>", "<EOR>", "<DOWN>", "<UP>", "RULE_STRING", "RULE_ID", "RULE_HEX", "RULE_INT", "RULE_DECIMAL", "RULE_ML_COMMENT", "RULE_SL_COMMENT", "RULE_WS", "RULE_ANY_OTHER", "'actions'", "'{'", "'}'", "'categories'", "'externalCommand'", "'disabled'", "'import'", "'static'", "'extension'", "'*'", "'ePackage'", "';'", "'as'", "'element'", "'bindings'", "'visibility'", "'validator'", "'property'", "'uri'", "':'", "'final'", "'list'", "'endpoint'", "'target'", "'='", "'+='", "'-='", "'*='", "'/='", "'%='", "'<'", "'>'", "'>='", "'||'", "'&&'", "'=='", "'!='", "'==='", "'!=='", "'instanceof'", "'->'", "'..<'", "'..'", "'=>'", "'<>'", "'?:'", "'+'", "'-'", "'**'", "'/'", "'%'", "'!'", "'++'", "'--'", "'.'", "'::'", "'?.'", "','", "'('", "')'", "'#'", "'['", "']'", "'|'", "'if'", "'else'", "'switch'", "'default'", "'case'", "'for'", "'while'", "'do'", "'var'", "'val'", "'extends'", "'super'", "'new'", "'false'", "'true'", "'null'", "'typeof'", "'throw'", "'return'", "'try'", "'finally'", "'synchronized'", "'catch'", "'?'", "'&'"
};
public static final int RULE_HEX=6;
public static final int T__50=50;
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__52=52;
public static final int T__53=53;
public static final int T__54=54;
public static final int T__60=60;
public static final int T__61=61;
public static final int RULE_ID=5;
public static final int RULE_INT=7;
public static final int T__66=66;
public static final int RULE_ML_COMMENT=9;
public static final int T__67=67;
public static final int T__68=68;
public static final int T__69=69;
public static final int T__62=62;
public static final int T__63=63;
public static final int T__64=64;
public static final int T__65=65;
public static final int T__37=37;
public static final int T__38=38;
public static final int T__39=39;
public static final int T__33=33;
public static final int T__34=34;
public static final int T__35=35;
public static final int T__36=36;
public static final int T__30=30;
public static final int T__31=31;
public static final int T__32=32;
public static final int T__48=48;
public static final int T__49=49;
public static final int T__44=44;
public static final int T__45=45;
public static final int T__46=46;
public static final int T__47=47;
public static final int T__40=40;
public static final int T__41=41;
public static final int T__42=42;
public static final int T__43=43;
public static final int T__91=91;
public static final int T__100=100;
public static final int T__92=92;
public static final int T__93=93;
public static final int T__94=94;
public static final int T__101=101;
public static final int T__90=90;
public static final int T__19=19;
public static final int T__15=15;
public static final int T__16=16;
public static final int T__17=17;
public static final int T__18=18;
public static final int T__99=99;
public static final int T__13=13;
public static final int T__14=14;
public static final int T__95=95;
public static final int T__96=96;
public static final int T__97=97;
public static final int T__98=98;
public static final int RULE_DECIMAL=8;
public static final int T__26=26;
public static final int T__27=27;
public static final int T__28=28;
public static final int T__29=29;
public static final int T__22=22;
public static final int T__23=23;
public static final int T__24=24;
public static final int T__25=25;
public static final int T__20=20;
public static final int T__21=21;
public static final int T__70=70;
public static final int T__71=71;
public static final int T__72=72;
public static final int RULE_STRING=4;
public static final int RULE_SL_COMMENT=10;
public static final int T__77=77;
public static final int T__78=78;
public static final int T__79=79;
public static final int T__73=73;
public static final int EOF=-1;
public static final int T__74=74;
public static final int T__75=75;
public static final int T__76=76;
public static final int T__80=80;
public static final int T__81=81;
public static final int T__82=82;
public static final int T__83=83;
public static final int RULE_WS=11;
public static final int RULE_ANY_OTHER=12;
public static final int T__88=88;
public static final int T__89=89;
public static final int T__84=84;
public static final int T__85=85;
public static final int T__86=86;
public static final int T__87=87;
// delegates
// delegators
public InternalUISemanticsGrammarParser(TokenStream input) {
this(input, new RecognizerSharedState());
}
public InternalUISemanticsGrammarParser(TokenStream input, RecognizerSharedState state) {
super(input, state);
}
public String[] getTokenNames() { return InternalUISemanticsGrammarParser.tokenNames; }
public String getGrammarFileName() { return "../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g"; }
private UISemanticsGrammarGrammarAccess grammarAccess;
public InternalUISemanticsGrammarParser(TokenStream input, UISemanticsGrammarGrammarAccess grammarAccess) {
this(input);
this.grammarAccess = grammarAccess;
registerRules(grammarAccess.getGrammar());
}
@Override
protected String getFirstRuleName() {
return "UxModel";
}
@Override
protected UISemanticsGrammarGrammarAccess getGrammarAccess() {
return grammarAccess;
}
// $ANTLR start "entryRuleUxModel"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:67:1: entryRuleUxModel returns [EObject current=null] : iv_ruleUxModel= ruleUxModel EOF ;
public final EObject entryRuleUxModel() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxModel = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:68:2: (iv_ruleUxModel= ruleUxModel EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:69:2: iv_ruleUxModel= ruleUxModel EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxModelRule());
}
pushFollow(FOLLOW_ruleUxModel_in_entryRuleUxModel75);
iv_ruleUxModel=ruleUxModel();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxModel;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxModel85); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxModel"
// $ANTLR start "ruleUxModel"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:76:1: ruleUxModel returns [EObject current=null] : ( () ( (lv_importSection_1_0= ruleXImportSection ) )? (otherlv_2= 'actions' otherlv_3= '{' ( (lv_viewActions_4_0= ruleUxAction ) )* otherlv_5= '}' )? (otherlv_6= 'categories' otherlv_7= '{' ( (lv_categories_8_0= ruleUxViewCategory ) )* otherlv_9= '}' )? ( (lv_elementDefinitions_10_0= ruleUxElementDefinition ) )* ) ;
public final EObject ruleUxModel() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token otherlv_3=null;
Token otherlv_5=null;
Token otherlv_6=null;
Token otherlv_7=null;
Token otherlv_9=null;
EObject lv_importSection_1_0 = null;
EObject lv_viewActions_4_0 = null;
EObject lv_categories_8_0 = null;
EObject lv_elementDefinitions_10_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:79:28: ( ( () ( (lv_importSection_1_0= ruleXImportSection ) )? (otherlv_2= 'actions' otherlv_3= '{' ( (lv_viewActions_4_0= ruleUxAction ) )* otherlv_5= '}' )? (otherlv_6= 'categories' otherlv_7= '{' ( (lv_categories_8_0= ruleUxViewCategory ) )* otherlv_9= '}' )? ( (lv_elementDefinitions_10_0= ruleUxElementDefinition ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:80:1: ( () ( (lv_importSection_1_0= ruleXImportSection ) )? (otherlv_2= 'actions' otherlv_3= '{' ( (lv_viewActions_4_0= ruleUxAction ) )* otherlv_5= '}' )? (otherlv_6= 'categories' otherlv_7= '{' ( (lv_categories_8_0= ruleUxViewCategory ) )* otherlv_9= '}' )? ( (lv_elementDefinitions_10_0= ruleUxElementDefinition ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:80:1: ( () ( (lv_importSection_1_0= ruleXImportSection ) )? (otherlv_2= 'actions' otherlv_3= '{' ( (lv_viewActions_4_0= ruleUxAction ) )* otherlv_5= '}' )? (otherlv_6= 'categories' otherlv_7= '{' ( (lv_categories_8_0= ruleUxViewCategory ) )* otherlv_9= '}' )? ( (lv_elementDefinitions_10_0= ruleUxElementDefinition ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:80:2: () ( (lv_importSection_1_0= ruleXImportSection ) )? (otherlv_2= 'actions' otherlv_3= '{' ( (lv_viewActions_4_0= ruleUxAction ) )* otherlv_5= '}' )? (otherlv_6= 'categories' otherlv_7= '{' ( (lv_categories_8_0= ruleUxViewCategory ) )* otherlv_9= '}' )? ( (lv_elementDefinitions_10_0= ruleUxElementDefinition ) )*
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:80:2: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:81:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getUxModelAccess().getUxModelAction_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:86:2: ( (lv_importSection_1_0= ruleXImportSection ) )?
int alt1=2;
int LA1_0 = input.LA(1);
if ( (LA1_0==19||LA1_0==23) ) {
alt1=1;
}
switch (alt1) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:87:1: (lv_importSection_1_0= ruleXImportSection )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:87:1: (lv_importSection_1_0= ruleXImportSection )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:88:3: lv_importSection_1_0= ruleXImportSection
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxModelAccess().getImportSectionXImportSectionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXImportSection_in_ruleUxModel140);
lv_importSection_1_0=ruleXImportSection();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxModelRule());
}
set(
current,
"importSection",
lv_importSection_1_0,
"XImportSection");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:104:3: (otherlv_2= 'actions' otherlv_3= '{' ( (lv_viewActions_4_0= ruleUxAction ) )* otherlv_5= '}' )?
int alt3=2;
int LA3_0 = input.LA(1);
if ( (LA3_0==13) ) {
alt3=1;
}
switch (alt3) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:104:5: otherlv_2= 'actions' otherlv_3= '{' ( (lv_viewActions_4_0= ruleUxAction ) )* otherlv_5= '}'
{
otherlv_2=(Token)match(input,13,FOLLOW_13_in_ruleUxModel154); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getUxModelAccess().getActionsKeyword_2_0());
}
otherlv_3=(Token)match(input,14,FOLLOW_14_in_ruleUxModel166); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getUxModelAccess().getLeftCurlyBracketKeyword_2_1());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:112:1: ( (lv_viewActions_4_0= ruleUxAction ) )*
loop2:
do {
int alt2=2;
int LA2_0 = input.LA(1);
if ( (LA2_0==RULE_ID) ) {
alt2=1;
}
switch (alt2) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:113:1: (lv_viewActions_4_0= ruleUxAction )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:113:1: (lv_viewActions_4_0= ruleUxAction )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:114:3: lv_viewActions_4_0= ruleUxAction
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxModelAccess().getViewActionsUxActionParserRuleCall_2_2_0());
}
pushFollow(FOLLOW_ruleUxAction_in_ruleUxModel187);
lv_viewActions_4_0=ruleUxAction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxModelRule());
}
add(
current,
"viewActions",
lv_viewActions_4_0,
"UxAction");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop2;
}
} while (true);
otherlv_5=(Token)match(input,15,FOLLOW_15_in_ruleUxModel200); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getUxModelAccess().getRightCurlyBracketKeyword_2_3());
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:134:3: (otherlv_6= 'categories' otherlv_7= '{' ( (lv_categories_8_0= ruleUxViewCategory ) )* otherlv_9= '}' )?
int alt5=2;
int LA5_0 = input.LA(1);
if ( (LA5_0==16) ) {
alt5=1;
}
switch (alt5) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:134:5: otherlv_6= 'categories' otherlv_7= '{' ( (lv_categories_8_0= ruleUxViewCategory ) )* otherlv_9= '}'
{
otherlv_6=(Token)match(input,16,FOLLOW_16_in_ruleUxModel215); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getUxModelAccess().getCategoriesKeyword_3_0());
}
otherlv_7=(Token)match(input,14,FOLLOW_14_in_ruleUxModel227); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getUxModelAccess().getLeftCurlyBracketKeyword_3_1());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:142:1: ( (lv_categories_8_0= ruleUxViewCategory ) )*
loop4:
do {
int alt4=2;
int LA4_0 = input.LA(1);
if ( (LA4_0==RULE_ID) ) {
alt4=1;
}
switch (alt4) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:143:1: (lv_categories_8_0= ruleUxViewCategory )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:143:1: (lv_categories_8_0= ruleUxViewCategory )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:144:3: lv_categories_8_0= ruleUxViewCategory
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxModelAccess().getCategoriesUxViewCategoryParserRuleCall_3_2_0());
}
pushFollow(FOLLOW_ruleUxViewCategory_in_ruleUxModel248);
lv_categories_8_0=ruleUxViewCategory();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxModelRule());
}
add(
current,
"categories",
lv_categories_8_0,
"UxViewCategory");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop4;
}
} while (true);
otherlv_9=(Token)match(input,15,FOLLOW_15_in_ruleUxModel261); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getUxModelAccess().getRightCurlyBracketKeyword_3_3());
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:164:3: ( (lv_elementDefinitions_10_0= ruleUxElementDefinition ) )*
loop6:
do {
int alt6=2;
int LA6_0 = input.LA(1);
if ( (LA6_0==26) ) {
alt6=1;
}
switch (alt6) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:165:1: (lv_elementDefinitions_10_0= ruleUxElementDefinition )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:165:1: (lv_elementDefinitions_10_0= ruleUxElementDefinition )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:166:3: lv_elementDefinitions_10_0= ruleUxElementDefinition
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxModelAccess().getElementDefinitionsUxElementDefinitionParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleUxElementDefinition_in_ruleUxModel284);
lv_elementDefinitions_10_0=ruleUxElementDefinition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxModelRule());
}
add(
current,
"elementDefinitions",
lv_elementDefinitions_10_0,
"UxElementDefinition");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop6;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxModel"
// $ANTLR start "entryRuleUxAction"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:190:1: entryRuleUxAction returns [EObject current=null] : iv_ruleUxAction= ruleUxAction EOF ;
public final EObject entryRuleUxAction() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxAction = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:191:2: (iv_ruleUxAction= ruleUxAction EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:192:2: iv_ruleUxAction= ruleUxAction EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxActionRule());
}
pushFollow(FOLLOW_ruleUxAction_in_entryRuleUxAction321);
iv_ruleUxAction=ruleUxAction();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxAction;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxAction331); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxAction"
// $ANTLR start "ruleUxAction"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:199:1: ruleUxAction returns [EObject current=null] : ( ( (lv_name_0_0= ruleQualifiedName ) ) (otherlv_1= 'externalCommand' ( (lv_externalCommandId_2_0= RULE_STRING ) ) )? ( (lv_initialDisabled_3_0= 'disabled' ) )? ) ;
public final EObject ruleUxAction() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_externalCommandId_2_0=null;
Token lv_initialDisabled_3_0=null;
AntlrDatatypeRuleToken lv_name_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:202:28: ( ( ( (lv_name_0_0= ruleQualifiedName ) ) (otherlv_1= 'externalCommand' ( (lv_externalCommandId_2_0= RULE_STRING ) ) )? ( (lv_initialDisabled_3_0= 'disabled' ) )? ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:203:1: ( ( (lv_name_0_0= ruleQualifiedName ) ) (otherlv_1= 'externalCommand' ( (lv_externalCommandId_2_0= RULE_STRING ) ) )? ( (lv_initialDisabled_3_0= 'disabled' ) )? )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:203:1: ( ( (lv_name_0_0= ruleQualifiedName ) ) (otherlv_1= 'externalCommand' ( (lv_externalCommandId_2_0= RULE_STRING ) ) )? ( (lv_initialDisabled_3_0= 'disabled' ) )? )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:203:2: ( (lv_name_0_0= ruleQualifiedName ) ) (otherlv_1= 'externalCommand' ( (lv_externalCommandId_2_0= RULE_STRING ) ) )? ( (lv_initialDisabled_3_0= 'disabled' ) )?
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:203:2: ( (lv_name_0_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:204:1: (lv_name_0_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:204:1: (lv_name_0_0= ruleQualifiedName )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:205:3: lv_name_0_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxActionAccess().getNameQualifiedNameParserRuleCall_0_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleUxAction377);
lv_name_0_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxActionRule());
}
set(
current,
"name",
lv_name_0_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:221:2: (otherlv_1= 'externalCommand' ( (lv_externalCommandId_2_0= RULE_STRING ) ) )?
int alt7=2;
int LA7_0 = input.LA(1);
if ( (LA7_0==17) ) {
alt7=1;
}
switch (alt7) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:221:4: otherlv_1= 'externalCommand' ( (lv_externalCommandId_2_0= RULE_STRING ) )
{
otherlv_1=(Token)match(input,17,FOLLOW_17_in_ruleUxAction390); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getUxActionAccess().getExternalCommandKeyword_1_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:225:1: ( (lv_externalCommandId_2_0= RULE_STRING ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:226:1: (lv_externalCommandId_2_0= RULE_STRING )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:226:1: (lv_externalCommandId_2_0= RULE_STRING )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:227:3: lv_externalCommandId_2_0= RULE_STRING
{
lv_externalCommandId_2_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleUxAction407); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_externalCommandId_2_0, grammarAccess.getUxActionAccess().getExternalCommandIdSTRINGTerminalRuleCall_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxActionRule());
}
setWithLastConsumed(
current,
"externalCommandId",
lv_externalCommandId_2_0,
"STRING");
}
}
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:243:4: ( (lv_initialDisabled_3_0= 'disabled' ) )?
int alt8=2;
int LA8_0 = input.LA(1);
if ( (LA8_0==18) ) {
alt8=1;
}
switch (alt8) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:244:1: (lv_initialDisabled_3_0= 'disabled' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:244:1: (lv_initialDisabled_3_0= 'disabled' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:245:3: lv_initialDisabled_3_0= 'disabled'
{
lv_initialDisabled_3_0=(Token)match(input,18,FOLLOW_18_in_ruleUxAction432); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_initialDisabled_3_0, grammarAccess.getUxActionAccess().getInitialDisabledDisabledKeyword_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxActionRule());
}
setWithLastConsumed(current, "initialDisabled", true, "disabled");
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxAction"
// $ANTLR start "entryRuleUxViewCategory"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:266:1: entryRuleUxViewCategory returns [EObject current=null] : iv_ruleUxViewCategory= ruleUxViewCategory EOF ;
public final EObject entryRuleUxViewCategory() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxViewCategory = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:267:2: (iv_ruleUxViewCategory= ruleUxViewCategory EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:268:2: iv_ruleUxViewCategory= ruleUxViewCategory EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxViewCategoryRule());
}
pushFollow(FOLLOW_ruleUxViewCategory_in_entryRuleUxViewCategory482);
iv_ruleUxViewCategory=ruleUxViewCategory();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxViewCategory;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxViewCategory492); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxViewCategory"
// $ANTLR start "ruleUxViewCategory"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:275:1: ruleUxViewCategory returns [EObject current=null] : ( (lv_name_0_0= ruleQualifiedName ) ) ;
public final EObject ruleUxViewCategory() throws RecognitionException {
EObject current = null;
AntlrDatatypeRuleToken lv_name_0_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:278:28: ( ( (lv_name_0_0= ruleQualifiedName ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:279:1: ( (lv_name_0_0= ruleQualifiedName ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:279:1: ( (lv_name_0_0= ruleQualifiedName ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:280:1: (lv_name_0_0= ruleQualifiedName )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:280:1: (lv_name_0_0= ruleQualifiedName )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:281:3: lv_name_0_0= ruleQualifiedName
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxViewCategoryAccess().getNameQualifiedNameParserRuleCall_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleUxViewCategory537);
lv_name_0_0=ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxViewCategoryRule());
}
set(
current,
"name",
lv_name_0_0,
"QualifiedName");
afterParserOrEnumRuleCall();
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxViewCategory"
// $ANTLR start "entryRuleXImportDeclaration"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:305:1: entryRuleXImportDeclaration returns [EObject current=null] : iv_ruleXImportDeclaration= ruleXImportDeclaration EOF ;
public final EObject entryRuleXImportDeclaration() throws RecognitionException {
EObject current = null;
EObject iv_ruleXImportDeclaration = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:306:2: (iv_ruleXImportDeclaration= ruleXImportDeclaration EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:307:2: iv_ruleXImportDeclaration= ruleXImportDeclaration EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationRule());
}
pushFollow(FOLLOW_ruleXImportDeclaration_in_entryRuleXImportDeclaration572);
iv_ruleXImportDeclaration=ruleXImportDeclaration();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXImportDeclaration;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXImportDeclaration582); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXImportDeclaration"
// $ANTLR start "ruleXImportDeclaration"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:314:1: ruleXImportDeclaration returns [EObject current=null] : ( ( () (otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) ) ) ) | ( (otherlv_9= 'ePackage' ( (lv_importedEPackage_10_0= ruleUxEPackageImport ) ) ) (otherlv_11= ';' )? ) ) ;
public final EObject ruleXImportDeclaration() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token lv_static_2_0=null;
Token lv_extension_3_0=null;
Token lv_wildcard_5_0=null;
Token otherlv_9=null;
Token otherlv_11=null;
AntlrDatatypeRuleToken lv_memberName_6_0 = null;
AntlrDatatypeRuleToken lv_importedNamespace_8_0 = null;
EObject lv_importedEPackage_10_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:317:28: ( ( ( () (otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) ) ) ) | ( (otherlv_9= 'ePackage' ( (lv_importedEPackage_10_0= ruleUxEPackageImport ) ) ) (otherlv_11= ';' )? ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:318:1: ( ( () (otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) ) ) ) | ( (otherlv_9= 'ePackage' ( (lv_importedEPackage_10_0= ruleUxEPackageImport ) ) ) (otherlv_11= ';' )? ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:318:1: ( ( () (otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) ) ) ) | ( (otherlv_9= 'ePackage' ( (lv_importedEPackage_10_0= ruleUxEPackageImport ) ) ) (otherlv_11= ';' )? ) )
int alt13=2;
int LA13_0 = input.LA(1);
if ( (LA13_0==19) ) {
alt13=1;
}
else if ( (LA13_0==23) ) {
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 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:318:2: ( () (otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:318:2: ( () (otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:318:3: () (otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:318:3: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:319:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXImportDeclarationAccess().getUxImportSectionDeclarationAction_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:324:2: (otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:324:4: otherlv_1= 'import' ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) )
{
otherlv_1=(Token)match(input,19,FOLLOW_19_in_ruleXImportDeclaration630); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXImportDeclarationAccess().getImportKeyword_0_1_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:328:1: ( ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) ) | ( ( ruleQualifiedName ) ) | ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) ) )
int alt11=3;
alt11 = dfa11.predict(input);
switch (alt11) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:328:2: ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:328:2: ( ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:328:3: ( (lv_static_2_0= 'static' ) ) ( (lv_extension_3_0= 'extension' ) )? ( ( ruleQualifiedNameInStaticImport ) ) ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:328:3: ( (lv_static_2_0= 'static' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:329:1: (lv_static_2_0= 'static' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:329:1: (lv_static_2_0= 'static' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:330:3: lv_static_2_0= 'static'
{
lv_static_2_0=(Token)match(input,20,FOLLOW_20_in_ruleXImportDeclaration650); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_static_2_0, grammarAccess.getXImportDeclarationAccess().getStaticStaticKeyword_0_1_1_0_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "static", true, "static");
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:343:2: ( (lv_extension_3_0= 'extension' ) )?
int alt9=2;
int LA9_0 = input.LA(1);
if ( (LA9_0==21) ) {
alt9=1;
}
switch (alt9) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:344:1: (lv_extension_3_0= 'extension' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:344:1: (lv_extension_3_0= 'extension' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:345:3: lv_extension_3_0= 'extension'
{
lv_extension_3_0=(Token)match(input,21,FOLLOW_21_in_ruleXImportDeclaration681); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_extension_3_0, grammarAccess.getXImportDeclarationAccess().getExtensionExtensionKeyword_0_1_1_0_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "extension", true, "extension");
}
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:358:3: ( ( ruleQualifiedNameInStaticImport ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:359:1: ( ruleQualifiedNameInStaticImport )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:359:1: ( ruleQualifiedNameInStaticImport )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:360:3: ruleQualifiedNameInStaticImport
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_0_1_1_0_2_0());
}
pushFollow(FOLLOW_ruleQualifiedNameInStaticImport_in_ruleXImportDeclaration718);
ruleQualifiedNameInStaticImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:373:2: ( ( (lv_wildcard_5_0= '*' ) ) | ( (lv_memberName_6_0= ruleValidID ) ) )
int alt10=2;
int LA10_0 = input.LA(1);
if ( (LA10_0==22) ) {
alt10=1;
}
else if ( (LA10_0==RULE_ID) ) {
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 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:373:3: ( (lv_wildcard_5_0= '*' ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:373:3: ( (lv_wildcard_5_0= '*' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:374:1: (lv_wildcard_5_0= '*' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:374:1: (lv_wildcard_5_0= '*' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:375:3: lv_wildcard_5_0= '*'
{
lv_wildcard_5_0=(Token)match(input,22,FOLLOW_22_in_ruleXImportDeclaration737); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_wildcard_5_0, grammarAccess.getXImportDeclarationAccess().getWildcardAsteriskKeyword_0_1_1_0_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
setWithLastConsumed(current, "wildcard", true, "*");
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:389:6: ( (lv_memberName_6_0= ruleValidID ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:389:6: ( (lv_memberName_6_0= ruleValidID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:390:1: (lv_memberName_6_0= ruleValidID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:390:1: (lv_memberName_6_0= ruleValidID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:391:3: lv_memberName_6_0= ruleValidID
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getMemberNameValidIDParserRuleCall_0_1_1_0_3_1_0());
}
pushFollow(FOLLOW_ruleValidID_in_ruleXImportDeclaration777);
lv_memberName_6_0=ruleValidID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
current,
"memberName",
lv_memberName_6_0,
"ValidID");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:408:6: ( ( ruleQualifiedName ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:408:6: ( ( ruleQualifiedName ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:409:1: ( ruleQualifiedName )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:409:1: ( ruleQualifiedName )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:410:3: ruleQualifiedName
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXImportDeclarationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedTypeJvmDeclaredTypeCrossReference_0_1_1_1_0());
}
pushFollow(FOLLOW_ruleQualifiedName_in_ruleXImportDeclaration808);
ruleQualifiedName();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:424:6: ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:424:6: ( (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:425:1: (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:425:1: (lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:426:3: lv_importedNamespace_8_0= ruleQualifiedNameWithWildcard
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedNamespaceQualifiedNameWithWildcardParserRuleCall_0_1_1_2_0());
}
pushFollow(FOLLOW_ruleQualifiedNameWithWildcard_in_ruleXImportDeclaration835);
lv_importedNamespace_8_0=ruleQualifiedNameWithWildcard();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
current,
"importedNamespace",
lv_importedNamespace_8_0,
"QualifiedNameWithWildcard");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:443:6: ( (otherlv_9= 'ePackage' ( (lv_importedEPackage_10_0= ruleUxEPackageImport ) ) ) (otherlv_11= ';' )? )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:443:6: ( (otherlv_9= 'ePackage' ( (lv_importedEPackage_10_0= ruleUxEPackageImport ) ) ) (otherlv_11= ';' )? )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:443:7: (otherlv_9= 'ePackage' ( (lv_importedEPackage_10_0= ruleUxEPackageImport ) ) ) (otherlv_11= ';' )?
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:443:7: (otherlv_9= 'ePackage' ( (lv_importedEPackage_10_0= ruleUxEPackageImport ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:443:9: otherlv_9= 'ePackage' ( (lv_importedEPackage_10_0= ruleUxEPackageImport ) )
{
otherlv_9=(Token)match(input,23,FOLLOW_23_in_ruleXImportDeclaration858); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getXImportDeclarationAccess().getEPackageKeyword_1_0_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:447:1: ( (lv_importedEPackage_10_0= ruleUxEPackageImport ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:448:1: (lv_importedEPackage_10_0= ruleUxEPackageImport )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:448:1: (lv_importedEPackage_10_0= ruleUxEPackageImport )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:449:3: lv_importedEPackage_10_0= ruleUxEPackageImport
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXImportDeclarationAccess().getImportedEPackageUxEPackageImportParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleUxEPackageImport_in_ruleXImportDeclaration879);
lv_importedEPackage_10_0=ruleUxEPackageImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXImportDeclarationRule());
}
set(
current,
"importedEPackage",
lv_importedEPackage_10_0,
"UxEPackageImport");
afterParserOrEnumRuleCall();
}
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:465:3: (otherlv_11= ';' )?
int alt12=2;
int LA12_0 = input.LA(1);
if ( (LA12_0==24) ) {
alt12=1;
}
switch (alt12) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:465:5: otherlv_11= ';'
{
otherlv_11=(Token)match(input,24,FOLLOW_24_in_ruleXImportDeclaration893); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXImportDeclarationAccess().getSemicolonKeyword_1_1());
}
}
break;
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXImportDeclaration"
// $ANTLR start "entryRuleUxEPackageImport"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:477:1: entryRuleUxEPackageImport returns [EObject current=null] : iv_ruleUxEPackageImport= ruleUxEPackageImport EOF ;
public final EObject entryRuleUxEPackageImport() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxEPackageImport = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:478:2: (iv_ruleUxEPackageImport= ruleUxEPackageImport EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:479:2: iv_ruleUxEPackageImport= ruleUxEPackageImport EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxEPackageImportRule());
}
pushFollow(FOLLOW_ruleUxEPackageImport_in_entryRuleUxEPackageImport932);
iv_ruleUxEPackageImport=ruleUxEPackageImport();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxEPackageImport;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxEPackageImport942); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxEPackageImport"
// $ANTLR start "ruleUxEPackageImport"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:486:1: ruleUxEPackageImport returns [EObject current=null] : ( ( (otherlv_0= RULE_STRING ) ) otherlv_1= 'as' ( (lv_alias_2_0= RULE_ID ) ) ) ;
public final EObject ruleUxEPackageImport() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token lv_alias_2_0=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:489:28: ( ( ( (otherlv_0= RULE_STRING ) ) otherlv_1= 'as' ( (lv_alias_2_0= RULE_ID ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:490:1: ( ( (otherlv_0= RULE_STRING ) ) otherlv_1= 'as' ( (lv_alias_2_0= RULE_ID ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:490:1: ( ( (otherlv_0= RULE_STRING ) ) otherlv_1= 'as' ( (lv_alias_2_0= RULE_ID ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:490:2: ( (otherlv_0= RULE_STRING ) ) otherlv_1= 'as' ( (lv_alias_2_0= RULE_ID ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:490:2: ( (otherlv_0= RULE_STRING ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:491:1: (otherlv_0= RULE_STRING )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:491:1: (otherlv_0= RULE_STRING )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:492:3: otherlv_0= RULE_STRING
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxEPackageImportRule());
}
}
otherlv_0=(Token)match(input,RULE_STRING,FOLLOW_RULE_STRING_in_ruleUxEPackageImport987); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getUxEPackageImportAccess().getEPackageEPackageCrossReference_0_0());
}
}
}
otherlv_1=(Token)match(input,25,FOLLOW_25_in_ruleUxEPackageImport999); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getUxEPackageImportAccess().getAsKeyword_1());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:507:1: ( (lv_alias_2_0= RULE_ID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:508:1: (lv_alias_2_0= RULE_ID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:508:1: (lv_alias_2_0= RULE_ID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:509:3: lv_alias_2_0= RULE_ID
{
lv_alias_2_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUxEPackageImport1016); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_alias_2_0, grammarAccess.getUxEPackageImportAccess().getAliasIDTerminalRuleCall_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxEPackageImportRule());
}
setWithLastConsumed(
current,
"alias",
lv_alias_2_0,
"ID");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxEPackageImport"
// $ANTLR start "entryRuleUxElementDefinition"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:533:1: entryRuleUxElementDefinition returns [EObject current=null] : iv_ruleUxElementDefinition= ruleUxElementDefinition EOF ;
public final EObject entryRuleUxElementDefinition() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxElementDefinition = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:534:2: (iv_ruleUxElementDefinition= ruleUxElementDefinition EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:535:2: iv_ruleUxElementDefinition= ruleUxElementDefinition EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxElementDefinitionRule());
}
pushFollow(FOLLOW_ruleUxElementDefinition_in_entryRuleUxElementDefinition1057);
iv_ruleUxElementDefinition=ruleUxElementDefinition();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxElementDefinition;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxElementDefinition1067); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxElementDefinition"
// $ANTLR start "ruleUxElementDefinition"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:542:1: ruleUxElementDefinition returns [EObject current=null] : (otherlv_0= 'element' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_uri_3_0= ruleUxElementURI ) )? (otherlv_4= 'bindings' otherlv_5= '{' ( (lv_bindingContainer_6_0= ruleUxAvailableBindings ) ) otherlv_7= '}' )? (otherlv_8= 'visibility' otherlv_9= '{' ( (lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions ) ) otherlv_11= '}' )? (otherlv_12= 'validator' otherlv_13= '{' ( (lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties ) ) otherlv_15= '}' )? otherlv_16= '}' ) ;
public final EObject ruleUxElementDefinition() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_5=null;
Token otherlv_7=null;
Token otherlv_8=null;
Token otherlv_9=null;
Token otherlv_11=null;
Token otherlv_12=null;
Token otherlv_13=null;
Token otherlv_15=null;
Token otherlv_16=null;
EObject lv_uri_3_0 = null;
EObject lv_bindingContainer_6_0 = null;
EObject lv_visibilityContainer_10_0 = null;
EObject lv_validatorContainer_14_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:545:28: ( (otherlv_0= 'element' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_uri_3_0= ruleUxElementURI ) )? (otherlv_4= 'bindings' otherlv_5= '{' ( (lv_bindingContainer_6_0= ruleUxAvailableBindings ) ) otherlv_7= '}' )? (otherlv_8= 'visibility' otherlv_9= '{' ( (lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions ) ) otherlv_11= '}' )? (otherlv_12= 'validator' otherlv_13= '{' ( (lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties ) ) otherlv_15= '}' )? otherlv_16= '}' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:546:1: (otherlv_0= 'element' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_uri_3_0= ruleUxElementURI ) )? (otherlv_4= 'bindings' otherlv_5= '{' ( (lv_bindingContainer_6_0= ruleUxAvailableBindings ) ) otherlv_7= '}' )? (otherlv_8= 'visibility' otherlv_9= '{' ( (lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions ) ) otherlv_11= '}' )? (otherlv_12= 'validator' otherlv_13= '{' ( (lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties ) ) otherlv_15= '}' )? otherlv_16= '}' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:546:1: (otherlv_0= 'element' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_uri_3_0= ruleUxElementURI ) )? (otherlv_4= 'bindings' otherlv_5= '{' ( (lv_bindingContainer_6_0= ruleUxAvailableBindings ) ) otherlv_7= '}' )? (otherlv_8= 'visibility' otherlv_9= '{' ( (lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions ) ) otherlv_11= '}' )? (otherlv_12= 'validator' otherlv_13= '{' ( (lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties ) ) otherlv_15= '}' )? otherlv_16= '}' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:546:3: otherlv_0= 'element' ( (lv_name_1_0= RULE_ID ) ) otherlv_2= '{' ( (lv_uri_3_0= ruleUxElementURI ) )? (otherlv_4= 'bindings' otherlv_5= '{' ( (lv_bindingContainer_6_0= ruleUxAvailableBindings ) ) otherlv_7= '}' )? (otherlv_8= 'visibility' otherlv_9= '{' ( (lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions ) ) otherlv_11= '}' )? (otherlv_12= 'validator' otherlv_13= '{' ( (lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties ) ) otherlv_15= '}' )? otherlv_16= '}'
{
otherlv_0=(Token)match(input,26,FOLLOW_26_in_ruleUxElementDefinition1104); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getUxElementDefinitionAccess().getElementKeyword_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:550:1: ( (lv_name_1_0= RULE_ID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:551:1: (lv_name_1_0= RULE_ID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:551:1: (lv_name_1_0= RULE_ID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:552:3: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUxElementDefinition1121); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getUxElementDefinitionAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxElementDefinitionRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"ID");
}
}
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleUxElementDefinition1138); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getUxElementDefinitionAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:572:1: ( (lv_uri_3_0= ruleUxElementURI ) )?
int alt14=2;
int LA14_0 = input.LA(1);
if ( (LA14_0==31) ) {
alt14=1;
}
switch (alt14) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:573:1: (lv_uri_3_0= ruleUxElementURI )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:573:1: (lv_uri_3_0= ruleUxElementURI )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:574:3: lv_uri_3_0= ruleUxElementURI
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxElementDefinitionAccess().getUriUxElementURIParserRuleCall_3_0());
}
pushFollow(FOLLOW_ruleUxElementURI_in_ruleUxElementDefinition1159);
lv_uri_3_0=ruleUxElementURI();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxElementDefinitionRule());
}
set(
current,
"uri",
lv_uri_3_0,
"UxElementURI");
afterParserOrEnumRuleCall();
}
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:590:3: (otherlv_4= 'bindings' otherlv_5= '{' ( (lv_bindingContainer_6_0= ruleUxAvailableBindings ) ) otherlv_7= '}' )?
int alt15=2;
int LA15_0 = input.LA(1);
if ( (LA15_0==27) ) {
alt15=1;
}
switch (alt15) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:590:5: otherlv_4= 'bindings' otherlv_5= '{' ( (lv_bindingContainer_6_0= ruleUxAvailableBindings ) ) otherlv_7= '}'
{
otherlv_4=(Token)match(input,27,FOLLOW_27_in_ruleUxElementDefinition1173); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getUxElementDefinitionAccess().getBindingsKeyword_4_0());
}
otherlv_5=(Token)match(input,14,FOLLOW_14_in_ruleUxElementDefinition1185); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getUxElementDefinitionAccess().getLeftCurlyBracketKeyword_4_1());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:598:1: ( (lv_bindingContainer_6_0= ruleUxAvailableBindings ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:599:1: (lv_bindingContainer_6_0= ruleUxAvailableBindings )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:599:1: (lv_bindingContainer_6_0= ruleUxAvailableBindings )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:600:3: lv_bindingContainer_6_0= ruleUxAvailableBindings
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxElementDefinitionAccess().getBindingContainerUxAvailableBindingsParserRuleCall_4_2_0());
}
pushFollow(FOLLOW_ruleUxAvailableBindings_in_ruleUxElementDefinition1206);
lv_bindingContainer_6_0=ruleUxAvailableBindings();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxElementDefinitionRule());
}
set(
current,
"bindingContainer",
lv_bindingContainer_6_0,
"UxAvailableBindings");
afterParserOrEnumRuleCall();
}
}
}
otherlv_7=(Token)match(input,15,FOLLOW_15_in_ruleUxElementDefinition1218); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_7, grammarAccess.getUxElementDefinitionAccess().getRightCurlyBracketKeyword_4_3());
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:620:3: (otherlv_8= 'visibility' otherlv_9= '{' ( (lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions ) ) otherlv_11= '}' )?
int alt16=2;
int LA16_0 = input.LA(1);
if ( (LA16_0==28) ) {
alt16=1;
}
switch (alt16) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:620:5: otherlv_8= 'visibility' otherlv_9= '{' ( (lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions ) ) otherlv_11= '}'
{
otherlv_8=(Token)match(input,28,FOLLOW_28_in_ruleUxElementDefinition1233); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getUxElementDefinitionAccess().getVisibilityKeyword_5_0());
}
otherlv_9=(Token)match(input,14,FOLLOW_14_in_ruleUxElementDefinition1245); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_9, grammarAccess.getUxElementDefinitionAccess().getLeftCurlyBracketKeyword_5_1());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:628:1: ( (lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:629:1: (lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:629:1: (lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:630:3: lv_visibilityContainer_10_0= ruleUxAvailableVisibilityOptions
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxElementDefinitionAccess().getVisibilityContainerUxAvailableVisibilityOptionsParserRuleCall_5_2_0());
}
pushFollow(FOLLOW_ruleUxAvailableVisibilityOptions_in_ruleUxElementDefinition1266);
lv_visibilityContainer_10_0=ruleUxAvailableVisibilityOptions();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxElementDefinitionRule());
}
set(
current,
"visibilityContainer",
lv_visibilityContainer_10_0,
"UxAvailableVisibilityOptions");
afterParserOrEnumRuleCall();
}
}
}
otherlv_11=(Token)match(input,15,FOLLOW_15_in_ruleUxElementDefinition1278); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getUxElementDefinitionAccess().getRightCurlyBracketKeyword_5_3());
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:650:3: (otherlv_12= 'validator' otherlv_13= '{' ( (lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties ) ) otherlv_15= '}' )?
int alt17=2;
int LA17_0 = input.LA(1);
if ( (LA17_0==29) ) {
alt17=1;
}
switch (alt17) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:650:5: otherlv_12= 'validator' otherlv_13= '{' ( (lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties ) ) otherlv_15= '}'
{
otherlv_12=(Token)match(input,29,FOLLOW_29_in_ruleUxElementDefinition1293); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_12, grammarAccess.getUxElementDefinitionAccess().getValidatorKeyword_6_0());
}
otherlv_13=(Token)match(input,14,FOLLOW_14_in_ruleUxElementDefinition1305); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getUxElementDefinitionAccess().getLeftCurlyBracketKeyword_6_1());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:658:1: ( (lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:659:1: (lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:659:1: (lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:660:3: lv_validatorContainer_14_0= ruleUxAvailableValidatorProperties
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxElementDefinitionAccess().getValidatorContainerUxAvailableValidatorPropertiesParserRuleCall_6_2_0());
}
pushFollow(FOLLOW_ruleUxAvailableValidatorProperties_in_ruleUxElementDefinition1326);
lv_validatorContainer_14_0=ruleUxAvailableValidatorProperties();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxElementDefinitionRule());
}
set(
current,
"validatorContainer",
lv_validatorContainer_14_0,
"UxAvailableValidatorProperties");
afterParserOrEnumRuleCall();
}
}
}
otherlv_15=(Token)match(input,15,FOLLOW_15_in_ruleUxElementDefinition1338); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getUxElementDefinitionAccess().getRightCurlyBracketKeyword_6_3());
}
}
break;
}
otherlv_16=(Token)match(input,15,FOLLOW_15_in_ruleUxElementDefinition1352); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_16, grammarAccess.getUxElementDefinitionAccess().getRightCurlyBracketKeyword_7());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxElementDefinition"
// $ANTLR start "entryRuleUxAvailableValidatorProperties"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:692:1: entryRuleUxAvailableValidatorProperties returns [EObject current=null] : iv_ruleUxAvailableValidatorProperties= ruleUxAvailableValidatorProperties EOF ;
public final EObject entryRuleUxAvailableValidatorProperties() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxAvailableValidatorProperties = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:693:2: (iv_ruleUxAvailableValidatorProperties= ruleUxAvailableValidatorProperties EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:694:2: iv_ruleUxAvailableValidatorProperties= ruleUxAvailableValidatorProperties EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxAvailableValidatorPropertiesRule());
}
pushFollow(FOLLOW_ruleUxAvailableValidatorProperties_in_entryRuleUxAvailableValidatorProperties1388);
iv_ruleUxAvailableValidatorProperties=ruleUxAvailableValidatorProperties();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxAvailableValidatorProperties;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxAvailableValidatorProperties1398); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxAvailableValidatorProperties"
// $ANTLR start "ruleUxAvailableValidatorProperties"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:701:1: ruleUxAvailableValidatorProperties returns [EObject current=null] : ( () ( (lv_properties_1_0= ruleUxValidatorProperty ) )* ) ;
public final EObject ruleUxAvailableValidatorProperties() throws RecognitionException {
EObject current = null;
EObject lv_properties_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:704:28: ( ( () ( (lv_properties_1_0= ruleUxValidatorProperty ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:705:1: ( () ( (lv_properties_1_0= ruleUxValidatorProperty ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:705:1: ( () ( (lv_properties_1_0= ruleUxValidatorProperty ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:705:2: () ( (lv_properties_1_0= ruleUxValidatorProperty ) )*
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:705:2: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:706:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getUxAvailableValidatorPropertiesAccess().getUxAvailableValidatorPropertiesAction_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:711:2: ( (lv_properties_1_0= ruleUxValidatorProperty ) )*
loop18:
do {
int alt18=2;
int LA18_0 = input.LA(1);
if ( (LA18_0==30) ) {
alt18=1;
}
switch (alt18) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:712:1: (lv_properties_1_0= ruleUxValidatorProperty )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:712:1: (lv_properties_1_0= ruleUxValidatorProperty )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:713:3: lv_properties_1_0= ruleUxValidatorProperty
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxAvailableValidatorPropertiesAccess().getPropertiesUxValidatorPropertyParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleUxValidatorProperty_in_ruleUxAvailableValidatorProperties1453);
lv_properties_1_0=ruleUxValidatorProperty();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxAvailableValidatorPropertiesRule());
}
add(
current,
"properties",
lv_properties_1_0,
"UxValidatorProperty");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop18;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxAvailableValidatorProperties"
// $ANTLR start "entryRuleUxValidatorProperty"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:737:1: entryRuleUxValidatorProperty returns [EObject current=null] : iv_ruleUxValidatorProperty= ruleUxValidatorProperty EOF ;
public final EObject entryRuleUxValidatorProperty() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxValidatorProperty = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:738:2: (iv_ruleUxValidatorProperty= ruleUxValidatorProperty EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:739:2: iv_ruleUxValidatorProperty= ruleUxValidatorProperty EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxValidatorPropertyRule());
}
pushFollow(FOLLOW_ruleUxValidatorProperty_in_entryRuleUxValidatorProperty1490);
iv_ruleUxValidatorProperty=ruleUxValidatorProperty();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxValidatorProperty;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxValidatorProperty1500); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxValidatorProperty"
// $ANTLR start "ruleUxValidatorProperty"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:746:1: ruleUxValidatorProperty returns [EObject current=null] : (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) ) ;
public final EObject ruleUxValidatorProperty() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:749:28: ( (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:750:1: (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:750:1: (otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:750:3: otherlv_0= 'property' ( (lv_name_1_0= RULE_ID ) )
{
otherlv_0=(Token)match(input,30,FOLLOW_30_in_ruleUxValidatorProperty1537); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getUxValidatorPropertyAccess().getPropertyKeyword_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:754:1: ( (lv_name_1_0= RULE_ID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:755:1: (lv_name_1_0= RULE_ID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:755:1: (lv_name_1_0= RULE_ID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:756:3: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUxValidatorProperty1554); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getUxValidatorPropertyAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxValidatorPropertyRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"ID");
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxValidatorProperty"
// $ANTLR start "entryRuleUxElementURI"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:780:1: entryRuleUxElementURI returns [EObject current=null] : iv_ruleUxElementURI= ruleUxElementURI EOF ;
public final EObject entryRuleUxElementURI() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxElementURI = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:781:2: (iv_ruleUxElementURI= ruleUxElementURI EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:782:2: iv_ruleUxElementURI= ruleUxElementURI EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxElementURIRule());
}
pushFollow(FOLLOW_ruleUxElementURI_in_entryRuleUxElementURI1595);
iv_ruleUxElementURI=ruleUxElementURI();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxElementURI;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxElementURI1605); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxElementURI"
// $ANTLR start "ruleUxElementURI"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:789:1: ruleUxElementURI returns [EObject current=null] : (otherlv_0= 'uri' ( (otherlv_1= RULE_ID ) ) otherlv_2= ':' ( (otherlv_3= RULE_ID ) ) ) ;
public final EObject ruleUxElementURI() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_3=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:792:28: ( (otherlv_0= 'uri' ( (otherlv_1= RULE_ID ) ) otherlv_2= ':' ( (otherlv_3= RULE_ID ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:793:1: (otherlv_0= 'uri' ( (otherlv_1= RULE_ID ) ) otherlv_2= ':' ( (otherlv_3= RULE_ID ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:793:1: (otherlv_0= 'uri' ( (otherlv_1= RULE_ID ) ) otherlv_2= ':' ( (otherlv_3= RULE_ID ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:793:3: otherlv_0= 'uri' ( (otherlv_1= RULE_ID ) ) otherlv_2= ':' ( (otherlv_3= RULE_ID ) )
{
otherlv_0=(Token)match(input,31,FOLLOW_31_in_ruleUxElementURI1642); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getUxElementURIAccess().getUriKeyword_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:797:1: ( (otherlv_1= RULE_ID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:798:1: (otherlv_1= RULE_ID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:798:1: (otherlv_1= RULE_ID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:799:3: otherlv_1= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxElementURIRule());
}
}
otherlv_1=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUxElementURI1662); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getUxElementURIAccess().getEPackageUxEPackageImportCrossReference_1_0());
}
}
}
otherlv_2=(Token)match(input,32,FOLLOW_32_in_ruleUxElementURI1674); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getUxElementURIAccess().getColonKeyword_2());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:814:1: ( (otherlv_3= RULE_ID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:815:1: (otherlv_3= RULE_ID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:815:1: (otherlv_3= RULE_ID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:816:3: otherlv_3= RULE_ID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxElementURIRule());
}
}
otherlv_3=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUxElementURI1694); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_3, grammarAccess.getUxElementURIAccess().getEClassEClassCrossReference_3_0());
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxElementURI"
// $ANTLR start "entryRuleUxAvailableBindings"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:835:1: entryRuleUxAvailableBindings returns [EObject current=null] : iv_ruleUxAvailableBindings= ruleUxAvailableBindings EOF ;
public final EObject entryRuleUxAvailableBindings() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxAvailableBindings = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:836:2: (iv_ruleUxAvailableBindings= ruleUxAvailableBindings EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:837:2: iv_ruleUxAvailableBindings= ruleUxAvailableBindings EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxAvailableBindingsRule());
}
pushFollow(FOLLOW_ruleUxAvailableBindings_in_entryRuleUxAvailableBindings1730);
iv_ruleUxAvailableBindings=ruleUxAvailableBindings();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxAvailableBindings;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxAvailableBindings1740); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxAvailableBindings"
// $ANTLR start "ruleUxAvailableBindings"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:844:1: ruleUxAvailableBindings returns [EObject current=null] : ( () ( (lv_bindings_1_0= ruleUxBindingableOption ) )* ) ;
public final EObject ruleUxAvailableBindings() throws RecognitionException {
EObject current = null;
EObject lv_bindings_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:847:28: ( ( () ( (lv_bindings_1_0= ruleUxBindingableOption ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:848:1: ( () ( (lv_bindings_1_0= ruleUxBindingableOption ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:848:1: ( () ( (lv_bindings_1_0= ruleUxBindingableOption ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:848:2: () ( (lv_bindings_1_0= ruleUxBindingableOption ) )*
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:848:2: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:849:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getUxAvailableBindingsAccess().getUxAvailableBindingsAction_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:854:2: ( (lv_bindings_1_0= ruleUxBindingableOption ) )*
loop19:
do {
int alt19=2;
int LA19_0 = input.LA(1);
if ( ((LA19_0>=33 && LA19_0<=35)) ) {
alt19=1;
}
switch (alt19) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:855:1: (lv_bindings_1_0= ruleUxBindingableOption )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:855:1: (lv_bindings_1_0= ruleUxBindingableOption )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:856:3: lv_bindings_1_0= ruleUxBindingableOption
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxAvailableBindingsAccess().getBindingsUxBindingableOptionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleUxBindingableOption_in_ruleUxAvailableBindings1795);
lv_bindings_1_0=ruleUxBindingableOption();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxAvailableBindingsRule());
}
add(
current,
"bindings",
lv_bindings_1_0,
"UxBindingableOption");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop19;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxAvailableBindings"
// $ANTLR start "entryRuleUxAvailableVisibilityOptions"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:880:1: entryRuleUxAvailableVisibilityOptions returns [EObject current=null] : iv_ruleUxAvailableVisibilityOptions= ruleUxAvailableVisibilityOptions EOF ;
public final EObject entryRuleUxAvailableVisibilityOptions() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxAvailableVisibilityOptions = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:881:2: (iv_ruleUxAvailableVisibilityOptions= ruleUxAvailableVisibilityOptions EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:882:2: iv_ruleUxAvailableVisibilityOptions= ruleUxAvailableVisibilityOptions EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxAvailableVisibilityOptionsRule());
}
pushFollow(FOLLOW_ruleUxAvailableVisibilityOptions_in_entryRuleUxAvailableVisibilityOptions1832);
iv_ruleUxAvailableVisibilityOptions=ruleUxAvailableVisibilityOptions();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxAvailableVisibilityOptions;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxAvailableVisibilityOptions1842); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxAvailableVisibilityOptions"
// $ANTLR start "ruleUxAvailableVisibilityOptions"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:889:1: ruleUxAvailableVisibilityOptions returns [EObject current=null] : ( () ( (lv_bindings_1_0= ruleUxVisibleableOption ) )* ) ;
public final EObject ruleUxAvailableVisibilityOptions() throws RecognitionException {
EObject current = null;
EObject lv_bindings_1_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:892:28: ( ( () ( (lv_bindings_1_0= ruleUxVisibleableOption ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:893:1: ( () ( (lv_bindings_1_0= ruleUxVisibleableOption ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:893:1: ( () ( (lv_bindings_1_0= ruleUxVisibleableOption ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:893:2: () ( (lv_bindings_1_0= ruleUxVisibleableOption ) )*
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:893:2: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:894:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getUxAvailableVisibilityOptionsAccess().getUxAvailableVisibilityOptionsAction_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:899:2: ( (lv_bindings_1_0= ruleUxVisibleableOption ) )*
loop20:
do {
int alt20=2;
int LA20_0 = input.LA(1);
if ( (LA20_0==35) ) {
alt20=1;
}
switch (alt20) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:900:1: (lv_bindings_1_0= ruleUxVisibleableOption )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:900:1: (lv_bindings_1_0= ruleUxVisibleableOption )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:901:3: lv_bindings_1_0= ruleUxVisibleableOption
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxAvailableVisibilityOptionsAccess().getBindingsUxVisibleableOptionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleUxVisibleableOption_in_ruleUxAvailableVisibilityOptions1897);
lv_bindings_1_0=ruleUxVisibleableOption();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxAvailableVisibilityOptionsRule());
}
add(
current,
"bindings",
lv_bindings_1_0,
"UxVisibleableOption");
afterParserOrEnumRuleCall();
}
}
}
break;
default :
break loop20;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxAvailableVisibilityOptions"
// $ANTLR start "entryRuleUxBindingableOption"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:925:1: entryRuleUxBindingableOption returns [EObject current=null] : iv_ruleUxBindingableOption= ruleUxBindingableOption EOF ;
public final EObject entryRuleUxBindingableOption() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxBindingableOption = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:926:2: (iv_ruleUxBindingableOption= ruleUxBindingableOption EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:927:2: iv_ruleUxBindingableOption= ruleUxBindingableOption EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxBindingableOptionRule());
}
pushFollow(FOLLOW_ruleUxBindingableOption_in_entryRuleUxBindingableOption1934);
iv_ruleUxBindingableOption=ruleUxBindingableOption();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxBindingableOption;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxBindingableOption1944); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxBindingableOption"
// $ANTLR start "ruleUxBindingableOption"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:934:1: ruleUxBindingableOption returns [EObject current=null] : ( ( (lv_final_0_0= 'final' ) )? ( (lv_listbinding_1_0= 'list' ) )? otherlv_2= 'endpoint' ( (lv_name_3_0= RULE_ID ) ) ( (lv_jvmType_4_0= ruleJvmTypeReference ) ) (otherlv_5= 'target' ( (lv_targetName_6_0= RULE_ID ) ) )? ) ;
public final EObject ruleUxBindingableOption() throws RecognitionException {
EObject current = null;
Token lv_final_0_0=null;
Token lv_listbinding_1_0=null;
Token otherlv_2=null;
Token lv_name_3_0=null;
Token otherlv_5=null;
Token lv_targetName_6_0=null;
EObject lv_jvmType_4_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:937:28: ( ( ( (lv_final_0_0= 'final' ) )? ( (lv_listbinding_1_0= 'list' ) )? otherlv_2= 'endpoint' ( (lv_name_3_0= RULE_ID ) ) ( (lv_jvmType_4_0= ruleJvmTypeReference ) ) (otherlv_5= 'target' ( (lv_targetName_6_0= RULE_ID ) ) )? ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:938:1: ( ( (lv_final_0_0= 'final' ) )? ( (lv_listbinding_1_0= 'list' ) )? otherlv_2= 'endpoint' ( (lv_name_3_0= RULE_ID ) ) ( (lv_jvmType_4_0= ruleJvmTypeReference ) ) (otherlv_5= 'target' ( (lv_targetName_6_0= RULE_ID ) ) )? )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:938:1: ( ( (lv_final_0_0= 'final' ) )? ( (lv_listbinding_1_0= 'list' ) )? otherlv_2= 'endpoint' ( (lv_name_3_0= RULE_ID ) ) ( (lv_jvmType_4_0= ruleJvmTypeReference ) ) (otherlv_5= 'target' ( (lv_targetName_6_0= RULE_ID ) ) )? )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:938:2: ( (lv_final_0_0= 'final' ) )? ( (lv_listbinding_1_0= 'list' ) )? otherlv_2= 'endpoint' ( (lv_name_3_0= RULE_ID ) ) ( (lv_jvmType_4_0= ruleJvmTypeReference ) ) (otherlv_5= 'target' ( (lv_targetName_6_0= RULE_ID ) ) )?
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:938:2: ( (lv_final_0_0= 'final' ) )?
int alt21=2;
int LA21_0 = input.LA(1);
if ( (LA21_0==33) ) {
alt21=1;
}
switch (alt21) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:939:1: (lv_final_0_0= 'final' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:939:1: (lv_final_0_0= 'final' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:940:3: lv_final_0_0= 'final'
{
lv_final_0_0=(Token)match(input,33,FOLLOW_33_in_ruleUxBindingableOption1987); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_final_0_0, grammarAccess.getUxBindingableOptionAccess().getFinalFinalKeyword_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxBindingableOptionRule());
}
setWithLastConsumed(current, "final", true, "final");
}
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:953:3: ( (lv_listbinding_1_0= 'list' ) )?
int alt22=2;
int LA22_0 = input.LA(1);
if ( (LA22_0==34) ) {
alt22=1;
}
switch (alt22) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:954:1: (lv_listbinding_1_0= 'list' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:954:1: (lv_listbinding_1_0= 'list' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:955:3: lv_listbinding_1_0= 'list'
{
lv_listbinding_1_0=(Token)match(input,34,FOLLOW_34_in_ruleUxBindingableOption2019); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_listbinding_1_0, grammarAccess.getUxBindingableOptionAccess().getListbindingListKeyword_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxBindingableOptionRule());
}
setWithLastConsumed(current, "listbinding", true, "list");
}
}
}
break;
}
otherlv_2=(Token)match(input,35,FOLLOW_35_in_ruleUxBindingableOption2045); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getUxBindingableOptionAccess().getEndpointKeyword_2());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:972:1: ( (lv_name_3_0= RULE_ID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:973:1: (lv_name_3_0= RULE_ID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:973:1: (lv_name_3_0= RULE_ID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:974:3: lv_name_3_0= RULE_ID
{
lv_name_3_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUxBindingableOption2062); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_3_0, grammarAccess.getUxBindingableOptionAccess().getNameIDTerminalRuleCall_3_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxBindingableOptionRule());
}
setWithLastConsumed(
current,
"name",
lv_name_3_0,
"ID");
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:990:2: ( (lv_jvmType_4_0= ruleJvmTypeReference ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:991:1: (lv_jvmType_4_0= ruleJvmTypeReference )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:991:1: (lv_jvmType_4_0= ruleJvmTypeReference )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:992:3: lv_jvmType_4_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxBindingableOptionAccess().getJvmTypeJvmTypeReferenceParserRuleCall_4_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleUxBindingableOption2088);
lv_jvmType_4_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxBindingableOptionRule());
}
set(
current,
"jvmType",
lv_jvmType_4_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1008:2: (otherlv_5= 'target' ( (lv_targetName_6_0= RULE_ID ) ) )?
int alt23=2;
int LA23_0 = input.LA(1);
if ( (LA23_0==36) ) {
alt23=1;
}
switch (alt23) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1008:4: otherlv_5= 'target' ( (lv_targetName_6_0= RULE_ID ) )
{
otherlv_5=(Token)match(input,36,FOLLOW_36_in_ruleUxBindingableOption2101); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_5, grammarAccess.getUxBindingableOptionAccess().getTargetKeyword_5_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1012:1: ( (lv_targetName_6_0= RULE_ID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1013:1: (lv_targetName_6_0= RULE_ID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1013:1: (lv_targetName_6_0= RULE_ID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1014:3: lv_targetName_6_0= RULE_ID
{
lv_targetName_6_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUxBindingableOption2118); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_targetName_6_0, grammarAccess.getUxBindingableOptionAccess().getTargetNameIDTerminalRuleCall_5_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxBindingableOptionRule());
}
setWithLastConsumed(
current,
"targetName",
lv_targetName_6_0,
"ID");
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxBindingableOption"
// $ANTLR start "entryRuleUxVisibleableOption"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1038:1: entryRuleUxVisibleableOption returns [EObject current=null] : iv_ruleUxVisibleableOption= ruleUxVisibleableOption EOF ;
public final EObject entryRuleUxVisibleableOption() throws RecognitionException {
EObject current = null;
EObject iv_ruleUxVisibleableOption = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1039:2: (iv_ruleUxVisibleableOption= ruleUxVisibleableOption EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1040:2: iv_ruleUxVisibleableOption= ruleUxVisibleableOption EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxVisibleableOptionRule());
}
pushFollow(FOLLOW_ruleUxVisibleableOption_in_entryRuleUxVisibleableOption2161);
iv_ruleUxVisibleableOption=ruleUxVisibleableOption();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleUxVisibleableOption;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleUxVisibleableOption2171); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleUxVisibleableOption"
// $ANTLR start "ruleUxVisibleableOption"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1047:1: ruleUxVisibleableOption returns [EObject current=null] : (otherlv_0= 'endpoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_jvmType_2_0= ruleJvmTypeReference ) ) ) ;
public final EObject ruleUxVisibleableOption() throws RecognitionException {
EObject current = null;
Token otherlv_0=null;
Token lv_name_1_0=null;
EObject lv_jvmType_2_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1050:28: ( (otherlv_0= 'endpoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_jvmType_2_0= ruleJvmTypeReference ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1051:1: (otherlv_0= 'endpoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_jvmType_2_0= ruleJvmTypeReference ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1051:1: (otherlv_0= 'endpoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_jvmType_2_0= ruleJvmTypeReference ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1051:3: otherlv_0= 'endpoint' ( (lv_name_1_0= RULE_ID ) ) ( (lv_jvmType_2_0= ruleJvmTypeReference ) )
{
otherlv_0=(Token)match(input,35,FOLLOW_35_in_ruleUxVisibleableOption2208); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_0, grammarAccess.getUxVisibleableOptionAccess().getEndpointKeyword_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1055:1: ( (lv_name_1_0= RULE_ID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1056:1: (lv_name_1_0= RULE_ID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1056:1: (lv_name_1_0= RULE_ID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1057:3: lv_name_1_0= RULE_ID
{
lv_name_1_0=(Token)match(input,RULE_ID,FOLLOW_RULE_ID_in_ruleUxVisibleableOption2225); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_name_1_0, grammarAccess.getUxVisibleableOptionAccess().getNameIDTerminalRuleCall_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getUxVisibleableOptionRule());
}
setWithLastConsumed(
current,
"name",
lv_name_1_0,
"ID");
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1073:2: ( (lv_jvmType_2_0= ruleJvmTypeReference ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1074:1: (lv_jvmType_2_0= ruleJvmTypeReference )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1074:1: (lv_jvmType_2_0= ruleJvmTypeReference )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1075:3: lv_jvmType_2_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getUxVisibleableOptionAccess().getJvmTypeJvmTypeReferenceParserRuleCall_2_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleUxVisibleableOption2251);
lv_jvmType_2_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getUxVisibleableOptionRule());
}
set(
current,
"jvmType",
lv_jvmType_2_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleUxVisibleableOption"
// $ANTLR start "entryRuleXExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1099:1: entryRuleXExpression returns [EObject current=null] : iv_ruleXExpression= ruleXExpression EOF ;
public final EObject entryRuleXExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXExpression = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1100:2: (iv_ruleXExpression= ruleXExpression EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1101:2: iv_ruleXExpression= ruleXExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionRule());
}
pushFollow(FOLLOW_ruleXExpression_in_entryRuleXExpression2287);
iv_ruleXExpression=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXExpression2297); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXExpression"
// $ANTLR start "ruleXExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1108:1: ruleXExpression returns [EObject current=null] : this_XAssignment_0= ruleXAssignment ;
public final EObject ruleXExpression() throws RecognitionException {
EObject current = null;
EObject this_XAssignment_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1111:28: (this_XAssignment_0= ruleXAssignment )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1113:5: this_XAssignment_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXExpressionAccess().getXAssignmentParserRuleCall());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXExpression2343);
this_XAssignment_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAssignment_0;
afterParserOrEnumRuleCall();
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXExpression"
// $ANTLR start "entryRuleXAssignment"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1129:1: entryRuleXAssignment returns [EObject current=null] : iv_ruleXAssignment= ruleXAssignment EOF ;
public final EObject entryRuleXAssignment() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAssignment = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1130:2: (iv_ruleXAssignment= ruleXAssignment EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1131:2: iv_ruleXAssignment= ruleXAssignment EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentRule());
}
pushFollow(FOLLOW_ruleXAssignment_in_entryRuleXAssignment2377);
iv_ruleXAssignment=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAssignment;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAssignment2387); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAssignment"
// $ANTLR start "ruleXAssignment"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1138:1: ruleXAssignment returns [EObject current=null] : ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) ;
public final EObject ruleXAssignment() throws RecognitionException {
EObject current = null;
EObject lv_value_3_0 = null;
EObject this_XOrExpression_4 = null;
EObject lv_rightOperand_7_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1141:28: ( ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1142:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1142:1: ( ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) ) | (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? ) )
int alt25=2;
switch ( input.LA(1) ) {
case RULE_ID:
{
int LA25_1 = input.LA(2);
if ( (LA25_1==EOF||(LA25_1>=RULE_STRING && LA25_1<=RULE_DECIMAL)||(LA25_1>=14 && LA25_1<=15)||(LA25_1>=19 && LA25_1<=22)||(LA25_1>=24 && LA25_1<=25)||LA25_1==32||(LA25_1>=38 && LA25_1<=75)||(LA25_1>=77 && LA25_1<=99)) ) {
alt25=2;
}
else if ( (LA25_1==37) ) {
alt25=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 1, input);
throw nvae;
}
}
break;
case 87:
{
int LA25_2 = input.LA(2);
if ( (LA25_2==EOF||(LA25_2>=RULE_STRING && LA25_2<=RULE_DECIMAL)||(LA25_2>=14 && LA25_2<=15)||(LA25_2>=19 && LA25_2<=22)||(LA25_2>=24 && LA25_2<=25)||LA25_2==32||(LA25_2>=38 && LA25_2<=75)||(LA25_2>=77 && LA25_2<=99)) ) {
alt25=2;
}
else if ( (LA25_2==37) ) {
alt25=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 2, input);
throw nvae;
}
}
break;
case 20:
{
int LA25_3 = input.LA(2);
if ( (LA25_3==37) ) {
alt25=1;
}
else if ( (LA25_3==EOF||(LA25_3>=RULE_STRING && LA25_3<=RULE_DECIMAL)||(LA25_3>=14 && LA25_3<=15)||(LA25_3>=19 && LA25_3<=22)||(LA25_3>=24 && LA25_3<=25)||LA25_3==32||(LA25_3>=38 && LA25_3<=75)||(LA25_3>=77 && LA25_3<=99)) ) {
alt25=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 3, input);
throw nvae;
}
}
break;
case 19:
{
int LA25_4 = input.LA(2);
if ( (LA25_4==37) ) {
alt25=1;
}
else if ( (LA25_4==EOF||(LA25_4>=RULE_STRING && LA25_4<=RULE_DECIMAL)||(LA25_4>=14 && LA25_4<=15)||(LA25_4>=19 && LA25_4<=22)||(LA25_4>=24 && LA25_4<=25)||LA25_4==32||(LA25_4>=38 && LA25_4<=75)||(LA25_4>=77 && LA25_4<=99)) ) {
alt25=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 4, input);
throw nvae;
}
}
break;
case 21:
{
int LA25_5 = input.LA(2);
if ( (LA25_5==37) ) {
alt25=1;
}
else if ( (LA25_5==EOF||(LA25_5>=RULE_STRING && LA25_5<=RULE_DECIMAL)||(LA25_5>=14 && LA25_5<=15)||(LA25_5>=19 && LA25_5<=22)||(LA25_5>=24 && LA25_5<=25)||LA25_5==32||(LA25_5>=38 && LA25_5<=75)||(LA25_5>=77 && LA25_5<=99)) ) {
alt25=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 5, input);
throw nvae;
}
}
break;
case RULE_STRING:
case RULE_HEX:
case RULE_INT:
case RULE_DECIMAL:
case 14:
case 43:
case 59:
case 60:
case 64:
case 71:
case 73:
case 74:
case 77:
case 79:
case 82:
case 83:
case 84:
case 88:
case 89:
case 90:
case 91:
case 92:
case 93:
case 94:
case 95:
case 96:
case 98:
{
alt25=2;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 25, 0, input);
throw nvae;
}
switch (alt25) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1142:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1142:2: ( () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1142:3: () ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ( (lv_value_3_0= ruleXAssignment ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1142:3: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1143:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXAssignmentAccess().getXAssignmentAction_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1148:2: ( ( ruleFeatureCallID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1149:1: ( ruleFeatureCallID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1149:1: ( ruleFeatureCallID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1150:3: ruleFeatureCallID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0());
}
pushFollow(FOLLOW_ruleFeatureCallID_in_ruleXAssignment2445);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getOpSingleAssignParserRuleCall_0_2());
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_ruleXAssignment2461);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1171:1: ( (lv_value_3_0= ruleXAssignment ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1172:1: (lv_value_3_0= ruleXAssignment )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1172:1: (lv_value_3_0= ruleXAssignment )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1173:3: lv_value_3_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getValueXAssignmentParserRuleCall_0_3_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment2481);
lv_value_3_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAssignmentRule());
}
set(
current,
"value",
lv_value_3_0,
"XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1190:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1190:6: (this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )? )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1191:5: this_XOrExpression_4= ruleXOrExpression ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getXOrExpressionParserRuleCall_1_0());
}
pushFollow(FOLLOW_ruleXOrExpression_in_ruleXAssignment2511);
this_XOrExpression_4=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOrExpression_4;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1199:1: ( ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) ) )?
int alt24=2;
alt24 = dfa24.predict(input);
switch (alt24) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1199:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) ) ( (lv_rightOperand_7_0= ruleXAssignment ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1199:2: ( ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1199:3: ( ( () ( ( ruleOpMultiAssign ) ) ) )=> ( () ( ( ruleOpMultiAssign ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1204:6: ( () ( ( ruleOpMultiAssign ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1204:7: () ( ( ruleOpMultiAssign ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1204:7: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1205:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAssignmentAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1210:2: ( ( ruleOpMultiAssign ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1211:1: ( ruleOpMultiAssign )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1211:1: ( ruleOpMultiAssign )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1212:3: ruleOpMultiAssign
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAssignmentRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpMultiAssign_in_ruleXAssignment2564);
ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1225:4: ( (lv_rightOperand_7_0= ruleXAssignment ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1226:1: (lv_rightOperand_7_0= ruleXAssignment )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1226:1: (lv_rightOperand_7_0= ruleXAssignment )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1227:3: lv_rightOperand_7_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAssignmentAccess().getRightOperandXAssignmentParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXAssignment2587);
lv_rightOperand_7_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAssignmentRule());
}
set(
current,
"rightOperand",
lv_rightOperand_7_0,
"XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
break;
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAssignment"
// $ANTLR start "entryRuleOpSingleAssign"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1251:1: entryRuleOpSingleAssign returns [String current=null] : iv_ruleOpSingleAssign= ruleOpSingleAssign EOF ;
public final String entryRuleOpSingleAssign() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpSingleAssign = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1252:2: (iv_ruleOpSingleAssign= ruleOpSingleAssign EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1253:2: iv_ruleOpSingleAssign= ruleOpSingleAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpSingleAssignRule());
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_entryRuleOpSingleAssign2627);
iv_ruleOpSingleAssign=ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpSingleAssign.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpSingleAssign2638); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpSingleAssign"
// $ANTLR start "ruleOpSingleAssign"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1260:1: ruleOpSingleAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '=' ;
public final AntlrDatatypeRuleToken ruleOpSingleAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1263:28: (kw= '=' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1265:2: kw= '='
{
kw=(Token)match(input,37,FOLLOW_37_in_ruleOpSingleAssign2675); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpSingleAssignAccess().getEqualsSignKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpSingleAssign"
// $ANTLR start "entryRuleOpMultiAssign"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1278:1: entryRuleOpMultiAssign returns [String current=null] : iv_ruleOpMultiAssign= ruleOpMultiAssign EOF ;
public final String entryRuleOpMultiAssign() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpMultiAssign = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1279:2: (iv_ruleOpMultiAssign= ruleOpMultiAssign EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1280:2: iv_ruleOpMultiAssign= ruleOpMultiAssign EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiAssignRule());
}
pushFollow(FOLLOW_ruleOpMultiAssign_in_entryRuleOpMultiAssign2715);
iv_ruleOpMultiAssign=ruleOpMultiAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMultiAssign.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpMultiAssign2726); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMultiAssign"
// $ANTLR start "ruleOpMultiAssign"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1287:1: ruleOpMultiAssign returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) ;
public final AntlrDatatypeRuleToken ruleOpMultiAssign() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1290:28: ( (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1291:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1291:1: (kw= '+=' | kw= '-=' | kw= '*=' | kw= '/=' | kw= '%=' | (kw= '<' kw= '<' kw= '=' ) | (kw= '>' (kw= '>' )? kw= '>=' ) )
int alt27=7;
switch ( input.LA(1) ) {
case 38:
{
alt27=1;
}
break;
case 39:
{
alt27=2;
}
break;
case 40:
{
alt27=3;
}
break;
case 41:
{
alt27=4;
}
break;
case 42:
{
alt27=5;
}
break;
case 43:
{
alt27=6;
}
break;
case 44:
{
alt27=7;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 27, 0, input);
throw nvae;
}
switch (alt27) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1292:2: kw= '+='
{
kw=(Token)match(input,38,FOLLOW_38_in_ruleOpMultiAssign2764); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPlusSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1299:2: kw= '-='
{
kw=(Token)match(input,39,FOLLOW_39_in_ruleOpMultiAssign2783); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getHyphenMinusEqualsSignKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1306:2: kw= '*='
{
kw=(Token)match(input,40,FOLLOW_40_in_ruleOpMultiAssign2802); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getAsteriskEqualsSignKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1313:2: kw= '/='
{
kw=(Token)match(input,41,FOLLOW_41_in_ruleOpMultiAssign2821); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getSolidusEqualsSignKeyword_3());
}
}
break;
case 5 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1320:2: kw= '%='
{
kw=(Token)match(input,42,FOLLOW_42_in_ruleOpMultiAssign2840); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getPercentSignEqualsSignKeyword_4());
}
}
break;
case 6 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1326:6: (kw= '<' kw= '<' kw= '=' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1326:6: (kw= '<' kw= '<' kw= '=' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1327:2: kw= '<' kw= '<' kw= '='
{
kw=(Token)match(input,43,FOLLOW_43_in_ruleOpMultiAssign2860); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_0());
}
kw=(Token)match(input,43,FOLLOW_43_in_ruleOpMultiAssign2873); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getLessThanSignKeyword_5_1());
}
kw=(Token)match(input,37,FOLLOW_37_in_ruleOpMultiAssign2886); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getEqualsSignKeyword_5_2());
}
}
}
break;
case 7 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1345:6: (kw= '>' (kw= '>' )? kw= '>=' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1345:6: (kw= '>' (kw= '>' )? kw= '>=' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1346:2: kw= '>' (kw= '>' )? kw= '>='
{
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpMultiAssign2907); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1351:1: (kw= '>' )?
int alt26=2;
int LA26_0 = input.LA(1);
if ( (LA26_0==44) ) {
alt26=1;
}
switch (alt26) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1352:2: kw= '>'
{
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpMultiAssign2921); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignKeyword_6_1());
}
}
break;
}
kw=(Token)match(input,45,FOLLOW_45_in_ruleOpMultiAssign2936); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAssignAccess().getGreaterThanSignEqualsSignKeyword_6_2());
}
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpMultiAssign"
// $ANTLR start "entryRuleXOrExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1371:1: entryRuleXOrExpression returns [EObject current=null] : iv_ruleXOrExpression= ruleXOrExpression EOF ;
public final EObject entryRuleXOrExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXOrExpression = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1372:2: (iv_ruleXOrExpression= ruleXOrExpression EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1373:2: iv_ruleXOrExpression= ruleXOrExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionRule());
}
pushFollow(FOLLOW_ruleXOrExpression_in_entryRuleXOrExpression2977);
iv_ruleXOrExpression=ruleXOrExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOrExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXOrExpression2987); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOrExpression"
// $ANTLR start "ruleXOrExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1380:1: ruleXOrExpression returns [EObject current=null] : (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) ;
public final EObject ruleXOrExpression() throws RecognitionException {
EObject current = null;
EObject this_XAndExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1383:28: ( (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1384:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1384:1: (this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1385:5: this_XAndExpression_0= ruleXAndExpression ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getXAndExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression3034);
this_XAndExpression_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAndExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1393:1: ( ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) ) )*
loop28:
do {
int alt28=2;
int LA28_0 = input.LA(1);
if ( (LA28_0==46) ) {
int LA28_2 = input.LA(2);
if ( (synpred2_InternalUISemanticsGrammar()) ) {
alt28=1;
}
}
switch (alt28) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1393:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) ) ( (lv_rightOperand_3_0= ruleXAndExpression ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1393:2: ( ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1393:3: ( ( () ( ( ruleOpOr ) ) ) )=> ( () ( ( ruleOpOr ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1398:6: ( () ( ( ruleOpOr ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1398:7: () ( ( ruleOpOr ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1398:7: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1399:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOrExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1404:2: ( ( ruleOpOr ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1405:1: ( ruleOpOr )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1405:1: ( ruleOpOr )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1406:3: ruleOpOr
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXOrExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpOr_in_ruleXOrExpression3087);
ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1419:4: ( (lv_rightOperand_3_0= ruleXAndExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1420:1: (lv_rightOperand_3_0= ruleXAndExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1420:1: (lv_rightOperand_3_0= ruleXAndExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1421:3: lv_rightOperand_3_0= ruleXAndExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOrExpressionAccess().getRightOperandXAndExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXAndExpression_in_ruleXOrExpression3110);
lv_rightOperand_3_0=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXOrExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XAndExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop28;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOrExpression"
// $ANTLR start "entryRuleOpOr"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1445:1: entryRuleOpOr returns [String current=null] : iv_ruleOpOr= ruleOpOr EOF ;
public final String entryRuleOpOr() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOr = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1446:2: (iv_ruleOpOr= ruleOpOr EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1447:2: iv_ruleOpOr= ruleOpOr EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOrRule());
}
pushFollow(FOLLOW_ruleOpOr_in_entryRuleOpOr3149);
iv_ruleOpOr=ruleOpOr();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOr.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpOr3160); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOr"
// $ANTLR start "ruleOpOr"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1454:1: ruleOpOr returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '||' ;
public final AntlrDatatypeRuleToken ruleOpOr() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1457:28: (kw= '||' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1459:2: kw= '||'
{
kw=(Token)match(input,46,FOLLOW_46_in_ruleOpOr3197); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOrAccess().getVerticalLineVerticalLineKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpOr"
// $ANTLR start "entryRuleXAndExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1472:1: entryRuleXAndExpression returns [EObject current=null] : iv_ruleXAndExpression= ruleXAndExpression EOF ;
public final EObject entryRuleXAndExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAndExpression = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1473:2: (iv_ruleXAndExpression= ruleXAndExpression EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1474:2: iv_ruleXAndExpression= ruleXAndExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionRule());
}
pushFollow(FOLLOW_ruleXAndExpression_in_entryRuleXAndExpression3236);
iv_ruleXAndExpression=ruleXAndExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAndExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAndExpression3246); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAndExpression"
// $ANTLR start "ruleXAndExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1481:1: ruleXAndExpression returns [EObject current=null] : (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) ;
public final EObject ruleXAndExpression() throws RecognitionException {
EObject current = null;
EObject this_XEqualityExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1484:28: ( (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1485:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1485:1: (this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1486:5: this_XEqualityExpression_0= ruleXEqualityExpression ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getXEqualityExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression3293);
this_XEqualityExpression_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XEqualityExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1494:1: ( ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) ) )*
loop29:
do {
int alt29=2;
int LA29_0 = input.LA(1);
if ( (LA29_0==47) ) {
int LA29_2 = input.LA(2);
if ( (synpred3_InternalUISemanticsGrammar()) ) {
alt29=1;
}
}
switch (alt29) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1494:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) ) ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1494:2: ( ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1494:3: ( ( () ( ( ruleOpAnd ) ) ) )=> ( () ( ( ruleOpAnd ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1499:6: ( () ( ( ruleOpAnd ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1499:7: () ( ( ruleOpAnd ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1499:7: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1500:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAndExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1505:2: ( ( ruleOpAnd ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1506:1: ( ruleOpAnd )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1506:1: ( ruleOpAnd )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1507:3: ruleOpAnd
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAndExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpAnd_in_ruleXAndExpression3346);
ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1520:4: ( (lv_rightOperand_3_0= ruleXEqualityExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1521:1: (lv_rightOperand_3_0= ruleXEqualityExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1521:1: (lv_rightOperand_3_0= ruleXEqualityExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1522:3: lv_rightOperand_3_0= ruleXEqualityExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAndExpressionAccess().getRightOperandXEqualityExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_ruleXAndExpression3369);
lv_rightOperand_3_0=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAndExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XEqualityExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop29;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAndExpression"
// $ANTLR start "entryRuleOpAnd"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1546:1: entryRuleOpAnd returns [String current=null] : iv_ruleOpAnd= ruleOpAnd EOF ;
public final String entryRuleOpAnd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAnd = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1547:2: (iv_ruleOpAnd= ruleOpAnd EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1548:2: iv_ruleOpAnd= ruleOpAnd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAndRule());
}
pushFollow(FOLLOW_ruleOpAnd_in_entryRuleOpAnd3408);
iv_ruleOpAnd=ruleOpAnd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAnd.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpAnd3419); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAnd"
// $ANTLR start "ruleOpAnd"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1555:1: ruleOpAnd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : kw= '&&' ;
public final AntlrDatatypeRuleToken ruleOpAnd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1558:28: (kw= '&&' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1560:2: kw= '&&'
{
kw=(Token)match(input,47,FOLLOW_47_in_ruleOpAnd3456); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAndAccess().getAmpersandAmpersandKeyword());
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpAnd"
// $ANTLR start "entryRuleXEqualityExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1573:1: entryRuleXEqualityExpression returns [EObject current=null] : iv_ruleXEqualityExpression= ruleXEqualityExpression EOF ;
public final EObject entryRuleXEqualityExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXEqualityExpression = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1574:2: (iv_ruleXEqualityExpression= ruleXEqualityExpression EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1575:2: iv_ruleXEqualityExpression= ruleXEqualityExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionRule());
}
pushFollow(FOLLOW_ruleXEqualityExpression_in_entryRuleXEqualityExpression3495);
iv_ruleXEqualityExpression=ruleXEqualityExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXEqualityExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXEqualityExpression3505); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXEqualityExpression"
// $ANTLR start "ruleXEqualityExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1582:1: ruleXEqualityExpression returns [EObject current=null] : (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) ;
public final EObject ruleXEqualityExpression() throws RecognitionException {
EObject current = null;
EObject this_XRelationalExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1585:28: ( (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1586:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1586:1: (this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1587:5: this_XRelationalExpression_0= ruleXRelationalExpression ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getXRelationalExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression3552);
this_XRelationalExpression_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XRelationalExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1595:1: ( ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) ) )*
loop30:
do {
int alt30=2;
switch ( input.LA(1) ) {
case 48:
{
int LA30_2 = input.LA(2);
if ( (synpred4_InternalUISemanticsGrammar()) ) {
alt30=1;
}
}
break;
case 49:
{
int LA30_3 = input.LA(2);
if ( (synpred4_InternalUISemanticsGrammar()) ) {
alt30=1;
}
}
break;
case 50:
{
int LA30_4 = input.LA(2);
if ( (synpred4_InternalUISemanticsGrammar()) ) {
alt30=1;
}
}
break;
case 51:
{
int LA30_5 = input.LA(2);
if ( (synpred4_InternalUISemanticsGrammar()) ) {
alt30=1;
}
}
break;
}
switch (alt30) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1595:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) ) ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1595:2: ( ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1595:3: ( ( () ( ( ruleOpEquality ) ) ) )=> ( () ( ( ruleOpEquality ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1600:6: ( () ( ( ruleOpEquality ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1600:7: () ( ( ruleOpEquality ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1600:7: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1601:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXEqualityExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1606:2: ( ( ruleOpEquality ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1607:1: ( ruleOpEquality )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1607:1: ( ruleOpEquality )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1608:3: ruleOpEquality
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXEqualityExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpEquality_in_ruleXEqualityExpression3605);
ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1621:4: ( (lv_rightOperand_3_0= ruleXRelationalExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1622:1: (lv_rightOperand_3_0= ruleXRelationalExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1622:1: (lv_rightOperand_3_0= ruleXRelationalExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1623:3: lv_rightOperand_3_0= ruleXRelationalExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXEqualityExpressionAccess().getRightOperandXRelationalExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_ruleXEqualityExpression3628);
lv_rightOperand_3_0=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXEqualityExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XRelationalExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop30;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXEqualityExpression"
// $ANTLR start "entryRuleOpEquality"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1647:1: entryRuleOpEquality returns [String current=null] : iv_ruleOpEquality= ruleOpEquality EOF ;
public final String entryRuleOpEquality() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpEquality = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1648:2: (iv_ruleOpEquality= ruleOpEquality EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1649:2: iv_ruleOpEquality= ruleOpEquality EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpEqualityRule());
}
pushFollow(FOLLOW_ruleOpEquality_in_entryRuleOpEquality3667);
iv_ruleOpEquality=ruleOpEquality();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpEquality.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpEquality3678); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpEquality"
// $ANTLR start "ruleOpEquality"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1656:1: ruleOpEquality returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) ;
public final AntlrDatatypeRuleToken ruleOpEquality() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1659:28: ( (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1660:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1660:1: (kw= '==' | kw= '!=' | kw= '===' | kw= '!==' )
int alt31=4;
switch ( input.LA(1) ) {
case 48:
{
alt31=1;
}
break;
case 49:
{
alt31=2;
}
break;
case 50:
{
alt31=3;
}
break;
case 51:
{
alt31=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 31, 0, input);
throw nvae;
}
switch (alt31) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1661:2: kw= '=='
{
kw=(Token)match(input,48,FOLLOW_48_in_ruleOpEquality3716); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1668:2: kw= '!='
{
kw=(Token)match(input,49,FOLLOW_49_in_ruleOpEquality3735); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1675:2: kw= '==='
{
kw=(Token)match(input,50,FOLLOW_50_in_ruleOpEquality3754); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getEqualsSignEqualsSignEqualsSignKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1682:2: kw= '!=='
{
kw=(Token)match(input,51,FOLLOW_51_in_ruleOpEquality3773); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpEqualityAccess().getExclamationMarkEqualsSignEqualsSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpEquality"
// $ANTLR start "entryRuleXRelationalExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1695:1: entryRuleXRelationalExpression returns [EObject current=null] : iv_ruleXRelationalExpression= ruleXRelationalExpression EOF ;
public final EObject entryRuleXRelationalExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXRelationalExpression = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1696:2: (iv_ruleXRelationalExpression= ruleXRelationalExpression EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1697:2: iv_ruleXRelationalExpression= ruleXRelationalExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionRule());
}
pushFollow(FOLLOW_ruleXRelationalExpression_in_entryRuleXRelationalExpression3813);
iv_ruleXRelationalExpression=ruleXRelationalExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXRelationalExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXRelationalExpression3823); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXRelationalExpression"
// $ANTLR start "ruleXRelationalExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1704:1: ruleXRelationalExpression returns [EObject current=null] : (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) ;
public final EObject ruleXRelationalExpression() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_XOtherOperatorExpression_0 = null;
EObject lv_type_3_0 = null;
EObject lv_rightOperand_6_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1707:28: ( (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1708:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1708:1: (this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1709:5: this_XOtherOperatorExpression_0= ruleXOtherOperatorExpression ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getXOtherOperatorExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression3870);
this_XOtherOperatorExpression_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XOtherOperatorExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1717:1: ( ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) ) | ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) ) )*
loop32:
do {
int alt32=3;
switch ( input.LA(1) ) {
case 43:
{
int LA32_2 = input.LA(2);
if ( (synpred6_InternalUISemanticsGrammar()) ) {
alt32=2;
}
}
break;
case 44:
{
int LA32_3 = input.LA(2);
if ( (synpred6_InternalUISemanticsGrammar()) ) {
alt32=2;
}
}
break;
case 52:
{
int LA32_4 = input.LA(2);
if ( (synpred5_InternalUISemanticsGrammar()) ) {
alt32=1;
}
}
break;
case 45:
{
int LA32_5 = input.LA(2);
if ( (synpred6_InternalUISemanticsGrammar()) ) {
alt32=2;
}
}
break;
}
switch (alt32) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1717:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1717:2: ( ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1717:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1717:3: ( ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1717:4: ( ( () 'instanceof' ) )=> ( () otherlv_2= 'instanceof' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1719:5: ( () otherlv_2= 'instanceof' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1719:6: () otherlv_2= 'instanceof'
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1719:6: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1720:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXInstanceOfExpressionExpressionAction_1_0_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,52,FOLLOW_52_in_ruleXRelationalExpression3906); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXRelationalExpressionAccess().getInstanceofKeyword_1_0_0_0_1());
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1729:3: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1730:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1730:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1731:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXRelationalExpression3929);
lv_type_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule());
}
set(
current,
"type",
lv_type_3_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1748:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1748:6: ( ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1748:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) ) ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1748:7: ( ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1748:8: ( ( () ( ( ruleOpCompare ) ) ) )=> ( () ( ( ruleOpCompare ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1753:6: ( () ( ( ruleOpCompare ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1753:7: () ( ( ruleOpCompare ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1753:7: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1754:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXRelationalExpressionAccess().getXBinaryOperationLeftOperandAction_1_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1759:2: ( ( ruleOpCompare ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1760:1: ( ruleOpCompare )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1760:1: ( ruleOpCompare )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1761:3: ruleOpCompare
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXRelationalExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpCompare_in_ruleXRelationalExpression3990);
ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1774:4: ( (lv_rightOperand_6_0= ruleXOtherOperatorExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1775:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1775:1: (lv_rightOperand_6_0= ruleXOtherOperatorExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1776:3: lv_rightOperand_6_0= ruleXOtherOperatorExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXRelationalExpressionAccess().getRightOperandXOtherOperatorExpressionParserRuleCall_1_1_1_0());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_ruleXRelationalExpression4013);
lv_rightOperand_6_0=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXRelationalExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_6_0,
"XOtherOperatorExpression");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
default :
break loop32;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXRelationalExpression"
// $ANTLR start "entryRuleOpCompare"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1800:1: entryRuleOpCompare returns [String current=null] : iv_ruleOpCompare= ruleOpCompare EOF ;
public final String entryRuleOpCompare() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpCompare = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1801:2: (iv_ruleOpCompare= ruleOpCompare EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1802:2: iv_ruleOpCompare= ruleOpCompare EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpCompareRule());
}
pushFollow(FOLLOW_ruleOpCompare_in_entryRuleOpCompare4053);
iv_ruleOpCompare=ruleOpCompare();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpCompare.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpCompare4064); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpCompare"
// $ANTLR start "ruleOpCompare"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1809:1: ruleOpCompare returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) ;
public final AntlrDatatypeRuleToken ruleOpCompare() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1812:28: ( (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1813:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1813:1: (kw= '>=' | (kw= '<' kw= '=' ) | kw= '>' | kw= '<' )
int alt33=4;
switch ( input.LA(1) ) {
case 45:
{
alt33=1;
}
break;
case 43:
{
int LA33_2 = input.LA(2);
if ( (LA33_2==EOF||(LA33_2>=RULE_STRING && LA33_2<=RULE_DECIMAL)||LA33_2==14||(LA33_2>=19 && LA33_2<=21)||LA33_2==43||(LA33_2>=59 && LA33_2<=60)||LA33_2==64||LA33_2==71||(LA33_2>=73 && LA33_2<=74)||LA33_2==77||LA33_2==79||(LA33_2>=82 && LA33_2<=84)||(LA33_2>=87 && LA33_2<=96)||LA33_2==98) ) {
alt33=4;
}
else if ( (LA33_2==37) ) {
alt33=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 33, 2, input);
throw nvae;
}
}
break;
case 44:
{
alt33=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 33, 0, input);
throw nvae;
}
switch (alt33) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1814:2: kw= '>='
{
kw=(Token)match(input,45,FOLLOW_45_in_ruleOpCompare4102); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignEqualsSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1820:6: (kw= '<' kw= '=' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1820:6: (kw= '<' kw= '=' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1821:2: kw= '<' kw= '='
{
kw=(Token)match(input,43,FOLLOW_43_in_ruleOpCompare4122); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_1_0());
}
kw=(Token)match(input,37,FOLLOW_37_in_ruleOpCompare4135); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getEqualsSignKeyword_1_1());
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1834:2: kw= '>'
{
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpCompare4155); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getGreaterThanSignKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1841:2: kw= '<'
{
kw=(Token)match(input,43,FOLLOW_43_in_ruleOpCompare4174); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpCompareAccess().getLessThanSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpCompare"
// $ANTLR start "entryRuleXOtherOperatorExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1854:1: entryRuleXOtherOperatorExpression returns [EObject current=null] : iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF ;
public final EObject entryRuleXOtherOperatorExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXOtherOperatorExpression = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1855:2: (iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1856:2: iv_ruleXOtherOperatorExpression= ruleXOtherOperatorExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionRule());
}
pushFollow(FOLLOW_ruleXOtherOperatorExpression_in_entryRuleXOtherOperatorExpression4214);
iv_ruleXOtherOperatorExpression=ruleXOtherOperatorExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXOtherOperatorExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXOtherOperatorExpression4224); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXOtherOperatorExpression"
// $ANTLR start "ruleXOtherOperatorExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1863:1: ruleXOtherOperatorExpression returns [EObject current=null] : (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) ;
public final EObject ruleXOtherOperatorExpression() throws RecognitionException {
EObject current = null;
EObject this_XAdditiveExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1866:28: ( (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1867:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1867:1: (this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1868:5: this_XAdditiveExpression_0= ruleXAdditiveExpression ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getXAdditiveExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression4271);
this_XAdditiveExpression_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XAdditiveExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1876:1: ( ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) ) )*
loop34:
do {
int alt34=2;
alt34 = dfa34.predict(input);
switch (alt34) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1876:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) ) ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1876:2: ( ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1876:3: ( ( () ( ( ruleOpOther ) ) ) )=> ( () ( ( ruleOpOther ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1881:6: ( () ( ( ruleOpOther ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1881:7: () ( ( ruleOpOther ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1881:7: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1882:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXOtherOperatorExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1887:2: ( ( ruleOpOther ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1888:1: ( ruleOpOther )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1888:1: ( ruleOpOther )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1889:3: ruleOpOther
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXOtherOperatorExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpOther_in_ruleXOtherOperatorExpression4324);
ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1902:4: ( (lv_rightOperand_3_0= ruleXAdditiveExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1903:1: (lv_rightOperand_3_0= ruleXAdditiveExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1903:1: (lv_rightOperand_3_0= ruleXAdditiveExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1904:3: lv_rightOperand_3_0= ruleXAdditiveExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXOtherOperatorExpressionAccess().getRightOperandXAdditiveExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_ruleXOtherOperatorExpression4347);
lv_rightOperand_3_0=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXOtherOperatorExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XAdditiveExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop34;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXOtherOperatorExpression"
// $ANTLR start "entryRuleOpOther"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1928:1: entryRuleOpOther returns [String current=null] : iv_ruleOpOther= ruleOpOther EOF ;
public final String entryRuleOpOther() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpOther = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1929:2: (iv_ruleOpOther= ruleOpOther EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1930:2: iv_ruleOpOther= ruleOpOther EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpOtherRule());
}
pushFollow(FOLLOW_ruleOpOther_in_entryRuleOpOther4386);
iv_ruleOpOther=ruleOpOther();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpOther.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpOther4397); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpOther"
// $ANTLR start "ruleOpOther"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1937:1: ruleOpOther returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) ;
public final AntlrDatatypeRuleToken ruleOpOther() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1940:28: ( (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1941:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1941:1: (kw= '->' | kw= '..<' | (kw= '>' kw= '..' ) | kw= '..' | kw= '=>' | (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) ) | (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) ) | kw= '<>' | kw= '?:' )
int alt37=9;
alt37 = dfa37.predict(input);
switch (alt37) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1942:2: kw= '->'
{
kw=(Token)match(input,53,FOLLOW_53_in_ruleOpOther4435); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getHyphenMinusGreaterThanSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1949:2: kw= '..<'
{
kw=(Token)match(input,54,FOLLOW_54_in_ruleOpOther4454); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopLessThanSignKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1955:6: (kw= '>' kw= '..' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1955:6: (kw= '>' kw= '..' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1956:2: kw= '>' kw= '..'
{
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpOther4474); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_2_0());
}
kw=(Token)match(input,55,FOLLOW_55_in_ruleOpOther4487); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_2_1());
}
}
}
break;
case 4 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1969:2: kw= '..'
{
kw=(Token)match(input,55,FOLLOW_55_in_ruleOpOther4507); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getFullStopFullStopKeyword_3());
}
}
break;
case 5 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1976:2: kw= '=>'
{
kw=(Token)match(input,56,FOLLOW_56_in_ruleOpOther4526); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_4());
}
}
break;
case 6 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1982:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1982:6: (kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1983:2: kw= '>' ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
{
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpOther4546); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1988:1: ( ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) ) | kw= '>' )
int alt35=2;
int LA35_0 = input.LA(1);
if ( (LA35_0==44) ) {
int LA35_1 = input.LA(2);
if ( (LA35_1==EOF||(LA35_1>=RULE_STRING && LA35_1<=RULE_DECIMAL)||LA35_1==14||(LA35_1>=19 && LA35_1<=21)||LA35_1==43||(LA35_1>=59 && LA35_1<=60)||LA35_1==64||LA35_1==71||(LA35_1>=73 && LA35_1<=74)||LA35_1==77||LA35_1==79||(LA35_1>=82 && LA35_1<=84)||(LA35_1>=87 && LA35_1<=96)||LA35_1==98) ) {
alt35=2;
}
else if ( (LA35_1==44) && (synpred8_InternalUISemanticsGrammar())) {
alt35=1;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 35, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 35, 0, input);
throw nvae;
}
switch (alt35) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1988:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1988:2: ( ( ( '>' '>' ) )=> (kw= '>' kw= '>' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1988:3: ( ( '>' '>' ) )=> (kw= '>' kw= '>' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1992:5: (kw= '>' kw= '>' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:1993:2: kw= '>' kw= '>'
{
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpOther4577); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_0());
}
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpOther4590); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_0_0_1());
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2006:2: kw= '>'
{
kw=(Token)match(input,44,FOLLOW_44_in_ruleOpOther4611); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getGreaterThanSignKeyword_5_1_1());
}
}
break;
}
}
}
break;
case 7 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2012:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2012:6: (kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2013:2: kw= '<' ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
{
kw=(Token)match(input,43,FOLLOW_43_in_ruleOpOther4633); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2018:1: ( ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) ) | kw= '<' | kw= '=>' )
int alt36=3;
int LA36_0 = input.LA(1);
if ( (LA36_0==43) ) {
int LA36_1 = input.LA(2);
if ( (synpred9_InternalUISemanticsGrammar()) ) {
alt36=1;
}
else if ( (true) ) {
alt36=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 36, 1, input);
throw nvae;
}
}
else if ( (LA36_0==56) ) {
alt36=3;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 36, 0, input);
throw nvae;
}
switch (alt36) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2018:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2018:2: ( ( ( '<' '<' ) )=> (kw= '<' kw= '<' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2018:3: ( ( '<' '<' ) )=> (kw= '<' kw= '<' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2022:5: (kw= '<' kw= '<' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2023:2: kw= '<' kw= '<'
{
kw=(Token)match(input,43,FOLLOW_43_in_ruleOpOther4664); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_0());
}
kw=(Token)match(input,43,FOLLOW_43_in_ruleOpOther4677); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_0_0_1());
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2036:2: kw= '<'
{
kw=(Token)match(input,43,FOLLOW_43_in_ruleOpOther4698); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignKeyword_6_1_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2043:2: kw= '=>'
{
kw=(Token)match(input,56,FOLLOW_56_in_ruleOpOther4717); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getEqualsSignGreaterThanSignKeyword_6_1_2());
}
}
break;
}
}
}
break;
case 8 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2050:2: kw= '<>'
{
kw=(Token)match(input,57,FOLLOW_57_in_ruleOpOther4738); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getLessThanSignGreaterThanSignKeyword_7());
}
}
break;
case 9 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2057:2: kw= '?:'
{
kw=(Token)match(input,58,FOLLOW_58_in_ruleOpOther4757); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpOtherAccess().getQuestionMarkColonKeyword_8());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpOther"
// $ANTLR start "entryRuleXAdditiveExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2070:1: entryRuleXAdditiveExpression returns [EObject current=null] : iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF ;
public final EObject entryRuleXAdditiveExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXAdditiveExpression = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2071:2: (iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2072:2: iv_ruleXAdditiveExpression= ruleXAdditiveExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionRule());
}
pushFollow(FOLLOW_ruleXAdditiveExpression_in_entryRuleXAdditiveExpression4797);
iv_ruleXAdditiveExpression=ruleXAdditiveExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXAdditiveExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXAdditiveExpression4807); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXAdditiveExpression"
// $ANTLR start "ruleXAdditiveExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2079:1: ruleXAdditiveExpression returns [EObject current=null] : (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) ;
public final EObject ruleXAdditiveExpression() throws RecognitionException {
EObject current = null;
EObject this_XMultiplicativeExpression_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2082:28: ( (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2083:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2083:1: (this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2084:5: this_XMultiplicativeExpression_0= ruleXMultiplicativeExpression ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getXMultiplicativeExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression4854);
this_XMultiplicativeExpression_0=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMultiplicativeExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2092:1: ( ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) ) )*
loop38:
do {
int alt38=2;
int LA38_0 = input.LA(1);
if ( (LA38_0==59) ) {
int LA38_2 = input.LA(2);
if ( (synpred10_InternalUISemanticsGrammar()) ) {
alt38=1;
}
}
else if ( (LA38_0==60) ) {
int LA38_3 = input.LA(2);
if ( (synpred10_InternalUISemanticsGrammar()) ) {
alt38=1;
}
}
switch (alt38) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2092:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) ) ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2092:2: ( ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2092:3: ( ( () ( ( ruleOpAdd ) ) ) )=> ( () ( ( ruleOpAdd ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2097:6: ( () ( ( ruleOpAdd ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2097:7: () ( ( ruleOpAdd ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2097:7: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2098:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXAdditiveExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2103:2: ( ( ruleOpAdd ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2104:1: ( ruleOpAdd )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2104:1: ( ruleOpAdd )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2105:3: ruleOpAdd
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXAdditiveExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpAdd_in_ruleXAdditiveExpression4907);
ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2118:4: ( (lv_rightOperand_3_0= ruleXMultiplicativeExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2119:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2119:1: (lv_rightOperand_3_0= ruleXMultiplicativeExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2120:3: lv_rightOperand_3_0= ruleXMultiplicativeExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXAdditiveExpressionAccess().getRightOperandXMultiplicativeExpressionParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_ruleXAdditiveExpression4930);
lv_rightOperand_3_0=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXAdditiveExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XMultiplicativeExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop38;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXAdditiveExpression"
// $ANTLR start "entryRuleOpAdd"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2144:1: entryRuleOpAdd returns [String current=null] : iv_ruleOpAdd= ruleOpAdd EOF ;
public final String entryRuleOpAdd() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpAdd = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2145:2: (iv_ruleOpAdd= ruleOpAdd EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2146:2: iv_ruleOpAdd= ruleOpAdd EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpAddRule());
}
pushFollow(FOLLOW_ruleOpAdd_in_entryRuleOpAdd4969);
iv_ruleOpAdd=ruleOpAdd();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpAdd.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpAdd4980); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpAdd"
// $ANTLR start "ruleOpAdd"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2153:1: ruleOpAdd returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '+' | kw= '-' ) ;
public final AntlrDatatypeRuleToken ruleOpAdd() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2156:28: ( (kw= '+' | kw= '-' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2157:1: (kw= '+' | kw= '-' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2157:1: (kw= '+' | kw= '-' )
int alt39=2;
int LA39_0 = input.LA(1);
if ( (LA39_0==59) ) {
alt39=1;
}
else if ( (LA39_0==60) ) {
alt39=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 39, 0, input);
throw nvae;
}
switch (alt39) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2158:2: kw= '+'
{
kw=(Token)match(input,59,FOLLOW_59_in_ruleOpAdd5018); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getPlusSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2165:2: kw= '-'
{
kw=(Token)match(input,60,FOLLOW_60_in_ruleOpAdd5037); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpAddAccess().getHyphenMinusKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpAdd"
// $ANTLR start "entryRuleXMultiplicativeExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2178:1: entryRuleXMultiplicativeExpression returns [EObject current=null] : iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF ;
public final EObject entryRuleXMultiplicativeExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXMultiplicativeExpression = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2179:2: (iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2180:2: iv_ruleXMultiplicativeExpression= ruleXMultiplicativeExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionRule());
}
pushFollow(FOLLOW_ruleXMultiplicativeExpression_in_entryRuleXMultiplicativeExpression5077);
iv_ruleXMultiplicativeExpression=ruleXMultiplicativeExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMultiplicativeExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXMultiplicativeExpression5087); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMultiplicativeExpression"
// $ANTLR start "ruleXMultiplicativeExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2187:1: ruleXMultiplicativeExpression returns [EObject current=null] : (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) ;
public final EObject ruleXMultiplicativeExpression() throws RecognitionException {
EObject current = null;
EObject this_XUnaryOperation_0 = null;
EObject lv_rightOperand_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2190:28: ( (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2191:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2191:1: (this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2192:5: this_XUnaryOperation_0= ruleXUnaryOperation ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getXUnaryOperationParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression5134);
this_XUnaryOperation_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XUnaryOperation_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2200:1: ( ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) ) )*
loop40:
do {
int alt40=2;
switch ( input.LA(1) ) {
case 22:
{
int LA40_2 = input.LA(2);
if ( (synpred11_InternalUISemanticsGrammar()) ) {
alt40=1;
}
}
break;
case 61:
{
int LA40_3 = input.LA(2);
if ( (synpred11_InternalUISemanticsGrammar()) ) {
alt40=1;
}
}
break;
case 62:
{
int LA40_4 = input.LA(2);
if ( (synpred11_InternalUISemanticsGrammar()) ) {
alt40=1;
}
}
break;
case 63:
{
int LA40_5 = input.LA(2);
if ( (synpred11_InternalUISemanticsGrammar()) ) {
alt40=1;
}
}
break;
}
switch (alt40) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2200:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) ) ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2200:2: ( ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2200:3: ( ( () ( ( ruleOpMulti ) ) ) )=> ( () ( ( ruleOpMulti ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2205:6: ( () ( ( ruleOpMulti ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2205:7: () ( ( ruleOpMulti ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2205:7: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2206:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMultiplicativeExpressionAccess().getXBinaryOperationLeftOperandAction_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2211:2: ( ( ruleOpMulti ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2212:1: ( ruleOpMulti )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2212:1: ( ruleOpMulti )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2213:3: ruleOpMulti
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMultiplicativeExpressionRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_1_0());
}
pushFollow(FOLLOW_ruleOpMulti_in_ruleXMultiplicativeExpression5187);
ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2226:4: ( (lv_rightOperand_3_0= ruleXUnaryOperation ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2227:1: (lv_rightOperand_3_0= ruleXUnaryOperation )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2227:1: (lv_rightOperand_3_0= ruleXUnaryOperation )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2228:3: lv_rightOperand_3_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMultiplicativeExpressionAccess().getRightOperandXUnaryOperationParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXMultiplicativeExpression5210);
lv_rightOperand_3_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMultiplicativeExpressionRule());
}
set(
current,
"rightOperand",
lv_rightOperand_3_0,
"XUnaryOperation");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop40;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMultiplicativeExpression"
// $ANTLR start "entryRuleOpMulti"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2252:1: entryRuleOpMulti returns [String current=null] : iv_ruleOpMulti= ruleOpMulti EOF ;
public final String entryRuleOpMulti() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpMulti = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2253:2: (iv_ruleOpMulti= ruleOpMulti EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2254:2: iv_ruleOpMulti= ruleOpMulti EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpMultiRule());
}
pushFollow(FOLLOW_ruleOpMulti_in_entryRuleOpMulti5249);
iv_ruleOpMulti=ruleOpMulti();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpMulti.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpMulti5260); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpMulti"
// $ANTLR start "ruleOpMulti"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2261:1: ruleOpMulti returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) ;
public final AntlrDatatypeRuleToken ruleOpMulti() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2264:28: ( (kw= '*' | kw= '**' | kw= '/' | kw= '%' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2265:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2265:1: (kw= '*' | kw= '**' | kw= '/' | kw= '%' )
int alt41=4;
switch ( input.LA(1) ) {
case 22:
{
alt41=1;
}
break;
case 61:
{
alt41=2;
}
break;
case 62:
{
alt41=3;
}
break;
case 63:
{
alt41=4;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 41, 0, input);
throw nvae;
}
switch (alt41) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2266:2: kw= '*'
{
kw=(Token)match(input,22,FOLLOW_22_in_ruleOpMulti5298); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2273:2: kw= '**'
{
kw=(Token)match(input,61,FOLLOW_61_in_ruleOpMulti5317); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getAsteriskAsteriskKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2280:2: kw= '/'
{
kw=(Token)match(input,62,FOLLOW_62_in_ruleOpMulti5336); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getSolidusKeyword_2());
}
}
break;
case 4 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2287:2: kw= '%'
{
kw=(Token)match(input,63,FOLLOW_63_in_ruleOpMulti5355); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpMultiAccess().getPercentSignKeyword_3());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpMulti"
// $ANTLR start "entryRuleXUnaryOperation"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2300:1: entryRuleXUnaryOperation returns [EObject current=null] : iv_ruleXUnaryOperation= ruleXUnaryOperation EOF ;
public final EObject entryRuleXUnaryOperation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXUnaryOperation = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2301:2: (iv_ruleXUnaryOperation= ruleXUnaryOperation EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2302:2: iv_ruleXUnaryOperation= ruleXUnaryOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationRule());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_entryRuleXUnaryOperation5395);
iv_ruleXUnaryOperation=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXUnaryOperation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXUnaryOperation5405); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXUnaryOperation"
// $ANTLR start "ruleXUnaryOperation"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2309:1: ruleXUnaryOperation returns [EObject current=null] : ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) ;
public final EObject ruleXUnaryOperation() throws RecognitionException {
EObject current = null;
EObject lv_operand_2_0 = null;
EObject this_XCastedExpression_3 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2312:28: ( ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2313:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2313:1: ( ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) ) | this_XCastedExpression_3= ruleXCastedExpression )
int alt42=2;
int LA42_0 = input.LA(1);
if ( ((LA42_0>=59 && LA42_0<=60)||LA42_0==64) ) {
alt42=1;
}
else if ( ((LA42_0>=RULE_STRING && LA42_0<=RULE_DECIMAL)||LA42_0==14||(LA42_0>=19 && LA42_0<=21)||LA42_0==43||LA42_0==71||(LA42_0>=73 && LA42_0<=74)||LA42_0==77||LA42_0==79||(LA42_0>=82 && LA42_0<=84)||(LA42_0>=87 && LA42_0<=96)||LA42_0==98) ) {
alt42=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 42, 0, input);
throw nvae;
}
switch (alt42) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2313:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2313:2: ( () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2313:3: () ( ( ruleOpUnary ) ) ( (lv_operand_2_0= ruleXUnaryOperation ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2313:3: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2314:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXUnaryOperationAccess().getXUnaryOperationAction_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2319:2: ( ( ruleOpUnary ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2320:1: ( ruleOpUnary )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2320:1: ( ruleOpUnary )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2321:3: ruleOpUnary
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXUnaryOperationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getFeatureJvmIdentifiableElementCrossReference_0_1_0());
}
pushFollow(FOLLOW_ruleOpUnary_in_ruleXUnaryOperation5463);
ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2334:2: ( (lv_operand_2_0= ruleXUnaryOperation ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2335:1: (lv_operand_2_0= ruleXUnaryOperation )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2335:1: (lv_operand_2_0= ruleXUnaryOperation )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2336:3: lv_operand_2_0= ruleXUnaryOperation
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getOperandXUnaryOperationParserRuleCall_0_2_0());
}
pushFollow(FOLLOW_ruleXUnaryOperation_in_ruleXUnaryOperation5484);
lv_operand_2_0=ruleXUnaryOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXUnaryOperationRule());
}
set(
current,
"operand",
lv_operand_2_0,
"XUnaryOperation");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2354:5: this_XCastedExpression_3= ruleXCastedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXUnaryOperationAccess().getXCastedExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXCastedExpression_in_ruleXUnaryOperation5513);
this_XCastedExpression_3=ruleXCastedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XCastedExpression_3;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXUnaryOperation"
// $ANTLR start "entryRuleOpUnary"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2370:1: entryRuleOpUnary returns [String current=null] : iv_ruleOpUnary= ruleOpUnary EOF ;
public final String entryRuleOpUnary() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpUnary = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2371:2: (iv_ruleOpUnary= ruleOpUnary EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2372:2: iv_ruleOpUnary= ruleOpUnary EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpUnaryRule());
}
pushFollow(FOLLOW_ruleOpUnary_in_entryRuleOpUnary5549);
iv_ruleOpUnary=ruleOpUnary();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpUnary.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpUnary5560); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpUnary"
// $ANTLR start "ruleOpUnary"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2379:1: ruleOpUnary returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '!' | kw= '-' | kw= '+' ) ;
public final AntlrDatatypeRuleToken ruleOpUnary() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2382:28: ( (kw= '!' | kw= '-' | kw= '+' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2383:1: (kw= '!' | kw= '-' | kw= '+' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2383:1: (kw= '!' | kw= '-' | kw= '+' )
int alt43=3;
switch ( input.LA(1) ) {
case 64:
{
alt43=1;
}
break;
case 60:
{
alt43=2;
}
break;
case 59:
{
alt43=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 43, 0, input);
throw nvae;
}
switch (alt43) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2384:2: kw= '!'
{
kw=(Token)match(input,64,FOLLOW_64_in_ruleOpUnary5598); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getExclamationMarkKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2391:2: kw= '-'
{
kw=(Token)match(input,60,FOLLOW_60_in_ruleOpUnary5617); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getHyphenMinusKeyword_1());
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2398:2: kw= '+'
{
kw=(Token)match(input,59,FOLLOW_59_in_ruleOpUnary5636); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpUnaryAccess().getPlusSignKeyword_2());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpUnary"
// $ANTLR start "entryRuleXCastedExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2411:1: entryRuleXCastedExpression returns [EObject current=null] : iv_ruleXCastedExpression= ruleXCastedExpression EOF ;
public final EObject entryRuleXCastedExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCastedExpression = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2412:2: (iv_ruleXCastedExpression= ruleXCastedExpression EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2413:2: iv_ruleXCastedExpression= ruleXCastedExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionRule());
}
pushFollow(FOLLOW_ruleXCastedExpression_in_entryRuleXCastedExpression5676);
iv_ruleXCastedExpression=ruleXCastedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCastedExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXCastedExpression5686); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCastedExpression"
// $ANTLR start "ruleXCastedExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2420:1: ruleXCastedExpression returns [EObject current=null] : (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) ;
public final EObject ruleXCastedExpression() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
EObject this_XPostfixOperation_0 = null;
EObject lv_type_3_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2423:28: ( (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2424:1: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2424:1: (this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2425:5: this_XPostfixOperation_0= ruleXPostfixOperation ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getXPostfixOperationParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXPostfixOperation_in_ruleXCastedExpression5733);
this_XPostfixOperation_0=ruleXPostfixOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPostfixOperation_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2433:1: ( ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) ) )*
loop44:
do {
int alt44=2;
int LA44_0 = input.LA(1);
if ( (LA44_0==25) ) {
int LA44_2 = input.LA(2);
if ( (synpred12_InternalUISemanticsGrammar()) ) {
alt44=1;
}
}
switch (alt44) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2433:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) ) ( (lv_type_3_0= ruleJvmTypeReference ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2433:2: ( ( ( () 'as' ) )=> ( () otherlv_2= 'as' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2433:3: ( ( () 'as' ) )=> ( () otherlv_2= 'as' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2435:5: ( () otherlv_2= 'as' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2435:6: () otherlv_2= 'as'
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2435:6: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2436:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXCastedExpressionAccess().getXCastedExpressionTargetAction_1_0_0_0(),
current);
}
}
otherlv_2=(Token)match(input,25,FOLLOW_25_in_ruleXCastedExpression5768); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXCastedExpressionAccess().getAsKeyword_1_0_0_1());
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2445:3: ( (lv_type_3_0= ruleJvmTypeReference ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2446:1: (lv_type_3_0= ruleJvmTypeReference )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2446:1: (lv_type_3_0= ruleJvmTypeReference )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2447:3: lv_type_3_0= ruleJvmTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCastedExpressionAccess().getTypeJvmTypeReferenceParserRuleCall_1_1_0());
}
pushFollow(FOLLOW_ruleJvmTypeReference_in_ruleXCastedExpression5791);
lv_type_3_0=ruleJvmTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXCastedExpressionRule());
}
set(
current,
"type",
lv_type_3_0,
"JvmTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop44;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCastedExpression"
// $ANTLR start "entryRuleXPostfixOperation"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2471:1: entryRuleXPostfixOperation returns [EObject current=null] : iv_ruleXPostfixOperation= ruleXPostfixOperation EOF ;
public final EObject entryRuleXPostfixOperation() throws RecognitionException {
EObject current = null;
EObject iv_ruleXPostfixOperation = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2472:2: (iv_ruleXPostfixOperation= ruleXPostfixOperation EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2473:2: iv_ruleXPostfixOperation= ruleXPostfixOperation EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationRule());
}
pushFollow(FOLLOW_ruleXPostfixOperation_in_entryRuleXPostfixOperation5829);
iv_ruleXPostfixOperation=ruleXPostfixOperation();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXPostfixOperation;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXPostfixOperation5839); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXPostfixOperation"
// $ANTLR start "ruleXPostfixOperation"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2480:1: ruleXPostfixOperation returns [EObject current=null] : (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) ;
public final EObject ruleXPostfixOperation() throws RecognitionException {
EObject current = null;
EObject this_XMemberFeatureCall_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2483:28: ( (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2484:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2484:1: (this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )? )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2485:5: this_XMemberFeatureCall_0= ruleXMemberFeatureCall ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )?
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationAccess().getXMemberFeatureCallParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXMemberFeatureCall_in_ruleXPostfixOperation5886);
this_XMemberFeatureCall_0=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XMemberFeatureCall_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2493:1: ( ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) ) )?
int alt45=2;
int LA45_0 = input.LA(1);
if ( (LA45_0==65) ) {
int LA45_1 = input.LA(2);
if ( (synpred13_InternalUISemanticsGrammar()) ) {
alt45=1;
}
}
else if ( (LA45_0==66) ) {
int LA45_2 = input.LA(2);
if ( (synpred13_InternalUISemanticsGrammar()) ) {
alt45=1;
}
}
switch (alt45) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2493:2: ( ( () ( ( ruleOpPostfix ) ) ) )=> ( () ( ( ruleOpPostfix ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2498:6: ( () ( ( ruleOpPostfix ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2498:7: () ( ( ruleOpPostfix ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2498:7: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2499:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXPostfixOperationAccess().getXPostfixOperationOperandAction_1_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2504:2: ( ( ruleOpPostfix ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2505:1: ( ruleOpPostfix )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2505:1: ( ruleOpPostfix )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2506:3: ruleOpPostfix
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXPostfixOperationRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPostfixOperationAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_1_0());
}
pushFollow(FOLLOW_ruleOpPostfix_in_ruleXPostfixOperation5938);
ruleOpPostfix();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXPostfixOperation"
// $ANTLR start "entryRuleOpPostfix"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2527:1: entryRuleOpPostfix returns [String current=null] : iv_ruleOpPostfix= ruleOpPostfix EOF ;
public final String entryRuleOpPostfix() throws RecognitionException {
String current = null;
AntlrDatatypeRuleToken iv_ruleOpPostfix = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2528:2: (iv_ruleOpPostfix= ruleOpPostfix EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2529:2: iv_ruleOpPostfix= ruleOpPostfix EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getOpPostfixRule());
}
pushFollow(FOLLOW_ruleOpPostfix_in_entryRuleOpPostfix5978);
iv_ruleOpPostfix=ruleOpPostfix();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleOpPostfix.getText();
}
match(input,EOF,FOLLOW_EOF_in_entryRuleOpPostfix5989); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleOpPostfix"
// $ANTLR start "ruleOpPostfix"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2536:1: ruleOpPostfix returns [AntlrDatatypeRuleToken current=new AntlrDatatypeRuleToken()] : (kw= '++' | kw= '--' ) ;
public final AntlrDatatypeRuleToken ruleOpPostfix() throws RecognitionException {
AntlrDatatypeRuleToken current = new AntlrDatatypeRuleToken();
Token kw=null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2539:28: ( (kw= '++' | kw= '--' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2540:1: (kw= '++' | kw= '--' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2540:1: (kw= '++' | kw= '--' )
int alt46=2;
int LA46_0 = input.LA(1);
if ( (LA46_0==65) ) {
alt46=1;
}
else if ( (LA46_0==66) ) {
alt46=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 46, 0, input);
throw nvae;
}
switch (alt46) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2541:2: kw= '++'
{
kw=(Token)match(input,65,FOLLOW_65_in_ruleOpPostfix6027); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpPostfixAccess().getPlusSignPlusSignKeyword_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2548:2: kw= '--'
{
kw=(Token)match(input,66,FOLLOW_66_in_ruleOpPostfix6046); if (state.failed) return current;
if ( state.backtracking==0 ) {
current.merge(kw);
newLeafNode(kw, grammarAccess.getOpPostfixAccess().getHyphenMinusHyphenMinusKeyword_1());
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleOpPostfix"
// $ANTLR start "entryRuleXMemberFeatureCall"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2561:1: entryRuleXMemberFeatureCall returns [EObject current=null] : iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF ;
public final EObject entryRuleXMemberFeatureCall() throws RecognitionException {
EObject current = null;
EObject iv_ruleXMemberFeatureCall = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2562:2: (iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2563:2: iv_ruleXMemberFeatureCall= ruleXMemberFeatureCall EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallRule());
}
pushFollow(FOLLOW_ruleXMemberFeatureCall_in_entryRuleXMemberFeatureCall6086);
iv_ruleXMemberFeatureCall=ruleXMemberFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXMemberFeatureCall;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXMemberFeatureCall6096); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXMemberFeatureCall"
// $ANTLR start "ruleXMemberFeatureCall"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2570:1: ruleXMemberFeatureCall returns [EObject current=null] : (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) ;
public final EObject ruleXMemberFeatureCall() throws RecognitionException {
EObject current = null;
Token otherlv_2=null;
Token lv_explicitStatic_3_0=null;
Token otherlv_8=null;
Token lv_nullSafe_9_0=null;
Token lv_explicitStatic_10_0=null;
Token otherlv_11=null;
Token otherlv_13=null;
Token otherlv_15=null;
Token lv_explicitOperationCall_17_0=null;
Token otherlv_20=null;
Token otherlv_22=null;
EObject this_XPrimaryExpression_0 = null;
EObject lv_value_6_0 = null;
EObject lv_typeArguments_12_0 = null;
EObject lv_typeArguments_14_0 = null;
EObject lv_memberCallArguments_18_0 = null;
EObject lv_memberCallArguments_19_0 = null;
EObject lv_memberCallArguments_21_0 = null;
EObject lv_memberCallArguments_23_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2573:28: ( (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2574:1: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2574:1: (this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2575:5: this_XPrimaryExpression_0= ruleXPrimaryExpression ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )*
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getXPrimaryExpressionParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXPrimaryExpression_in_ruleXMemberFeatureCall6143);
this_XPrimaryExpression_0=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XPrimaryExpression_0;
afterParserOrEnumRuleCall();
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2583:1: ( ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) ) | ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? ) )*
loop55:
do {
int alt55=3;
switch ( input.LA(1) ) {
case 67:
{
int LA55_2 = input.LA(2);
if ( (synpred14_InternalUISemanticsGrammar()) ) {
alt55=1;
}
else if ( (synpred15_InternalUISemanticsGrammar()) ) {
alt55=2;
}
}
break;
case 68:
{
int LA55_3 = input.LA(2);
if ( (synpred14_InternalUISemanticsGrammar()) ) {
alt55=1;
}
else if ( (synpred15_InternalUISemanticsGrammar()) ) {
alt55=2;
}
}
break;
case 69:
{
int LA55_4 = input.LA(2);
if ( (synpred15_InternalUISemanticsGrammar()) ) {
alt55=2;
}
}
break;
}
switch (alt55) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2583:2: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2583:2: ( ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2583:3: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) ) ( (lv_value_6_0= ruleXAssignment ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2583:3: ( ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2583:4: ( ( () ( '.' | ( ( '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign ) )=> ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2596:25: ( () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2596:26: () (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) ) ( ( ruleFeatureCallID ) ) ruleOpSingleAssign
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2596:26: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2597:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXAssignmentAssignableAction_1_0_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2602:2: (otherlv_2= '.' | ( (lv_explicitStatic_3_0= '::' ) ) )
int alt47=2;
int LA47_0 = input.LA(1);
if ( (LA47_0==67) ) {
alt47=1;
}
else if ( (LA47_0==68) ) {
alt47=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 47, 0, input);
throw nvae;
}
switch (alt47) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2602:4: otherlv_2= '.'
{
otherlv_2=(Token)match(input,67,FOLLOW_67_in_ruleXMemberFeatureCall6215); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_0_0_0_1_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2607:6: ( (lv_explicitStatic_3_0= '::' ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2607:6: ( (lv_explicitStatic_3_0= '::' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2608:1: (lv_explicitStatic_3_0= '::' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2608:1: (lv_explicitStatic_3_0= '::' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2609:3: lv_explicitStatic_3_0= '::'
{
lv_explicitStatic_3_0=(Token)match(input,68,FOLLOW_68_in_ruleXMemberFeatureCall6239); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitStatic_3_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_0_0_0_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitStatic", true, "::");
}
}
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2622:3: ( ( ruleFeatureCallID ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2623:1: ( ruleFeatureCallID )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2623:1: ( ruleFeatureCallID )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2624:3: ruleFeatureCallID
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_0_0_0_2_0());
}
pushFollow(FOLLOW_ruleFeatureCallID_in_ruleXMemberFeatureCall6276);
ruleFeatureCallID();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getOpSingleAssignParserRuleCall_1_0_0_0_3());
}
pushFollow(FOLLOW_ruleOpSingleAssign_in_ruleXMemberFeatureCall6292);
ruleOpSingleAssign();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2645:3: ( (lv_value_6_0= ruleXAssignment ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2646:1: (lv_value_6_0= ruleXAssignment )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2646:1: (lv_value_6_0= ruleXAssignment )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2647:3: lv_value_6_0= ruleXAssignment
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getValueXAssignmentParserRuleCall_1_0_1_0());
}
pushFollow(FOLLOW_ruleXAssignment_in_ruleXMemberFeatureCall6314);
lv_value_6_0=ruleXAssignment();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
set(
current,
"value",
lv_value_6_0,
"XAssignment");
afterParserOrEnumRuleCall();
}
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2664:6: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2664:6: ( ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )? )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2664:7: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) ) (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )? ( ( ruleIdOrSuper ) ) ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )? ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2664:7: ( ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2664:8: ( ( () ( '.' | ( ( '?.' ) ) | ( ( '::' ) ) ) ) )=> ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2680:7: ( () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2680:8: () (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2680:8: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2681:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElementAndSet(
grammarAccess.getXMemberFeatureCallAccess().getXMemberFeatureCallMemberCallTargetAction_1_1_0_0_0(),
current);
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2686:2: (otherlv_8= '.' | ( (lv_nullSafe_9_0= '?.' ) ) | ( (lv_explicitStatic_10_0= '::' ) ) )
int alt48=3;
switch ( input.LA(1) ) {
case 67:
{
alt48=1;
}
break;
case 69:
{
alt48=2;
}
break;
case 68:
{
alt48=3;
}
break;
default:
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 48, 0, input);
throw nvae;
}
switch (alt48) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2686:4: otherlv_8= '.'
{
otherlv_8=(Token)match(input,67,FOLLOW_67_in_ruleXMemberFeatureCall6400); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_8, grammarAccess.getXMemberFeatureCallAccess().getFullStopKeyword_1_1_0_0_1_0());
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2691:6: ( (lv_nullSafe_9_0= '?.' ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2691:6: ( (lv_nullSafe_9_0= '?.' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2692:1: (lv_nullSafe_9_0= '?.' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2692:1: (lv_nullSafe_9_0= '?.' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2693:3: lv_nullSafe_9_0= '?.'
{
lv_nullSafe_9_0=(Token)match(input,69,FOLLOW_69_in_ruleXMemberFeatureCall6424); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_nullSafe_9_0, grammarAccess.getXMemberFeatureCallAccess().getNullSafeQuestionMarkFullStopKeyword_1_1_0_0_1_1_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "nullSafe", true, "?.");
}
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2707:6: ( (lv_explicitStatic_10_0= '::' ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2707:6: ( (lv_explicitStatic_10_0= '::' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2708:1: (lv_explicitStatic_10_0= '::' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2708:1: (lv_explicitStatic_10_0= '::' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2709:3: lv_explicitStatic_10_0= '::'
{
lv_explicitStatic_10_0=(Token)match(input,68,FOLLOW_68_in_ruleXMemberFeatureCall6461); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitStatic_10_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitStaticColonColonKeyword_1_1_0_0_1_2_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitStatic", true, "::");
}
}
}
}
break;
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2722:5: (otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>' )?
int alt50=2;
int LA50_0 = input.LA(1);
if ( (LA50_0==43) ) {
alt50=1;
}
switch (alt50) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2722:7: otherlv_11= '<' ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) ) (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )* otherlv_15= '>'
{
otherlv_11=(Token)match(input,43,FOLLOW_43_in_ruleXMemberFeatureCall6490); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_11, grammarAccess.getXMemberFeatureCallAccess().getLessThanSignKeyword_1_1_1_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2726:1: ( (lv_typeArguments_12_0= ruleJvmArgumentTypeReference ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2727:1: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2727:1: (lv_typeArguments_12_0= ruleJvmArgumentTypeReference )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2728:3: lv_typeArguments_12_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall6511);
lv_typeArguments_12_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_12_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2744:2: (otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) ) )*
loop49:
do {
int alt49=2;
int LA49_0 = input.LA(1);
if ( (LA49_0==70) ) {
alt49=1;
}
switch (alt49) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2744:4: otherlv_13= ',' ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) )
{
otherlv_13=(Token)match(input,70,FOLLOW_70_in_ruleXMemberFeatureCall6524); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_13, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_1_2_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2748:1: ( (lv_typeArguments_14_0= ruleJvmArgumentTypeReference ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2749:1: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2749:1: (lv_typeArguments_14_0= ruleJvmArgumentTypeReference )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2750:3: lv_typeArguments_14_0= ruleJvmArgumentTypeReference
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getTypeArgumentsJvmArgumentTypeReferenceParserRuleCall_1_1_1_2_1_0());
}
pushFollow(FOLLOW_ruleJvmArgumentTypeReference_in_ruleXMemberFeatureCall6545);
lv_typeArguments_14_0=ruleJvmArgumentTypeReference();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"typeArguments",
lv_typeArguments_14_0,
"JvmArgumentTypeReference");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop49;
}
} while (true);
otherlv_15=(Token)match(input,44,FOLLOW_44_in_ruleXMemberFeatureCall6559); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_15, grammarAccess.getXMemberFeatureCallAccess().getGreaterThanSignKeyword_1_1_1_3());
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2770:3: ( ( ruleIdOrSuper ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2771:1: ( ruleIdOrSuper )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2771:1: ( ruleIdOrSuper )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2772:3: ruleIdOrSuper
{
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
}
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getFeatureJvmIdentifiableElementCrossReference_1_1_2_0());
}
pushFollow(FOLLOW_ruleIdOrSuper_in_ruleXMemberFeatureCall6584);
ruleIdOrSuper();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2785:2: ( ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')' )?
int alt53=2;
alt53 = dfa53.predict(input);
switch (alt53) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2785:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) ) ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )? otherlv_22= ')'
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2785:3: ( ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2785:4: ( ( '(' ) )=> (lv_explicitOperationCall_17_0= '(' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2792:1: (lv_explicitOperationCall_17_0= '(' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2793:3: lv_explicitOperationCall_17_0= '('
{
lv_explicitOperationCall_17_0=(Token)match(input,71,FOLLOW_71_in_ruleXMemberFeatureCall6618); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(lv_explicitOperationCall_17_0, grammarAccess.getXMemberFeatureCallAccess().getExplicitOperationCallLeftParenthesisKeyword_1_1_3_0_0());
}
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElement(grammarAccess.getXMemberFeatureCallRule());
}
setWithLastConsumed(current, "explicitOperationCall", true, "(");
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2806:2: ( ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) ) | ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* ) )?
int alt52=3;
alt52 = dfa52.predict(input);
switch (alt52) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2806:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2806:3: ( ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2806:4: ( ( () ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> (lv_memberCallArguments_18_0= ruleXShortClosure )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2823:1: (lv_memberCallArguments_18_0= ruleXShortClosure )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2824:3: lv_memberCallArguments_18_0= ruleXShortClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXShortClosureParserRuleCall_1_1_3_1_0_0());
}
pushFollow(FOLLOW_ruleXShortClosure_in_ruleXMemberFeatureCall6703);
lv_memberCallArguments_18_0=ruleXShortClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_18_0,
"XShortClosure");
afterParserOrEnumRuleCall();
}
}
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2841:6: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2841:6: ( ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )* )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2841:7: ( (lv_memberCallArguments_19_0= ruleXExpression ) ) (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )*
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2841:7: ( (lv_memberCallArguments_19_0= ruleXExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2842:1: (lv_memberCallArguments_19_0= ruleXExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2842:1: (lv_memberCallArguments_19_0= ruleXExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2843:3: lv_memberCallArguments_19_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall6731);
lv_memberCallArguments_19_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_19_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2859:2: (otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) ) )*
loop51:
do {
int alt51=2;
int LA51_0 = input.LA(1);
if ( (LA51_0==70) ) {
alt51=1;
}
switch (alt51) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2859:4: otherlv_20= ',' ( (lv_memberCallArguments_21_0= ruleXExpression ) )
{
otherlv_20=(Token)match(input,70,FOLLOW_70_in_ruleXMemberFeatureCall6744); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_20, grammarAccess.getXMemberFeatureCallAccess().getCommaKeyword_1_1_3_1_1_1_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2863:1: ( (lv_memberCallArguments_21_0= ruleXExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2864:1: (lv_memberCallArguments_21_0= ruleXExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2864:1: (lv_memberCallArguments_21_0= ruleXExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2865:3: lv_memberCallArguments_21_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXExpressionParserRuleCall_1_1_3_1_1_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXMemberFeatureCall6765);
lv_memberCallArguments_21_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_21_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop51;
}
} while (true);
}
}
break;
}
otherlv_22=(Token)match(input,72,FOLLOW_72_in_ruleXMemberFeatureCall6782); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_22, grammarAccess.getXMemberFeatureCallAccess().getRightParenthesisKeyword_1_1_3_2());
}
}
break;
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2885:3: ( ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure ) )?
int alt54=2;
alt54 = dfa54.predict(input);
switch (alt54) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2885:4: ( ( () '[' ) )=> (lv_memberCallArguments_23_0= ruleXClosure )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2888:1: (lv_memberCallArguments_23_0= ruleXClosure )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2889:3: lv_memberCallArguments_23_0= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXMemberFeatureCallAccess().getMemberCallArgumentsXClosureParserRuleCall_1_1_4_0());
}
pushFollow(FOLLOW_ruleXClosure_in_ruleXMemberFeatureCall6817);
lv_memberCallArguments_23_0=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXMemberFeatureCallRule());
}
add(
current,
"memberCallArguments",
lv_memberCallArguments_23_0,
"XClosure");
afterParserOrEnumRuleCall();
}
}
}
break;
}
}
}
break;
default :
break loop55;
}
} while (true);
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXMemberFeatureCall"
// $ANTLR start "entryRuleXPrimaryExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2913:1: entryRuleXPrimaryExpression returns [EObject current=null] : iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF ;
public final EObject entryRuleXPrimaryExpression() throws RecognitionException {
EObject current = null;
EObject iv_ruleXPrimaryExpression = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2914:2: (iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2915:2: iv_ruleXPrimaryExpression= ruleXPrimaryExpression EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionRule());
}
pushFollow(FOLLOW_ruleXPrimaryExpression_in_entryRuleXPrimaryExpression6857);
iv_ruleXPrimaryExpression=ruleXPrimaryExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXPrimaryExpression;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXPrimaryExpression6867); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXPrimaryExpression"
// $ANTLR start "ruleXPrimaryExpression"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2922:1: ruleXPrimaryExpression returns [EObject current=null] : (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) ;
public final EObject ruleXPrimaryExpression() throws RecognitionException {
EObject current = null;
EObject this_XConstructorCall_0 = null;
EObject this_XBlockExpression_1 = null;
EObject this_XSwitchExpression_2 = null;
EObject this_XSynchronizedExpression_3 = null;
EObject this_XFeatureCall_4 = null;
EObject this_XLiteral_5 = null;
EObject this_XIfExpression_6 = null;
EObject this_XForLoopExpression_7 = null;
EObject this_XBasicForLoopExpression_8 = null;
EObject this_XWhileExpression_9 = null;
EObject this_XDoWhileExpression_10 = null;
EObject this_XThrowExpression_11 = null;
EObject this_XReturnExpression_12 = null;
EObject this_XTryCatchFinallyExpression_13 = null;
EObject this_XParenthesizedExpression_14 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2925:28: ( (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2926:1: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2926:1: (this_XConstructorCall_0= ruleXConstructorCall | this_XBlockExpression_1= ruleXBlockExpression | this_XSwitchExpression_2= ruleXSwitchExpression | ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression ) | this_XFeatureCall_4= ruleXFeatureCall | this_XLiteral_5= ruleXLiteral | this_XIfExpression_6= ruleXIfExpression | ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression ) | this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression | this_XWhileExpression_9= ruleXWhileExpression | this_XDoWhileExpression_10= ruleXDoWhileExpression | this_XThrowExpression_11= ruleXThrowExpression | this_XReturnExpression_12= ruleXReturnExpression | this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression | this_XParenthesizedExpression_14= ruleXParenthesizedExpression )
int alt56=15;
alt56 = dfa56.predict(input);
switch (alt56) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2927:5: this_XConstructorCall_0= ruleXConstructorCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXConstructorCallParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXConstructorCall_in_ruleXPrimaryExpression6914);
this_XConstructorCall_0=ruleXConstructorCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XConstructorCall_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2937:5: this_XBlockExpression_1= ruleXBlockExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBlockExpressionParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXBlockExpression_in_ruleXPrimaryExpression6941);
this_XBlockExpression_1=ruleXBlockExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBlockExpression_1;
afterParserOrEnumRuleCall();
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2947:5: this_XSwitchExpression_2= ruleXSwitchExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSwitchExpressionParserRuleCall_2());
}
pushFollow(FOLLOW_ruleXSwitchExpression_in_ruleXPrimaryExpression6968);
this_XSwitchExpression_2=ruleXSwitchExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSwitchExpression_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2956:6: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2956:6: ( ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2956:7: ( ( () 'synchronized' '(' ) )=>this_XSynchronizedExpression_3= ruleXSynchronizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXSynchronizedExpressionParserRuleCall_3());
}
pushFollow(FOLLOW_ruleXSynchronizedExpression_in_ruleXPrimaryExpression7012);
this_XSynchronizedExpression_3=ruleXSynchronizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSynchronizedExpression_3;
afterParserOrEnumRuleCall();
}
}
}
break;
case 5 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2970:5: this_XFeatureCall_4= ruleXFeatureCall
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXFeatureCallParserRuleCall_4());
}
pushFollow(FOLLOW_ruleXFeatureCall_in_ruleXPrimaryExpression7040);
this_XFeatureCall_4=ruleXFeatureCall();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XFeatureCall_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2980:5: this_XLiteral_5= ruleXLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXLiteralParserRuleCall_5());
}
pushFollow(FOLLOW_ruleXLiteral_in_ruleXPrimaryExpression7067);
this_XLiteral_5=ruleXLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XLiteral_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2990:5: this_XIfExpression_6= ruleXIfExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXIfExpressionParserRuleCall_6());
}
pushFollow(FOLLOW_ruleXIfExpression_in_ruleXPrimaryExpression7094);
this_XIfExpression_6=ruleXIfExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XIfExpression_6;
afterParserOrEnumRuleCall();
}
}
break;
case 8 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2999:6: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2999:6: ( ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:2999:7: ( ( () 'for' '(' ( ( ruleJvmFormalParameter ) ) ':' ) )=>this_XForLoopExpression_7= ruleXForLoopExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXForLoopExpressionParserRuleCall_7());
}
pushFollow(FOLLOW_ruleXForLoopExpression_in_ruleXPrimaryExpression7151);
this_XForLoopExpression_7=ruleXForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XForLoopExpression_7;
afterParserOrEnumRuleCall();
}
}
}
break;
case 9 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3018:5: this_XBasicForLoopExpression_8= ruleXBasicForLoopExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXBasicForLoopExpressionParserRuleCall_8());
}
pushFollow(FOLLOW_ruleXBasicForLoopExpression_in_ruleXPrimaryExpression7179);
this_XBasicForLoopExpression_8=ruleXBasicForLoopExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBasicForLoopExpression_8;
afterParserOrEnumRuleCall();
}
}
break;
case 10 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3028:5: this_XWhileExpression_9= ruleXWhileExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXWhileExpressionParserRuleCall_9());
}
pushFollow(FOLLOW_ruleXWhileExpression_in_ruleXPrimaryExpression7206);
this_XWhileExpression_9=ruleXWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XWhileExpression_9;
afterParserOrEnumRuleCall();
}
}
break;
case 11 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3038:5: this_XDoWhileExpression_10= ruleXDoWhileExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXDoWhileExpressionParserRuleCall_10());
}
pushFollow(FOLLOW_ruleXDoWhileExpression_in_ruleXPrimaryExpression7233);
this_XDoWhileExpression_10=ruleXDoWhileExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XDoWhileExpression_10;
afterParserOrEnumRuleCall();
}
}
break;
case 12 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3048:5: this_XThrowExpression_11= ruleXThrowExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXThrowExpressionParserRuleCall_11());
}
pushFollow(FOLLOW_ruleXThrowExpression_in_ruleXPrimaryExpression7260);
this_XThrowExpression_11=ruleXThrowExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XThrowExpression_11;
afterParserOrEnumRuleCall();
}
}
break;
case 13 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3058:5: this_XReturnExpression_12= ruleXReturnExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXReturnExpressionParserRuleCall_12());
}
pushFollow(FOLLOW_ruleXReturnExpression_in_ruleXPrimaryExpression7287);
this_XReturnExpression_12=ruleXReturnExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XReturnExpression_12;
afterParserOrEnumRuleCall();
}
}
break;
case 14 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3068:5: this_XTryCatchFinallyExpression_13= ruleXTryCatchFinallyExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXTryCatchFinallyExpressionParserRuleCall_13());
}
pushFollow(FOLLOW_ruleXTryCatchFinallyExpression_in_ruleXPrimaryExpression7314);
this_XTryCatchFinallyExpression_13=ruleXTryCatchFinallyExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XTryCatchFinallyExpression_13;
afterParserOrEnumRuleCall();
}
}
break;
case 15 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3078:5: this_XParenthesizedExpression_14= ruleXParenthesizedExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXPrimaryExpressionAccess().getXParenthesizedExpressionParserRuleCall_14());
}
pushFollow(FOLLOW_ruleXParenthesizedExpression_in_ruleXPrimaryExpression7341);
this_XParenthesizedExpression_14=ruleXParenthesizedExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XParenthesizedExpression_14;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXPrimaryExpression"
// $ANTLR start "entryRuleXLiteral"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3094:1: entryRuleXLiteral returns [EObject current=null] : iv_ruleXLiteral= ruleXLiteral EOF ;
public final EObject entryRuleXLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXLiteral = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3095:2: (iv_ruleXLiteral= ruleXLiteral EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3096:2: iv_ruleXLiteral= ruleXLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralRule());
}
pushFollow(FOLLOW_ruleXLiteral_in_entryRuleXLiteral7376);
iv_ruleXLiteral=ruleXLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXLiteral7386); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXLiteral"
// $ANTLR start "ruleXLiteral"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3103:1: ruleXLiteral returns [EObject current=null] : (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) ;
public final EObject ruleXLiteral() throws RecognitionException {
EObject current = null;
EObject this_XCollectionLiteral_0 = null;
EObject this_XClosure_1 = null;
EObject this_XBooleanLiteral_2 = null;
EObject this_XNumberLiteral_3 = null;
EObject this_XNullLiteral_4 = null;
EObject this_XStringLiteral_5 = null;
EObject this_XTypeLiteral_6 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3106:28: ( (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3107:1: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3107:1: (this_XCollectionLiteral_0= ruleXCollectionLiteral | ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure ) | this_XBooleanLiteral_2= ruleXBooleanLiteral | this_XNumberLiteral_3= ruleXNumberLiteral | this_XNullLiteral_4= ruleXNullLiteral | this_XStringLiteral_5= ruleXStringLiteral | this_XTypeLiteral_6= ruleXTypeLiteral )
int alt57=7;
int LA57_0 = input.LA(1);
if ( (LA57_0==73) ) {
alt57=1;
}
else if ( (LA57_0==74) && (synpred21_InternalUISemanticsGrammar())) {
alt57=2;
}
else if ( ((LA57_0>=90 && LA57_0<=91)) ) {
alt57=3;
}
else if ( ((LA57_0>=RULE_HEX && LA57_0<=RULE_DECIMAL)) ) {
alt57=4;
}
else if ( (LA57_0==92) ) {
alt57=5;
}
else if ( (LA57_0==RULE_STRING) ) {
alt57=6;
}
else if ( (LA57_0==93) ) {
alt57=7;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 57, 0, input);
throw nvae;
}
switch (alt57) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3108:5: this_XCollectionLiteral_0= ruleXCollectionLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXCollectionLiteralParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXCollectionLiteral_in_ruleXLiteral7433);
this_XCollectionLiteral_0=ruleXCollectionLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XCollectionLiteral_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3117:6: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3117:6: ( ( ( () '[' ) )=>this_XClosure_1= ruleXClosure )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3117:7: ( ( () '[' ) )=>this_XClosure_1= ruleXClosure
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXClosureParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXClosure_in_ruleXLiteral7473);
this_XClosure_1=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XClosure_1;
afterParserOrEnumRuleCall();
}
}
}
break;
case 3 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3130:5: this_XBooleanLiteral_2= ruleXBooleanLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXBooleanLiteralParserRuleCall_2());
}
pushFollow(FOLLOW_ruleXBooleanLiteral_in_ruleXLiteral7501);
this_XBooleanLiteral_2=ruleXBooleanLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XBooleanLiteral_2;
afterParserOrEnumRuleCall();
}
}
break;
case 4 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3140:5: this_XNumberLiteral_3= ruleXNumberLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXNumberLiteralParserRuleCall_3());
}
pushFollow(FOLLOW_ruleXNumberLiteral_in_ruleXLiteral7528);
this_XNumberLiteral_3=ruleXNumberLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XNumberLiteral_3;
afterParserOrEnumRuleCall();
}
}
break;
case 5 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3150:5: this_XNullLiteral_4= ruleXNullLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXNullLiteralParserRuleCall_4());
}
pushFollow(FOLLOW_ruleXNullLiteral_in_ruleXLiteral7555);
this_XNullLiteral_4=ruleXNullLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XNullLiteral_4;
afterParserOrEnumRuleCall();
}
}
break;
case 6 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3160:5: this_XStringLiteral_5= ruleXStringLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXStringLiteralParserRuleCall_5());
}
pushFollow(FOLLOW_ruleXStringLiteral_in_ruleXLiteral7582);
this_XStringLiteral_5=ruleXStringLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XStringLiteral_5;
afterParserOrEnumRuleCall();
}
}
break;
case 7 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3170:5: this_XTypeLiteral_6= ruleXTypeLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXLiteralAccess().getXTypeLiteralParserRuleCall_6());
}
pushFollow(FOLLOW_ruleXTypeLiteral_in_ruleXLiteral7609);
this_XTypeLiteral_6=ruleXTypeLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XTypeLiteral_6;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXLiteral"
// $ANTLR start "entryRuleXCollectionLiteral"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3186:1: entryRuleXCollectionLiteral returns [EObject current=null] : iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF ;
public final EObject entryRuleXCollectionLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXCollectionLiteral = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3187:2: (iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3188:2: iv_ruleXCollectionLiteral= ruleXCollectionLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralRule());
}
pushFollow(FOLLOW_ruleXCollectionLiteral_in_entryRuleXCollectionLiteral7644);
iv_ruleXCollectionLiteral=ruleXCollectionLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXCollectionLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXCollectionLiteral7654); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXCollectionLiteral"
// $ANTLR start "ruleXCollectionLiteral"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3195:1: ruleXCollectionLiteral returns [EObject current=null] : (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) ;
public final EObject ruleXCollectionLiteral() throws RecognitionException {
EObject current = null;
EObject this_XSetLiteral_0 = null;
EObject this_XListLiteral_1 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3198:28: ( (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3199:1: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3199:1: (this_XSetLiteral_0= ruleXSetLiteral | this_XListLiteral_1= ruleXListLiteral )
int alt58=2;
int LA58_0 = input.LA(1);
if ( (LA58_0==73) ) {
int LA58_1 = input.LA(2);
if ( (LA58_1==14) ) {
alt58=1;
}
else if ( (LA58_1==74) ) {
alt58=2;
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 58, 1, input);
throw nvae;
}
}
else {
if (state.backtracking>0) {state.failed=true; return current;}
NoViableAltException nvae =
new NoViableAltException("", 58, 0, input);
throw nvae;
}
switch (alt58) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3200:5: this_XSetLiteral_0= ruleXSetLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXSetLiteralParserRuleCall_0());
}
pushFollow(FOLLOW_ruleXSetLiteral_in_ruleXCollectionLiteral7701);
this_XSetLiteral_0=ruleXSetLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XSetLiteral_0;
afterParserOrEnumRuleCall();
}
}
break;
case 2 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3210:5: this_XListLiteral_1= ruleXListLiteral
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXCollectionLiteralAccess().getXListLiteralParserRuleCall_1());
}
pushFollow(FOLLOW_ruleXListLiteral_in_ruleXCollectionLiteral7728);
this_XListLiteral_1=ruleXListLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current = this_XListLiteral_1;
afterParserOrEnumRuleCall();
}
}
break;
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXCollectionLiteral"
// $ANTLR start "entryRuleXSetLiteral"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3226:1: entryRuleXSetLiteral returns [EObject current=null] : iv_ruleXSetLiteral= ruleXSetLiteral EOF ;
public final EObject entryRuleXSetLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXSetLiteral = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3227:2: (iv_ruleXSetLiteral= ruleXSetLiteral EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3228:2: iv_ruleXSetLiteral= ruleXSetLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralRule());
}
pushFollow(FOLLOW_ruleXSetLiteral_in_entryRuleXSetLiteral7763);
iv_ruleXSetLiteral=ruleXSetLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXSetLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXSetLiteral7773); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXSetLiteral"
// $ANTLR start "ruleXSetLiteral"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3235:1: ruleXSetLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) ;
public final EObject ruleXSetLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3238:28: ( ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3239:1: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3239:1: ( () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3239:2: () otherlv_1= '#' otherlv_2= '{' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= '}'
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3239:2: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3240:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXSetLiteralAccess().getXSetLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,73,FOLLOW_73_in_ruleXSetLiteral7819); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXSetLiteralAccess().getNumberSignKeyword_1());
}
otherlv_2=(Token)match(input,14,FOLLOW_14_in_ruleXSetLiteral7831); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXSetLiteralAccess().getLeftCurlyBracketKeyword_2());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3253:1: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )?
int alt60=2;
int LA60_0 = input.LA(1);
if ( ((LA60_0>=RULE_STRING && LA60_0<=RULE_DECIMAL)||LA60_0==14||(LA60_0>=19 && LA60_0<=21)||LA60_0==43||(LA60_0>=59 && LA60_0<=60)||LA60_0==64||LA60_0==71||(LA60_0>=73 && LA60_0<=74)||LA60_0==77||LA60_0==79||(LA60_0>=82 && LA60_0<=84)||(LA60_0>=87 && LA60_0<=96)||LA60_0==98) ) {
alt60=1;
}
switch (alt60) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3253:2: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3253:2: ( (lv_elements_3_0= ruleXExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3254:1: (lv_elements_3_0= ruleXExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3254:1: (lv_elements_3_0= ruleXExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3255:3: lv_elements_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSetLiteral7853);
lv_elements_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSetLiteralRule());
}
add(
current,
"elements",
lv_elements_3_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3271:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
loop59:
do {
int alt59=2;
int LA59_0 = input.LA(1);
if ( (LA59_0==70) ) {
alt59=1;
}
switch (alt59) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3271:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,70,FOLLOW_70_in_ruleXSetLiteral7866); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXSetLiteralAccess().getCommaKeyword_3_1_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3275:1: ( (lv_elements_5_0= ruleXExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3276:1: (lv_elements_5_0= ruleXExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3276:1: (lv_elements_5_0= ruleXExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3277:3: lv_elements_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXSetLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXSetLiteral7887);
lv_elements_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXSetLiteralRule());
}
add(
current,
"elements",
lv_elements_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop59;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,15,FOLLOW_15_in_ruleXSetLiteral7903); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXSetLiteralAccess().getRightCurlyBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXSetLiteral"
// $ANTLR start "entryRuleXListLiteral"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3305:1: entryRuleXListLiteral returns [EObject current=null] : iv_ruleXListLiteral= ruleXListLiteral EOF ;
public final EObject entryRuleXListLiteral() throws RecognitionException {
EObject current = null;
EObject iv_ruleXListLiteral = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3306:2: (iv_ruleXListLiteral= ruleXListLiteral EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3307:2: iv_ruleXListLiteral= ruleXListLiteral EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralRule());
}
pushFollow(FOLLOW_ruleXListLiteral_in_entryRuleXListLiteral7939);
iv_ruleXListLiteral=ruleXListLiteral();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXListLiteral;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXListLiteral7949); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXListLiteral"
// $ANTLR start "ruleXListLiteral"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3314:1: ruleXListLiteral returns [EObject current=null] : ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) ;
public final EObject ruleXListLiteral() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_2=null;
Token otherlv_4=null;
Token otherlv_6=null;
EObject lv_elements_3_0 = null;
EObject lv_elements_5_0 = null;
enterRule();
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3317:28: ( ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3318:1: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3318:1: ( () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']' )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3318:2: () otherlv_1= '#' otherlv_2= '[' ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )? otherlv_6= ']'
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3318:2: ()
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3319:5:
{
if ( state.backtracking==0 ) {
current = forceCreateModelElement(
grammarAccess.getXListLiteralAccess().getXListLiteralAction_0(),
current);
}
}
otherlv_1=(Token)match(input,73,FOLLOW_73_in_ruleXListLiteral7995); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_1, grammarAccess.getXListLiteralAccess().getNumberSignKeyword_1());
}
otherlv_2=(Token)match(input,74,FOLLOW_74_in_ruleXListLiteral8007); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_2, grammarAccess.getXListLiteralAccess().getLeftSquareBracketKeyword_2());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3332:1: ( ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )* )?
int alt62=2;
int LA62_0 = input.LA(1);
if ( ((LA62_0>=RULE_STRING && LA62_0<=RULE_DECIMAL)||LA62_0==14||(LA62_0>=19 && LA62_0<=21)||LA62_0==43||(LA62_0>=59 && LA62_0<=60)||LA62_0==64||LA62_0==71||(LA62_0>=73 && LA62_0<=74)||LA62_0==77||LA62_0==79||(LA62_0>=82 && LA62_0<=84)||(LA62_0>=87 && LA62_0<=96)||LA62_0==98) ) {
alt62=1;
}
switch (alt62) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3332:2: ( (lv_elements_3_0= ruleXExpression ) ) (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3332:2: ( (lv_elements_3_0= ruleXExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3333:1: (lv_elements_3_0= ruleXExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3333:1: (lv_elements_3_0= ruleXExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3334:3: lv_elements_3_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_0_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXListLiteral8029);
lv_elements_3_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXListLiteralRule());
}
add(
current,
"elements",
lv_elements_3_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3350:2: (otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) ) )*
loop61:
do {
int alt61=2;
int LA61_0 = input.LA(1);
if ( (LA61_0==70) ) {
alt61=1;
}
switch (alt61) {
case 1 :
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3350:4: otherlv_4= ',' ( (lv_elements_5_0= ruleXExpression ) )
{
otherlv_4=(Token)match(input,70,FOLLOW_70_in_ruleXListLiteral8042); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_4, grammarAccess.getXListLiteralAccess().getCommaKeyword_3_1_0());
}
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3354:1: ( (lv_elements_5_0= ruleXExpression ) )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3355:1: (lv_elements_5_0= ruleXExpression )
{
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3355:1: (lv_elements_5_0= ruleXExpression )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3356:3: lv_elements_5_0= ruleXExpression
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXListLiteralAccess().getElementsXExpressionParserRuleCall_3_1_1_0());
}
pushFollow(FOLLOW_ruleXExpression_in_ruleXListLiteral8063);
lv_elements_5_0=ruleXExpression();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
if (current==null) {
current = createModelElementForParent(grammarAccess.getXListLiteralRule());
}
add(
current,
"elements",
lv_elements_5_0,
"XExpression");
afterParserOrEnumRuleCall();
}
}
}
}
break;
default :
break loop61;
}
} while (true);
}
break;
}
otherlv_6=(Token)match(input,75,FOLLOW_75_in_ruleXListLiteral8079); if (state.failed) return current;
if ( state.backtracking==0 ) {
newLeafNode(otherlv_6, grammarAccess.getXListLiteralAccess().getRightSquareBracketKeyword_4());
}
}
}
if ( state.backtracking==0 ) {
leaveRule();
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "ruleXListLiteral"
// $ANTLR start "entryRuleXClosure"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3384:1: entryRuleXClosure returns [EObject current=null] : iv_ruleXClosure= ruleXClosure EOF ;
public final EObject entryRuleXClosure() throws RecognitionException {
EObject current = null;
EObject iv_ruleXClosure = null;
try {
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3385:2: (iv_ruleXClosure= ruleXClosure EOF )
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3386:2: iv_ruleXClosure= ruleXClosure EOF
{
if ( state.backtracking==0 ) {
newCompositeNode(grammarAccess.getXClosureRule());
}
pushFollow(FOLLOW_ruleXClosure_in_entryRuleXClosure8115);
iv_ruleXClosure=ruleXClosure();
state._fsp--;
if (state.failed) return current;
if ( state.backtracking==0 ) {
current =iv_ruleXClosure;
}
match(input,EOF,FOLLOW_EOF_in_entryRuleXClosure8125); if (state.failed) return current;
}
}
catch (RecognitionException re) {
recover(input,re);
appendSkippedTokens();
}
finally {
}
return current;
}
// $ANTLR end "entryRuleXClosure"
// $ANTLR start "ruleXClosure"
// ../org.eclipse.osbp.ecview.uisemantics/src-gen/org/eclipse/osbp/ecview/uisemantics/parser/antlr/internal/InternalUISemanticsGrammar.g:3393:1: ruleXClosure returns [EObject current=null] : ( ( ( ( () '[' ) )=> ( () otherlv_1= '[' ) ) ( ( ( ( ( ( ruleJvmFormalParameter ) ) ( ',' ( ( ruleJvmFormalParameter ) ) )* )? ( ( '|' ) ) ) )=> ( ( ( (lv_declaredFormalParameters_2_0= ruleJvmFormalParameter ) ) (otherlv_3= ',' ( (lv_declaredFormalParameters_4_0= ruleJvmFormalParameter ) ) )* )? ( (lv_explicitSyntax_5_0= '|' ) ) ) )? ( (lv_expression_6_0= ruleXExpressionInClosure ) ) otherlv_7= ']' ) ;
public final EObject ruleXClosure() throws RecognitionException {
EObject current = null;
Token otherlv_1=null;
Token otherlv_3=null;
Token lv_explicitSyntax_5_0=null;
Token otherlv_7=null;
EObject lv_declaredFormalParameters_2_0 = null;
EObject lv_declaredFormalParameters_4_0 = null;